; mkdir -p out/target/common/R/\$dir; prebuilts/build-tools/linux-x86/bin/acp -fp \$GENERATED_R_FILE out/target/common/R/\$dir || exit 31; prebuilts/build-tools/linux-x86/bin/acp -fp \$GENERATED_R_FILE out/target/common/obj/APPS/DVR_intermediates/src/R.stamp || exit 32; done ) && (touch out/target/common/obj/APPS/DVR_intermediates/src/R.stamp )"
vendor/jhy/package/DVR/app/src/main/res/values/styles.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
vendor/jhy/package/DVR/app/src/main/res/values/styles.xml:8: error: Error: No resource found that matches the given name: attr 'colorAccent'.
vendor/jhy/package/DVR/app/src/main/res/values/styles.xml:6: error: Error: No resource found that matches the given name: attr 'colorPrimary'.
vendor/jhy/package/DVR/app/src/main/res/values/styles.xml:7: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'.
vendor/jhy/package/DVR/app/src/main/res/values/styles.xml:10: error: Error: No resource found that matches the given name: attr 'windowActionBar'.
vendor/jhy/package/DVR/app/src/main/res/values/styles.xml:9: error: Error: No resource found that matches the given name: attr 'windowNoTitle'.
ninja: build stopped: subcommand failed.
17:59:59 ninja failed with: exit status 1
解决办法:
由于是已引了android.support.v7.appcompat 包
在android.mk中加入 LOCAL_USE_AAPT2 := true 编译通过