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

后端 未结 8 1473
予麋鹿
予麋鹿 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:13

    This is what worked for me:

    1. Download the command line tools, place them in the SDK folder (e.g., on mac: /Users/user/Library/Android/sdk), and then add the bin folder to the PATH.
    2. Install the latest platform: in a terminal, execute sdkmanager "platforms;android-25"
    3. Open Android Studio, and go to the SDK Manager (Appearance and Behavior > System Settings > Android SDK)
    4. Click on "Edit", and then select the sdk folder. Then "Next" > "Next" > "Finish".

    I hope this works for you too.

提交回复
热议问题