Execution failed for task ':CordovaLib:processDebugResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt

前端 未结 4 433
后悔当初
后悔当初 2020-12-21 00:44

I am learning how to use Ionic by doing a test application but I have had this problem for two days. I have looked for possible solutions but none has worked for me.

4条回答
  •  死守一世寂寞
    2020-12-21 01:33

    This is due to compat plugin. Remove that plugin if you have older version (less than 1.2.0) and set cordova-android@6.3.0

    cordova plugin rm cordova-plugin-compat --force

    cordova plugin add cordova-plugin-compat@1.2.0

    cordova platform rm android

    ionic cordova platform add android@6.3.0

    Working at my case. Thanks :)

提交回复
热议问题