![]() ![]() Accept Android Licenses: sdkmanager -licenses 11. Install Build Tools for Android 29: sdkmanager "build-tools" "build-tools 29.0.3" 10. Install Platform for Android 29: sdkmanager "platform-tools" "platforms android-29" 9. Listing all packages available: sdkmanager -list 8. Testing sdkmanager: sdkmanager -version 7. TIP: To install and set up JDK (required), read this story.ĥ.2 Reset PATH: source ~/.bashrc 6. bashrc file: DEV_TOOLS="/home/$USER/DevTools" JAVA_HOME="$DEV_TOOLS/JDK/jdk-11.0.7+10" ANDROID_HOME="$DEV_TOOLS/Android" export JAVA_HOME export ANDROID_HOME PATH="$JAVA_HOME/bin:$ANDROID_HOME/cmdline-tools/tools/bin:$ANDROID_HOME/platform-tools:$PATH" Edit the following file: sudo nano ~/.bashrcĥ.1 Add to the end of the. ![]() Set the path of Android SDK directory in the Ubuntu environment variables. Since commandlinetools is just an Android tool, as well as the others that will be on the side.ģ.2 Check for the tools was moved successful: ls -l ~/DevTools/Android/cmdline-tools/tools 5. Next to it will be the other sub-directories of the Android SDK. Extract the “commandlinetools-linux- ***.zip” file into a specific directory: cmdline-tools: unzip commandlinetools-linux-6200805_latest.zipģ.1 Move tools directory into the cmdline-tools directory: mv tools ~/DevTools/Android/cmdline-tools/ sudo mkdir ~/DevTools/AndroidĢ.1 Create another sub-directory, into Android, called cmdline-tools: sudo mkdir ~/DevTools/Android/cmdline-tools 3. It’s necessary to locate all ANDROID SDK subdirectories. Create a sub-directory, into DevTools, called Android: TIP: Use that directory to install any others development tools, software development kits et all. To easily access Android utilities from the command. Create a Development Tools directory in your home directory, called DevTools (or use an appropriate name): sudo mkdir ~/DevTools Install Android NDK On the Welcome to Android screen, click Configure and select SDK Manager. Time for action installing Android SDK and NDK on Ubuntu Run the Android Studio script bin/studio.sh. Visual Studio Code is highly recommended to use with Android Command Tools.ġ.1 Check for the correct “commandlinetools ***” file download: ls -l ~/Downloads 2. Ndk Is Not InstalledFor old projects, you must install the obsolete NDK from the SDK manager.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |