[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] krishV:
ninja failed with: exit status 1

[ 71% 53427/74863] target R.java/Manifest.java: CalendarProvider (/home/vamsi/pie/out/target/common/obj/APPS/CalendarProvider_intermediates/src/R.stamp)
warning: string 'upgrade_msg' has no default translation.
[ 71% 53449/74863] target R.java/Manifest.java: FMRadio (/home/vamsi/pie/out/target/common/obj/APPS/FMRadio_intermediates/src/R.stamp)
nothing matches overlay file ic_launcher.png, for flavor ldpi-v4
nothing matches overlay file ic_launcher.png, for flavor xxxhdpi-v4
[ 71% 53476/74863] AAPT2 link /home/vamsi/pie/out/target/product/hydrogen/obj/APPS/XiaomiDoze_intermediates/package-res.apk
FAILED: /home/vamsi/pie/out/target/product/hydrogen/obj/APPS/XiaomiDoze_intermediates/package-res.apk /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/aapt2.srcjar /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/extra_packages /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/src/R.stamp /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/proguard_options
/bin/bash -c "(rm -rf /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/aapt2 ) && (mkdir -p /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/aapt2 ) && (rm -f /home/vamsi/pie/out/target/product/hydrogen/obj/APPS/XiaomiDoze_intermediates/aapt2-flat-list ) && (touch /home/vamsi/pie/out/target/product/hydrogen/obj/APPS/XiaomiDoze_intermediates/aapt2-flat-list ) && (rm -f /home/vamsi/pie/out/target/product/hydrogen/obj/APPS/XiaomiDoze_intermediates/aapt2-flat-overlay-list ) && (touch /home/vamsi/pie/out/target/product/hydrogen/obj/APPS/XiaomiDoze_intermediates/aapt2-flat-overlay-list ) && (echo -n '/home/vamsi/pie/out/target/common/obj/JAVA_LIBRARIES/android-support-v14-preference_intermediates/package-res.apk /home/vamsi/pie/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-appcompat_intermediates/package-res.apk /home/vamsi/pie/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-preference_intermediates/package-res.apk /home/vamsi/pie/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-recyclerview_intermediates/package-res.apk /home/vamsi/pie/out/target/common/obj/JAVA_LIBRARIES/android-support-v13_intermediates/package-res.apk /home/vamsi/pie/out/target/common/obj/JAVA_LIBRARIES/android-support-v4_intermediates/package-res.apk /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/flat-res/device/xiaomi/msm8956-common/doze/res/drawable_switchbar_background.xml.flat /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/flat-res/device/xiaomi/msm8956-common/doze/res/layout_doze.xml.flat /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/flat-res/device/xiaomi/msm8956-common/doze/res/layout_switch_bar.xml.flat /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/flat-res/device/xiaomi/msm8956-common/doze/res/values_styles.arsc.flat /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/flat-res/device/xiaomi/msm8956-common/doze/res/xml_doze_settings.xml.flat ' >> /home/vamsi/pie/out/target/product/hydrogen/obj/APPS/XiaomiDoze_intermediates/aapt2-flat-overlay-list ) && (/home/vamsi/pie/out/host/linux-x86/bin/aapt2 link -o /home/vamsi/pie/out/target/product/hydrogen/obj/APPS/XiaomiDoze_intermediates/package-res.apk -z --no-static-lib-packages --auto-add-overlay \$(cat /home/vamsi/pie/out/target/common/obj/JAVA_LIBRARIES/android-support-v14-preference_intermediates/extra_packages /home/vamsi/pie/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-appcompat_intermediates/extra_packages /home/vamsi/pie/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-preference_intermediates/extra_packages /home/vamsi/pie/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-recyclerview_intermediates/extra_packages /home/vamsi/pie/out/target/common/obj/JAVA_LIBRARIES/android-support-v13_intermediates/extra_packages /home/vamsi/pie/out/target/common/obj/JAVA_LIBRARIES/android-support-v4_intermediates/extra_packages) --manifest device/xiaomi/msm8956-common/doze/AndroidManifest.xml -I /home/vamsi/pie/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk --java /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/aapt2 --proguard /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/proguard_options --min-sdk-version 28 --target-sdk-version 28 --product default -c en_US,en_US,af_ZA,am_ET,ar_EG,ar_XB,as_IN,az_AZ,be_BY,bg_BG,bn_BD,bs_BA,ca_ES,cs_CZ,da_DK,de_DE,el_GR,en_AU,en_CA,en_GB,en_IN,en_XA,en_XC,es_ES,es_US,et_EE,eu_ES,fa_IR,fi_FI,fr_CA,fr_FR,gl_ES,gu_IN,hi_IN,hr_HR,hu_HU,hy_AM,in_ID,is_IS,it_IT,iw_IL,ja_JP,ka_GE,kk_KZ,km_KH,kn_IN,ko_KR,ky_KG,lo_LA,lt_LT,lv_LV,mk_MK,ml_IN,mn_MN,mr_IN,ms_MY,my_MM,nb_NO,ne_NP,nl_NL,or_IN,pa_IN,pl_PL,pt_BR,pt_PT,ro_RO,ru_RU,si_LK,sk_SK,sl_SI,sq_AL,sr_Latn_RS,sr_RS,sv_SE,sw_TZ,ta_IN,te_IN,th_TH,tl_PH,tr_TR,uk_UA,ur_PK,uz_UZ,vi_VN,zh_CN,zh_HK,zh_TW,zu_ZA,normal --preferred-density xxhdpi --version-code 28 --version-name 9 -R \\@/home/vamsi/pie/out/target/product/hydrogen/obj/APPS/XiaomiDoze_intermediates/aapt2-flat-overlay-list \\@/home/vamsi/pie/out/target/product/hydrogen/obj/APPS/XiaomiDoze_intermediates/aapt2-flat-list ) && (/home/vamsi/pie/out/soong/host/linux-x86/bin/soong_zip -o /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/aapt2.srcjar -C /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/aapt2 -D /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/aapt2 ) && (/home/vamsi/pie/out/soong/host/linux-x86/bin/extract_jar_packages -i /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/aapt2.srcjar -o /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/extra_packages --prefix '--extra-packages ' ) && (rm -f /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/src/R.stamp ) && (for GENERATED_MANIFEST_FILE in \`find /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/aapt2 -name Manifest.java 2> /dev/null\`; do dir=\`awk '/package/{gsub(/\\./,\"/\",\$2);gsub(/;/,\"\",\$2);print \$2;exit}' \$GENERATED_MANIFEST_FILE\`; mkdir -p /home/vamsi/pie/out/target/common/R/\$dir; prebuilts/build-tools/linux-x86/bin/acp -fp \$GENERATED_MANIFEST_FILE /home/vamsi/pie/out/target/common/R/\$dir; done ) && (for GENERATED_R_FILE in \`find /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/aapt2 -name R.java 2> /dev/null\`; do dir=\`awk '/package/{gsub(/\\./,\"/\",\$2);gsub(/;/,\"\",\$2);print \$2;exit}' \$GENERATED_R_FILE\`; mkdir -p /home/vamsi/pie/out/target/common/R/\$dir; prebuilts/build-tools/linux-x86/bin/acp -fp \$GENERATED_R_FILE /home/vamsi/pie/out/target/common/R/\$dir || exit 31; prebuilts/build-tools/linux-x86/bin/acp -fp \$GENERATED_R_FILE /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/src/R.stamp || exit 32; done ) && (touch /home/vamsi/pie/out/target/common/obj/APPS/XiaomiDoze_intermediates/src/R.stamp )"
device/xiaomi/msm8956-common/doze/res/values/styles.xml:34: error: resource layout/preference_category_material_settings (aka org.lineageos.settings.doze:layout/preference_category_material_settings) not found.
device/xiaomi/msm8956-common/doze/res/values/styles.xml:45: error: resource layout/preference_material_settings (aka org.lineageos.settings.doze:layout/preference_material_settings) not found.
error: failed linking references.
[ 71% 53478/74863] AAPT2 link /home/vamsi/pie/out/target/product/hydrogen/obj/APPS/Bluetooth_intermediates/package-res.apk
packages/apps/Bluetooth/res/layout/bt_enabling_progress.xml:30: warn: generated id 'android:id/progress' for external package 'android'.
warn: removing resource com.android.bluetooth:string/map_acceptance_timeout_message without required default value.
warn: removing resource com.android.bluetooth:string/map_auth_notif_message without required default value.
warn: removing resource com.android.bluetooth:string/map_auth_notif_ticker without required default value.
warn: removing resource com.android.bluetooth:string/map_auth_notif_title without required default value.
warn: removing resource com.android.bluetooth:string/map_authentication_timeout_message without required default value.
warn: removing resource com.android.bluetooth:string/map_defaultname without required default value.
warn: removing resource com.android.bluetooth:string/map_defaultnumber without required default value.
warn: removing resource com.android.bluetooth:string/map_localPhoneName without required default value.
warn: removing resource com.android.bluetooth:string/map_session_key_dialog_header without required default value.
warn: removing resource com.android.bluetooth:string/map_session_key_dialog_title without required default value.
warn: removing resource com.android.bluetooth:string/map_unknownName without required default value.
[ 71% 53483/74863] //frameworks/base:framework-javastream-protos generate
frameworks/base/core/proto/android/os/incident.proto: warning: Import frameworks/base/core/proto/android/os/batterystats.proto but not used.
ninja: build stopped: subcommand failed.
17:59:56 ninja failed with: exit status 1

#### failed to build some targets (01:27:18 (hh:mm:ss)) ####