-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a warning about the using of android.bat
#595
Conversation
Hi, Like said: ``` ************************************************************************** The "android" command is deprecated. For manual SDK, AVD, and project management, please use Android Studio. For command-line tools, use tools\bin\sdkmanager.bat and tools\bin\avdmanager.bat ************************************************************************** ``` The conditionnal has been removed to use systematically `sdkmanager` instead of `android.bat`. See [this issue](https://github.com/apache/cordova/issues/61).
Mh... doesn't sound good. Anyone have an idea of what tools use the |
This likely breaks compatibility with older versions of the Android SDK. |
My changes were reverted to avoid compatibility breaking. A warning was added into the `cordova requirements` command text message.
Codecov Report
@@ Coverage Diff @@
## master #595 +/- ##
=======================================
Coverage 62.24% 62.24%
=======================================
Files 17 17
Lines 1992 1992
Branches 371 371
=======================================
Hits 1240 1240
Misses 752 752
Continue to review full report at Codecov.
|
If that's sound good for you, want you the branch be manually rebased by me or it will be rebased automatically before merging? |
getAbsoluteAndroidCmd
methodandroid.bat
I don't really understand how useful the notice is. Wouldn't it be better to remove usages of the |
+1
Needs investigation, adding bug & discussion labels for now. |
Hi,
Platforms affected
Android.
Like it said:
What does this PR do?
The conditionnal structure has been removed to use systematically
sdkmanager
instead ofandroid.bat
.See this issue for more.
What testing has been done on this change?
None. The method behaviour hasn't been significantly altered, actually.
Feel free to add/remove what you want. :)
Checklist