Reputation: 3
Please help me to solve this error in Android Studio.
Three errors pop up:
A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction Android resource linking failed art.dorozhkinsa.app-mergeDebugResources-17:/values/values.xml:3854: error: expected reference but got (raw string) null. art.dorozhkinsa.app-mergeDebugResources-17:/values-night-v8/values-night-v8.xml:23: error: expected reference but got (raw string) null. error: failed linking references. 2) Execution failed for task ':app:processDebugResources'. A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction Android resource linking failed art.dorozhkinsa.app-mergeDebugResources-17:/values/values.xml:3854: error: expected reference but got (raw string) null. art.dorozhkinsa.app-mergeDebugResources-17:/values-night-v8/values-night-v8.xml:23: error: expected reference but got (raw string) null. error: failed linking references. 3) Android resource linking failed art.dorozhkinsa.app-mergeDebugResources-17:/values/values.xml:3854: error: expected reference but got (raw string) null. art.dorozhkinsa.app-mergeDebugResources-17:/values-night-v8/values-night-v8.xml:23: error: expected reference but got (raw string) null. error: failed linking references.
Upvotes: 0
Views: 2181
Reputation: 4840
Your night theme has an invalid value for android:windowContentOverlay
.
Replace with @null
instead of null
.
<item name="android:windowContentOverlay">@null</item>
Upvotes: 0