Im installing android sdk
into my ubuntu server to build/test my projects
there.
I need to install dependencies for the command line and I found that now you can only download android/tools
folder from Android download link.
There you can find bin/sdkmanager
so I used to install build-tools
and platform-tools
, but found that I can use it to install android sdk versions, support repository, and others.
Whats the difference between
android update sdk --no-ui --all --filter android-25
and
sdkmanager "platforms;android-25"
?
According to Microsofts article "Which Android SDK packages should I install?" Install the "SDK Platform" for the Android versions you've set as minimum & target.
For the best development experience with the Android 11 SDK, use Android Studio 4.2 or higher. You can compile and test Android 11 apps using Android Studio 3.3 and higher, but some users of the Android 11 SDK may encounter Gradle sync failures and warnings about outdated dependencies.
It should be in: C:\Program Files (x86)\Android unless you set a particular path.
To open the SDK Manager from Android Studio, click Tools > SDK Manager or click SDK Manager in the toolbar. If you're not using Android Studio, you can download tools using the sdkmanager command-line tool. When an update is available for a package you already have, a dash appears in the check box next to the package.
There is no difference between two.
Btw there is a little type in your sdmanager
command, platforms;android-25 should be in quotes.
sdkmanager "platforms;android-25"
Right now it looks like the same thing. But
sdkmanager "platforms;android-25"
looks better for me.
Also you can use
sdkmanager --update
to update all installed items without any additional options.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With