AVD不会在虚拟设备上运行许多API级别.但我在SDK Manager中安装了API.它们也显示为已安装,但在Extras-Folder中,它们有这个红色图标,您可以在屏幕截图中看到它
我错过了什么?
解决方法
这是由错误/缺少source.properties文件引起的,例如:我的Google API 23是相同的,但它丢失了
source.properties
- ### Android Tool: Source of this archive.
- #Fri Aug 19 04:03:37 CEST 2016
- Addon.NameDisplay=Google APIs
- Addon.NameId=google_apis
- Addon.VendorDisplay=Google Inc.
- Addon.VendorId=google
- AndroidVersion.ApiLevel=23
- Pkg.Desc=Android + Google APIs
- Pkg.License=Terms and Conditions.... (here was licence but I removed it because it was too big)
- Pkg.LicenseRef=android-sdk-license
- Pkg.Revision=1
- Pkg.SourceUrl=https\://dl.google.com/android/repository/addon.xml