Nativescript Linux Setup (install Android Sdk Platform 28 Packages) Failed
When following the official NativeScript installation for Linux (https://docs.nativescript.org/start/ns-setup-linux) you will get to Step 6: Install all packages for the Android SD
Solution 1:
The solution is to add the following flag to the command --sdk_root=${ANDROID_HOME}
after you have set the ANDROID_HOME environment variable at step 3 (https://docs.nativescript.org/start/ns-setup-linux).
This appears to be a bug with the way sdkmanager locates the SDK installation folder. The whole command then looks like this:
sudo $ANDROID_HOME/tools/bin/sdkmanager --sdk_root=${ANDROID_HOME}"tools""emulator""platform-tools""platforms;android-28""build-tools;28.0.3""extras;android;m2repository""extras;google;m2repository"
Post a Comment for "Nativescript Linux Setup (install Android Sdk Platform 28 Packages) Failed"