当我在项目中运行./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'
在同一位置!
我该如何解决此错误?!
答案 0 :(得分:0)
为Android更改文件夹名称android