鍍金池/ 問(wèn)答/HTML5  C  Android/ react-native 打包安卓app報(bào)錯(cuò)?

react-native 打包安卓app報(bào)錯(cuò)?

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processReleaseResources'.
> Failed to execute aapt

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 39s
115 actionable tasks: 105 executed, 10 up-to-date

打包RN項(xiàng)目的時(shí)候報(bào)這個(gè)錯(cuò)誤是什么原因?

回答
編輯回答
心上人

在項(xiàng)目的gradle.properties中:設(shè)置android.enableAapt2=false
https://github.com/wuyunqiang...

2017年1月2日 08:01
編輯回答
枕頭人

請(qǐng)問(wèn)解決的了嗎?我也有同樣的問(wèn)題

2017年6月19日 01:29