简体   繁体   English

离子构建失败:app:transformClassesWithDesugarForDebug

[英]Ionic Build failed :app:transformClassesWithDesugarForDebug

FAILURE: Build failed with an exception. 失败:构建失败,发生异常。

  • What went wrong: Execution failed for task ':app:transformClassesWithDesugarForDebug'. 出了什么问题:任务':app:transformClassesWithDesugarForDebug'的执行失败。

    com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Error while executing java process with main class com.google.devtools.build.android.desugar.Desugar with arguments {@C:\\MobileApp.Ionic\\platforms\\android\\app\\build\\intermediates\\tmp\\desugar_args3140882361716595656} com.android.build.api.transform.TransformException:java.lang.RuntimeException:java.lang.RuntimeException:com.android.ide.common.process.ProcessException:使用主要类com.google.devtools执行Java进程时出错。使用参数{@C:\\ MobileApp.Ionic \\ platforms \\ android \\ app \\ build \\ intermediates \\ tmp \\ desugar_args3140882361716595656}的build.android.desugar.Desugar

  • Try: Run with --stacktrace option to get the stack trace. 尝试:使用--stacktrace选项运行以获取堆栈跟踪。 Run with --info or --debug option to get more log output. 使用--info或--debug选项运行以获取更多日志输出。

  • Get more help at https://help.gradle.org https://help.gradle.org上获得更多帮助

BUILD FAILED in 1m 9s (node:28480) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. 在1m 9s内建立失败(节点:28480)[DEP0018] DeprecationWarning:已弃用未处理的Promise拒绝。 In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 将来,未处理的承诺拒绝将以非零退出代码终止Node.js进程。

尝试命令cordova clean android确保用户执行的命令具有管理员权限

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 任务':app:transformClassesWithDesugarForDebug'的执行失败'Cordova Gradle Ionic - Execution failed for task ':app:transformClassesWithDesugarForDebug' Cordova Gradle Ionic Gradle 3.0构建错误:任务执行失败':app:transformClassesWithDesugarForDebug' - Gradle 3.0 Build Error : Execution failed for task ':app:transformClassesWithDesugarForDebug' 任务':app:transformClassesWithDesugarForDebug'的执行失败 - Execution failed for task ':app:transformClassesWithDesugarForDebug' Gradle构建失败。任务':app:transformClassesWithDesugarForDebug'的执行失败。 适用于Android Studio 3.0.1 - Gradle build failed.Execution failed for task ':app:transformClassesWithDesugarForDebug'. for Android Studio 3.0.1 任务应用程序执行失败:Android Studio 3.0 Beta 2 上的transformClassesWithDesugarForDebug 错误 - Execution failed for task app:transformClassesWithDesugarForDebug error on Android Studio 3.0 Beta 2 任务“ app.transformClassesWithDesugarForDebug”的执行失败。 将项目导入android studio 3.0.1后 - Execution failed for task : 'app.transformClassesWithDesugarForDebug'. after importing project to android studio 3.0.1 Ionic Android Build失败 - Ionic Android Build Failed IONIC构建失败的transformClassesWithDexForDebug - IONIC Build failed transformClassesWithDexForDebug Ionic:无法构建android - Ionic: Failed to build android 使用离子android进行构建失败 - Build failed with ionic android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM