Android : Getting “Cannot reload AVD list:” error

2020-05-20 04:04发布

At the time of exectution am getting an error

Cannot reload AVD list: cvc-enumeration-valid: Value '280dpi' is not facet-valid with respect to enumeration '[ldpi, mdpi, tvdpi, hdpi, xhdpi, 400dpi, xxhdpi, 560dpi, xxxhdpi]'. It must be a value from the enumeration. Error parsing C:\Users\Binil\AppData\Local\Android\sdk\system-images\android-22\android-wear\armeabi-v7a\devices.xml cvc-enumeration-valid: Value '280dpi' is not facet-valid with respect to enumeration '[ldpi, mdpi, tvdpi, hdpi, xhdpi, 400dpi, xxhdpi, 560dpi, xxxhdpi]'. It must be a value from the enumeration.

am using android studio .

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.2.1'

}

can any one please tell me how to rectify this error.

7条回答
老娘就宠你
2楼-- · 2020-05-20 04:52

go to the directory and delete the devices.xml

then go to tool>android>enable ADB intergration

查看更多
登录 后发表回答