|
To run dex in process, the Gradle daemon needs a larger heap.
It currently has 247 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 513 MB (based on the dexOptions.javaMaxHeapSize = 780).
To do this set org.gradle.jvmargs=-Xmx513M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':transformClassesWithDexForRelease'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Error while executing java process with main class com.android.dx.command.Main with arguments {--dex --num-threads=4 --multi-dex --main-dex-list E:\WeX5\model\Native\锟斤拷应锟斤拷锟斤拷锟斤拷\build\src\platforms\android\build\intermediates\multi-dex\release\maindexlist.txt --output E:\WeX5\model\Native\锟斤拷应锟斤拷锟斤拷锟斤拷\build\src\platforms\android\build\intermediates\transforms\dex\release\folders\1000\1f\main E:\WeX5\model\Native\锟斤拷应锟斤拷锟斤拷锟斤拷\build\src\platforms\android\build\intermediates\transforms\jarMerging\release\jars\1\1f\combined.jar}
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
:transformClassesWithDexForRelease FAILED
BUILD FAILED
Total time: 3 mins 3.987 secs
Error: cmd: Command failed with exit code 1 Error output:
注: E:\WeX5\model\Native\锟斤拷应锟斤拷锟斤拷锟斤拷\build\src\platforms\android\JustepGetContent\src\main\java\com\justep\x5\support\media\ExtAudioRecorder.java使锟矫或覆革拷锟斤拷锟窖癸拷时锟斤拷 API锟斤拷
注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:deprecation 锟斤拷锟铰憋拷锟诫。
注: E:\WeX5\model\Native\锟斤拷应锟斤拷锟斤拷锟斤拷\build\src\platforms\android\JustepGetContent\src\main\java\com\justep\x5\support\chooser\FileUploadChooserActivity.java使锟斤拷锟斤拷未锟斤拷锟斤拷锟斤拷锟津不帮拷全锟侥诧拷锟斤拷锟斤拷
注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:unchecked 锟斤拷锟铰憋拷锟诫。
注: 某些锟斤拷锟斤拷锟侥硷拷使锟矫或覆革拷锟斤拷锟窖癸拷时锟斤拷 API锟斤拷
注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:deprecation 锟斤拷锟铰憋拷锟诫。
注: 某些锟斤拷锟斤拷锟侥硷拷使锟矫或覆革拷锟斤拷锟窖癸拷时锟斤拷 API锟斤拷
注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:deprecation 锟斤拷锟铰憋拷锟诫。
注: 某些锟斤拷锟斤拷锟侥硷拷使锟斤拷锟斤拷未锟斤拷锟斤拷锟斤拷锟津不帮拷全锟侥诧拷锟斤拷锟斤拷
注: 锟叫癸拷锟斤拷细锟斤拷息, 锟斤拷使锟斤拷 -Xlint:unchecked 锟斤拷锟铰憋拷锟诫。
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':transformClassesWithDexForRelease'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Error while executing java process with main class com.android.dx.command.Main with arguments {--dex --num-threads=4 --multi-dex --main-dex-list E:\WeX5\model\Native\锟斤拷应锟斤拷锟斤拷锟斤拷\build\src\platforms\android\build\intermediates\multi-dex\release\maindexlist.txt --output E:\WeX5\model\Native\锟斤拷应锟斤拷锟斤拷锟斤拷\build\src\platforms\android\build\intermediates\transforms\dex\release\folders\1000\1f\main E:\WeX5\model\Native\锟斤拷应锟斤拷锟斤拷锟斤拷\build\src\platforms\android\build\intermediates\transforms\jarMerging\release\jars\1\1f\combined.jar}
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildAndroid" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
C:\Users\servlet\AppData\Local\Temp\212093fe-de7c-459d-b47c-481f174c870d\pack.xml:91: exec returned: 1
完整的日志,参附件!!!完整的日志,参附件!!!完整的日志,参附件!!!
|
|