Ionic cordova构建android返回失败

时间:2018-05-31 02:09:47

标签: ionic-framework

当我在我的cli上运行离子cordova构建android --prod --release时显示此错误。

What went wrong:
Execution failed for task ‘:processReleaseResources’.
com.android.ide.common.process.ProcessException: 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.
Picked up _JAVA_OPTIONS: -Xmx512M
[ERROR] An error occurred while running cordova build android --release (exit
code 1).

我尝试了很多解决方案而且没有用,请有人帮忙。

0 个答案:

没有答案