【问题标题】:Failed to build nativescript-google-maps-sdk无法构建 nativescript-google-maps-sdk
【发布时间】:2020-02-29 15:42:10
【问题描述】:

我在我的应用 (nativescript-vue) 中使用 google-maps-sdk 插件。但是当我尝试为 android 构建项目时,我收到一个错误,上面写着

“无法构建插件 nativescript-google-maps-sdk”。

我尝试了 4 天以来在网上论坛上找到的所有内容,我正在尝试但同样的错误仍然存​​在。请帮忙。

【问题讨论】:

  • 您能告诉我们更多有关错误的信息以及您尝试了哪些解决方案吗?

标签: nativescript-vue


【解决方案1】:

这是错误:

Where:

Build file '/home/mhady/Documents/Realtime_Location/platforms/tempPlugin/nativescript_google_maps_sdk/build.gradle' line: 38

* What went wrong:
A problem occurred evaluating root project 'nativescript_google_maps_sdk'.
> Could not find method compile() for arguments [com.google.android.gms:play-services-maps:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

* 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 16s
Failed to build plugin nativescript-google-maps-sdk : 
Error: Command ./gradlew failed with exit code 1

`

【讨论】:

    猜你喜欢
    • 2021-12-13
    • 2014-03-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-06-10
    • 1970-01-01
    • 1970-01-01
    • 2016-03-22
    相关资源
    最近更新 更多