Reputation: 73
I try build application android with this command:
ionic cordova run android
but I have this error:
Execution failed for task ':app:processDebugResources'.
this is output ionic info:
li packages: (C:\Users\med\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.19.1
ionic (Ionic CLI) : 3.19.1
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 3.1.8
Cordova Platforms : android 7.0.0 ios 4.5.4
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
Node : v6.11.1
npm : 3.10.10
OS : Windows 7
Environment Variables:
ANDROID_HOME : C:\Users\med\AppData\Local\Android\Sdk
Misc:
backend : pro
how to resolve this error please
Upvotes: 0
Views: 2421
Reputation: 1334
I have just fixed this issue by going to the platform/android folder and edited the project.properties
) file and replaced **com.android.support:support-v4:+**
with **com.android.support:support-v4:27.1.0**
.
Upvotes: 0
Reputation: 286
this type of error occurs when a plugin might not be insatlled properly.. or the plugin is not behaving properly due to any reason.. If you recently added any native plugin try removing it and then try to build the app again if the build completes then you know what is causing the problem..
Upvotes: 1