Linux environment has what advantage, that is to see AOSP (Android Open Source Project) Source code than convenient, later free to write down the configuration of Linux AOSP environment. I used to configure it on Windows 10, but for this blog I re-configured it on Windows 7 on my old computer, and have avoided the pits. Sudo su Enter superuser mode Copy the codeīased on this tutorial, the success rate should be 99.9%.
The real machine is not identified at this time. ↓↓↓ Open the terminal at /opt/ Android-studio /bin and enter. The Android SDK Manager will open and select the SDK version to download on demand. Sudo mv android-sdk-linux /opt/android-sdk-linux/ # mobile SDK Copy the codeĮxport ANDROID_HOME=/opt/android-sdk-linuxĮxport PATH= " $PATH: $ANDROID_HOME/tools: $ANDROID_HOME/platform-tools" Copy the code Sudo mv android-studio /opt/android-studio/ # Mobile Android Studio Tip: When the terminal enters the file name, press Tab to automatically complete the file. Sudo apt install openjdk-8-jdk-headless # JDK installation Copy the code Input password will not be displayed, directly enter and press Enter. Sudo apt install openjdk-8-jre-headless # JRE Copy the code
Once you enter the system, you will notice that Ubuntu does not adapt when zooming in and out of the Virtualbox window. Linux: Download in Ubuntu!! Recommend to AndroidDevTools download, faster, but also more assured. I downloaded Ubuntu-16.04.6, amD64 for a 64-bit computer, i386 for a 32-bit computer. Ubuntu system image, can go to the Open Source software, Tsinghua university Mirror station | Tsinghua Open Source download Mirror.The Virtualbox installation package can be downloaded from the official website.Multi-picture warning!! Something you need to use