在不一致的位置观察到的程序包ID'system-images; android-28; default; x86_64'

时间:2018-08-10 06:54:09

标签: android gradle gradlew

当我在项目中运行./gradlew时,我得到了:

Observed package id 'system-images;android-28;default;x86_64' in inconsistent location '/Users/aero/Library/Android/sdk/system-images/Android-28/default/x86_64' (Expected '/Users/aero/Library/Android/sdk/system-images/android-28/default/x86_64')
Observed package id 'system-images;android-28;google_apis;x86_64' in inconsistent location '/Users/aero/Library/Android/sdk/system-images/Android-28/google_apis/x86_64' (Expected '/Users/aero/Library/Android/sdk/system-images/android-28/google_apis/x86_64')
Observed package id 'system-images;android-28;default;x86_64' in inconsistent location '/Users/aero/Library/Android/sdk/system-images/Android-28/default/x86_64' (Expected '/Users/aero/Library/Android/sdk/system-images/android-28/default/x86_64')
Observed package id 'system-images;android-28;google_apis;x86_64' in inconsistent location '/Users/aero/Library/Android/sdk/system-images/Android-28/google_apis/x86_64' (Expected '/Users/aero/Library/Android/sdk/system-images/android-28/google_apis/x86_64')

这很有趣,因为“位置不一致”:

  

'/ Users / aero / Library / Android / sdk / system-images / Android-28 / default / x86_64'

和“预期”:

  

'/ Users / aero / Library / Android / sdk / system-images / android-28 / default / x86_64'

在同一位置!

我该如何解决此错误?!

1 个答案:

答案 0 :(得分:0)

为Android更改文件夹名称android