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

前端 未结 4 441
后悔当初
后悔当初 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:27

    Inside android folder under platforms folder there is a file called project.properties Try replacing + with 27.1.0 in below lines

    cordova.system.library.1=com.android.support:support-v4:+
    cordova.system.library.2=com.android.support:appcompat-v7:+
    

    Also do the same thing in build.gradle file

    "com.android.support:support-v4:+"
    "com.android.support:appcompat-v7:+"
    

提交回复
热议问题