Execution failed for task ':app:processDebugResources'


#1

I got this build error after installing AdvancedWebView Plugin

C:\Users\user.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\4cfb5a08e8368816ef3645c7e80ffb22\res\values-v26\values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found.
C:\Users\user.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\4cfb5a08e8368816ef3645c7e80ffb22\res\values-v26\values-v26.xml:13:5-16:13: AAPT: error: resource android:attr/colorError not found.
C:\Users\user.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\4cfb5a08e8368816ef3645c7e80ffb22\res\values-v26\values-v26.xml:17:5-93: AAPT: error: style attribute ‘android:attr/keyboardNavigationCluster’ not found.
C:\Users\user.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\4cfb5a08e8368816ef3645c7e80ffb22\res\values\values.xml:252:5-69: AAPT: error: resource android:attr/fontStyle not found.
C:\Users\user.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\4cfb5a08e8368816ef3645c7e80ffb22\res\values\values.xml:252:5-69: AAPT: error: resource android:attr/font not found.
C:\Users\user.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\4cfb5a08e8368816ef3645c7e80ffb22\res\values\values.xml:252:5-69: AAPT: error: resource android:attr/fontWeight not found.
E:\NativeScript\simpleapp\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v26\values-v26.xml:7: error: resource android:attr/colorError not found.
E:\NativeScript\simpleapp\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v26\values-v26.xml:11: error: resource android:attr/colorError not found.
E:\NativeScript\simpleapp\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v26\values-v26.xml:15: error: style attribute ‘android:attr/keyboardNavigationCluster’ not found.
E:\NativeScript\simpleapp\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:501: error: resource android:attr/fontStyle not found.
E:\NativeScript\simpleapp\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:501: error: resource android:attr/font not found.
E:\NativeScript\simpleapp\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:501: error: resource android:attr/fontWeight not found.
error: failed linking references.
Failed to execute aapt

Please help, thanks!


#2

Even I got same error after intsalling few nativescript plugins like videorecorder and videoplayer. Removing the platform and adding again didn’t fix the issue. Please suggest some fix.


#3

this error will come mainly when worked online and downloaded the file and try to run offline
please fix this anyone…


#4

Same . On ios works just fine


#5

Same problem, no solution :frowning: