Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build plugin @kefah/nativescript-google-maps #6

Closed
brianmharding13 opened this issue Mar 10, 2022 · 1 comment
Closed

Failed to build plugin @kefah/nativescript-google-maps #6

brianmharding13 opened this issue Mar 10, 2022 · 1 comment

Comments

@brianmharding13
Copy link

Having some build issues using this library. Below are the failures. This is with nativescript 8.2.2 and JDK version 17.0.2.

[19:21:34]: ▸ FAILURE: Build completed with 2 failures.
[19:21:34]: ▸ 1: Task failed with an exception.
[19:21:34]: ▸ -----------
[19:21:34]: ▸ * Where:
[19:21:34]: ▸ Build file '/Users/.../platforms/tempPlugin/nativescript_google_maps/build.gradle' line: 232
[19:21:34]: ▸ * What went wrong:
[19:21:34]: ▸ A problem occurred evaluating root project 'nativescript_google_maps'.
[19:21:34]: ▸ > Could not find method compile() for arguments [com.google.android.gms:play-services-maps:18.0.2] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
[19:21:34]: ▸ * Try:
[19:21:34]: ▸ > Run with --stacktrace option to get the stack trace.
[19:21:34]: ▸ > Run with --info or --debug option to get more log output.
[19:21:34]: ▸ > Run with --scan to get full insights.
[19:21:34]: ▸ ==============================================================================
[19:21:34]: ▸ 2: Task failed with an exception.
[19:21:34]: ▸ -----------
[19:21:34]: ▸ * Where:
[19:21:34]: ▸ Build file '/Users/.../platforms/tempPlugin/nativescript_google_maps/build.gradle' line: 210
[19:21:34]: ▸ * What went wrong:
[19:21:34]: ▸ A problem occurred configuring root project 'nativescript_google_maps'.
[19:21:34]: ▸ > Could not get unknown property 'generateReleaseBuildConfig' for root project 'nativescript_google_maps' of type org.gradle.api.Project.
[19:21:34]: ▸ * Try:
[19:21:34]: ▸ > Run with --stacktrace option to get the stack trace.
[19:21:34]: ▸ > Run with --info or --debug option to get more log output.
[19:21:34]: ▸ > Run with --scan to get full insights.
[19:21:34]: ▸ ==============================================================================
[19:21:34]: ▸ * Get more help at https://help.gradle.org
[19:21:34]: ▸ BUILD FAILED in 2s
[19:21:35]: ▸ Failed to build plugin @kefah/nativescript-google-maps :
[19:21:35]: ▸ Error: Command ./gradlew failed with exit code 1
@kefahB
Copy link
Owner

kefahB commented Mar 10, 2022

duplicated #5

@kefahB kefahB closed this as completed Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants