Ionic后台地理定位服务插件安装报错
Ionic background geolocation service plugin installation error
我想将此 plgin 添加到我的离子应用程序中:https://www.transistorsoft.com/shop/products/cordova-background-geolocation
我已经通过 npm 安装了这个插件,removed/readded android 平台。
现在,当我想要 build/run 应用程序时,构建失败并出现错误。
: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
你有什么建议?提前致谢!
请检查google播放服务版本是否与支持的Cordova版本有冲突。
https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/694
我想将此 plgin 添加到我的离子应用程序中:https://www.transistorsoft.com/shop/products/cordova-background-geolocation
我已经通过 npm 安装了这个插件,removed/readded android 平台。 现在,当我想要 build/run 应用程序时,构建失败并出现错误。
: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
你有什么建议?提前致谢!
请检查google播放服务版本是否与支持的Cordova版本有冲突。 https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/694