添加Android平台(ionic cordova platform add android
之后,我已经建立了Ionic项目(ionic cordova build android
),但收到错误消息“找不到support-compat.aar”
A problem occurred configuring root project 'android'.
Could not find support-compat.aar (com.android.support:support-compat:26.1.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-compat/26.1.0/support-compat-26.1.0.aar
"cordova-android": "6.3.0",
"@ionic-native/core": "4.12.0"
答案 0 :(得分:1)
在添加平台和构建之前,我已经删除了所有〜/ .gradle /缓存文件,并且问题已解决