IONIC 3: Execution failed for task ':app:processDebugResources'

前端 未结 9 2125
执笔经年
执笔经年 2021-02-12 13:16

Execution failed for task \':app:processDebugResources\'.

This error comes when execute \"ionic cordova build android\". Searched for a long time but no luck. Anyone can

相关标签:
9条回答
  • 2021-02-12 13:44

    Actually this is a android support problem. so first find out which android support library installed in your android sdk.

    in my sdk com.android.support:support-v4:24.1.1+ so i replaced the code in project.properites file

    cordova.system.library.1=com.android.support:support-v4:24.1.1+

    0 讨论(0)
  • 2021-02-12 13:48

    in the project folder try:

    cordova clean
    ionic cordova build <platform_name>
    
    0 讨论(0)
  • 2021-02-12 13:49

    I know it's a very late answer, incase someone still facing this issues in 2019.

    It's caused due to gradle, add this gradle support plugin and it should be fine:

    cordova plugin add cordova-android-support-gradle-release
    
    0 讨论(0)
提交回复
热议问题