@B3nvo wrote:
Hi,
I recently came across an error message saying
C:\Users\user\Documents\Development\ionic\TriStar\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found. C:\Users\user\Documents\Development\ionic\TriStar\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found. C:\Users\user\Documents\Development\ionic\TriStar\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:229: error: resource android:attr/fontVariationSettings not found. C:\Users\user\Documents\Development\ionic\TriStar\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:229: error: resource android:attr/ttcIndex not found. error: failed linking references.
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDebugResources'. > Failed to execute aapt * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. * Get more help at https://help.gradle.org BUILD FAILED in 59ss'**
i was able to build fine in the morning, but when i came back from lunch, i instantly got this error.
i have tried to remove and add android back, but that was no luck.
after that i tried to add the following in my platform/android/project.propertiesfrom
cordova.system.library.2=com.android.support:support-v4:27+
to
cordova.system.library.2=com.android.support:support-v4:27.1.0
in between building i had added file opener plugin and androidpermissions plugin, but im unsure if this would cause the problem. i have uninstalled androidpermissions and that didn’t work. i have also uninstalled the file opener but this didn’t work either.
ionic info
Ionic: ionic (Ionic CLI) : 4.10.3 (C:\Users\user\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : @ionic/angular 4.0.2 @angular-devkit/build-angular : 0.12.4 @angular-devkit/schematics : 7.2.4 @angular/cli : 7.2.4 @ionic/angular-toolkit : 1.4.0 Cordova: cordova (Cordova CLI) : not installed Cordova Platforms : android 7.1.4, ios 4.5.5 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 11 other plugins) System: NodeJS : v10.15.1 (C:\Program Files\nodejs\node.exe) npm : 6.4.1 OS : Windows 10
thanks
~benvo
Posts: 1
Participants: 1