link3151 link3152 link3153 link3154 link3155 link3156 link3157 link3158 link3159 link3160 link3161 link3162 link3163 link3164 link3165 link3166 link3167 link3168 link3169 link3170 link3171 link3172 link3173 link3174 link3175 link3176 link3177 link3178 link3179 link3180 link3181 link3182 link3183 link3184 link3185 link3186 link3187 link3188 link3189 link3190 link3191 link3192 link3193 link3194 link3195 link3196 link3197 link3198 link3199 link3200 link3201 link3202 link3203 link3204 link3205 link3206 link3207 link3208 link3209 link3210 link3211 link3212 link3213 link3214 link3215 link3216 link3217 link3218 link3219 link3220 link3221 link3222 link3223 link3224 link3225 link3226 link3227 link3228 link3229 link3230 link3231 link3232 link3233 link3234 link3235 link3236 link3237 link3238 link3239 link3240 link3241 link3242 link3243 link3244 link3245 link3246 link3247 link3248 link3249 link3250 link3251 link3252 link3253 link3254 link3255 link3256 link3257 link3258 link3259 link3260 link3261 link3262 link3263 link3264 link3265 link3266 link3267 link3268 link3269 link3270 link3271 link3272 link3273 link3274 link3275 link3276 link3277 link3278 link3279 link3280 link3281 link3282 link3283 link3284

[Vue.js] Android Cordova build failed (Execution failed for task ' app processDebugResources') Subscribe to RSS

After I run Cordova on android “cordova run android / cordova build” I I got the following error :

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ‘:app:processDebugResources’.
Failed to execute aapt

any thought how we can fix this I tried build/clean didn’t work.

Thanks in Advance.

Solution :

I’m having the same problem, on Friday I did the build normally and on Monday when trying to perform again I get the error ‘Execution failed for task’: app: processDebugResources’” plus some stacktrace on Aapt2Exception: AAPT2 error.

Apparently this has to do with Google launching new versions of support-v4 and api-level update

this link say that installing the cordova-android-support-gradle-release plugin solves the problem.

add the code below in build.gradle in the platforms / android directory

configurations.all {
resolutionStrategy.force ‘’

In my case it did not solve, but I may have done something wrong, I hope it will solve.


Google has released an update of Google Play service libraries and Firebase on June 17, 2019, I believe our problem is directly related to this. They recommend the following settings:

Upgrade to v3.2.1 or later.
Upgrade compileSdkVersion to 28 or later.
Update the app to use Jetpack (AndroidX); follow the instructions in Migrating to AndroidX.

In the case of Cordova applications I still do not know exactly how to reflect these changes and I’m in the middle of a release cycle of an update of my app, without being able to build, it’s really sad :(

PS:Sorry for my bad English.