Error “Dependent package with key emulator not found” while updating Android SDK and tools

后端 未结 8 1470
予麋鹿
予麋鹿 2020-12-08 09:38

I tried to update my Android Studio and got this error. How can I fix this?

I don\'t have much experience with Android studio and Android app development.

I

8条回答
  •  半阙折子戏
    2020-12-08 10:09

    My solution using Void Linux (it should fix for other distributions too):

    1. Create a new folder named Sdk in this exact path. Bash example: $ mkdir $HOME/Android/Sdk

    2. cd to this folder, and download the latest SDK command line version. Bash example: $ curl https://dl.google.com/dl/android/studio/ide-zips/2.3.0.8/android-studio-ide-162.3764568-linux.zip

    3. Extract the android-studio-ide-162.3764568-linux.zip. It must be this way: $HOME/Android/Sdk/tools

    4. Launch Android Studio, and then proceed with normal installation.

    PS: If you don't have a Android folder on your $HOME, you should create it, and then make the steps 1, 2, and 3, select the $HOME/Android/Sdk Folder in Android StudioConfigure → *SDK Manager → Edit, and proceed to step 4.

提交回复
热议问题