Skip to content

Problem building nativescript-google-maps-sdk on Android #1081

@erjdriver

Description

@erjdriver

Using NS 4.1, tns-core 4.1 and tns-android 4.1.

Getting the following error during build on Android

`Unable to apply changes on device: emulator-5554. Error is: Failed to build plugin nativescript-google-maps-sdk :
Error: Command ./gradlew failed with exit code 1 Error output:

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not resolve all files for configuration ':releaseCompileClasspath'.

Could not find common.jar (android.arch.core:common:1.0.0).
Searched in the following locations:
https://jcenter.bintray.com/android/arch/core/common/1.0.0/common-1.0.0.jar

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1s`

The problem seems to be it's looking for common-1.0.0.jar and it's not on that jcenter site.

This happens on android@4.1.0 - the build works on android@4.0.1

More detailed info on the plug-in page.

Issue on the plug-in site

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions