简体   繁体   中英

Ionic Build failed :app:transformClassesWithDesugarForDebug

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':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}

  • 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 9s (node:28480) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM