简体   繁体   English

离子背景地理位置服务插件安装错误

[英]Ionic background geolocation service plugin installation error

I want to add this plgin to my ionic application: https://www.transistorsoft.com/shop/products/cordova-background-geolocation 我想将此插件添加到我的离子应用程序中: https ://www.transistorsoft.com/shop/products/cordova-background-geolocation

I have installed this plugin via npm, removed/readded the android platform. 我已经通过npm安装了此插件,删除/添加了android平台。 And now, when I want to build/run the application, the build fails with an error. 现在,当我要构建/运行应用程序时,构建失败并显示错误。

: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.

build log is available here: https://pastebin.com/ZrRh7i7m 此处提供构建日志: https : //pastebin.com/ZrRh7i7m

What can you advice? 您有什么建议? Thank you in advance! 先感谢您!

Please check the google play service version and whether it has any conflict with the Supported Cordova version. 请检查Google Play服务版本,以及它与支持的Cordova版本是否有冲突。 https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/694 https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/694

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

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