Ionic 3 Resolve “Execution failed for task ‘:app:processDebugResources’.”

During development Ionic 3 project when I added Ionic Native File Opener plugin I faced the following issue during building android apk         FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:app:processDebugResources’. > Failed to execute aapt Resolve it this way: Change cordova.system.library.2=com.android.support:support-v4:+ To cordova.system.library.2=com.android.support:support-v4:27.1.0 in…

By.

min read

During development Ionic 3 project when I added Ionic Native File Opener plugin I faced the following issue during building android apk

 

 

 

 

FAILURE: Build failed with an exception.

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

Resolve it this way:

Change

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

To

cordova.system.library.2=com.android.support:support-v4:27.1.0

in file “~platforms\android\project.properties”

Leave a Reply

Your email address will not be published. Required fields are marked *