Error: AVD 2.3 is not valid: Unknown target 'android-10' in /home/user/.android/avd/2.3.ini. Try to repair it through AVD manager

六月ゝ 毕业季﹏ 提交于 2019-12-06 01:56:44

问题


I get the above error when trying to add the '2.3' named AVD to the Run Configuration. The creation of it worked flawlessly though. Tried on multiple targets, see below:

Works for:

  • L Preview
  • 4.4

Doesn't work for:

  • 2.3.3
  • 4.1.2
  • 4.3

This happens when using Android Studio 0.8.1, although I remember having the same problem on 0.6.1 also.


回答1:


I was also facing the same issue. If you are using android studio, go to file->Invalidate caches/Restart, then click on "Invalidate and restart". It will work fine. :)




回答2:


I'm on Android Studio 0.8.13 now, with the newly updated AVD Manager and it seems to be working perfectly. I was able to create a Nexus S with 2.3.3 APi 10. First time Host GPU was on and the screen was blank the whole time, even if the AVD started successfully. After turning Host GPU off, I got the screen working too.



来源:https://stackoverflow.com/questions/24548666/error-avd-2-3-is-not-valid-unknown-target-android-10-in-home-user-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!