【发布时间】:2018-07-30 11:37:10
【问题描述】:
我想将此插件添加到我的 ionic 应用程序中:https://www.transistorsoft.com/shop/products/cordova-background-geolocation
我已经通过 npm 安装了这个插件,删除/读取了 android 平台。 现在,当我想构建/运行应用程序时,构建失败并出现错误。
:app:transformClassesWithDesugarForDebug FAILED
40 actionable tasks: 40 executed
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.
构建日志可在此处获得:https://pastebin.com/ZrRh7i7m
你有什么建议?提前谢谢!
【问题讨论】:
标签: android angular cordova ionic-framework geolocation