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