这是一个具有空活动的演示应用程序,当我编译或构建项目时,它会在android studio中显示错误。即使当我在react-native run-android中运行该命令时,它也会显示相同的错误,请提出一些解决此问题的提示。
Android resource linking failed
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:136: error: resource android:color/black not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:138: error: resource android:color/black not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:139: error: resource android:color/black not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:143: error: resource android:color/white not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:150: error: resource android:color/white not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:151: error: resource android:color/black not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:163: error: resource android:color/white not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:164: error: resource android:color/black not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:181: error: resource android:color/black not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:772: error: resource android:color/transparent not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:967: error: resource android:color/transparent not found.
error: failed linking references.