问题描述
我尝试更新我的 Android Studio 并收到此错误.我该如何解决这个问题?
I tried to update my Android Studio and got this error. How can I fix this?
我在 Android Studio 和 Android 应用开发方面没有太多经验.
I don't have much experience with Android studio and Android app development.
我使用的是 Android Studio 2.3 和 Linux.
I am using Android Studio 2.3 and Linux.
推荐答案
这对我有用,因为这篇文章尝试:更新 2https://stackoverflow.com/a/42735118/5133603
This worked for me as this post try: Update 2https://stackoverflow.com/a/42735118/5133603
更新 2:
模拟器包问题的解决方案!
Solution to emulator package issue!
在研究 repo 的 XML 一段时间后,我发现了这个问题.
After digging in the repo's XML for a while I've spotted the issue.
事实证明,模拟器"包仅在通道 3(金丝雀)中,而工具"包在通道 0(稳定)中,但取决于模拟器".解决办法是强制管理器从通道3下载模拟器"包:
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
问题解决了!
这篇关于错误“找不到密钥模拟器的依赖包"在更新 Android SDK 和工具时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!