How fix attr/colorError in Android studio : org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processDebugResources'.



Caused by: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
C:\Users\Jarup\.gradle\caches\transforms-1\files-1.1\card-form-3.5.0.aar\cb262b69320916545281c54ceaa4ba26\res\values\values.xml:57:5-60:13: AAPT: error: style attribute 'attr/colorError (aka com.example.lun.pocket_health_advisor:attr/colorError)' not found.




Caused by: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
C:\Users\Jarup\AndroidStudioProjects\healthcare\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2493: error: style attribute 'attr/colorError (aka com.example.lun.pocket_health_advisor:attr/colorError)' not found.
error: failed linking references.
