[XDA-University] pierg75:
Has anyone got this error?

target R.java/Manifest.java: PackageInstaller (/root/RR/out/target/common/obj/APPS/PackageInstaller_intermediates/src/R.stamp)
device/nubia/nx507j/doze/res/xml/doze_settings.xml:19: error: Error: No resource found that matches the given name (at 'title' with value '@string/ambient_display_title').

device/nubia/nx507j/doze/res/xml/doze_settings.xml:19: error: Error: No resource found that matches the given name (at 'summary' with value '@string/ambient_display_summary').

device/nubia/nx507j/doze/res/xml/doze_settings.xml:25: error: Error: No resource found that matches the given name (at 'title' with value '@string/tilt_sensor_title').

device/nubia/nx507j/doze/res/xml/doze_settings.xml:29: error: Error: No resource found that matches the given name (at 'title' with value '@string/pick_up_title').

device/nubia/nx507j/doze/res/xml/doze_settings.xml:29: error: Error: No resource found that matches the given name (at 'summary' with value '@string/pick_up_summary').

device/nubia/nx507j/doze/res/xml/doze_settings.xml:36: error: Error: No resource found that matches the given name (at 'title' with value '@string/always_enabled_title').

device/nubia/nx507j/doze/res/xml/doze_settings.xml:36: error: Error: No resource found that matches the given name (at 'summary' with value '@string/always_enabled_summary').

device/nubia/nx507j/doze/res/xml/doze_settings.xml:45: error: Error: No resource found that matches the given name (at 'title' with value '@string/priximity_sensor_title').

device/nubia/nx507j/doze/res/xml/doze_settings.xml:49: error: Error: No resource found that matches the given name (at 'title' with value '@string/hand_wave_gesture_title').

device/nubia/nx507j/doze/res/xml/doze_settings.xml:49: error: Error: No resource found that matches the given name (at 'summary' with value '@string/hand_wave_gesture_summary').

device/nubia/nx507j/doze/res/xml/doze_settings.xml:56: error: Error: No resource found that matches the given name (at 'title' with value '@string/pocket_gesture_title').

device/nubia/nx507j/doze/res/xml/doze_settings.xml:56: error: Error: No resource found that matches the given name (at 'summary' with value '@string/pocket_gesture_summary').

device/nubia/nx507j/doze/res/xml/doze_settings.xml:63: error: Error: No resource found that matches the given name (at 'title' with value '@string/always_enabled_title').

device/nubia/nx507j/doze/res/xml/doze_settings.xml:63: error: Error: No resource found that matches the given name (at 'summary' with value '@string/always_enabled_summary').

build/core/package_internal.mk:369: recipe for target '/root/RR/out/target/common/obj/APPS/NubiaDoze_intermediates/src/R.stamp' failed
make: *** [/root/RR/out/target/common/obj/APPS/NubiaDoze_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....
nothing matches overlay file header.xml, for flavor television-v8
nothing matches overlay file preference_category_material.xml, for flavor v17
nothing matches overlay file preference_category_material.xml, for flavor v21
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
make: Leaving directory '/root/RR'

I tried with different settings but always getting some errors.