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

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

    This worked for me as this post try: Update 2 https://stackoverflow.com/a/42735118/5133603

    Update 2:

    Solution to emulator package issue!

    After digging in the repo's XML for a while I've spotted the issue.

    It turns out that the "emulator" package is only in channel 3 (canary) while the "tools" package is in channel 0 (stable) but depends on "emulator". The solution is to force the manager to download the "emulator" package from channel 3:

    ./sdkmanager --channel=3 emulator
    

    Problem solved!

    0 讨论(0)
  • 2020-12-08 10:24
    1. Start "Android SDK Manager" from this path:

      %Android_home%\SDK Manager.exe
      
    2. Install all updates from this manager.

    P.S. This worked for me.

    0 讨论(0)
提交回复
热议问题