Failed to build plugin nativescript-google-maps-sdk

plugins

#1

I try to run an exist project vs Visual Code, but I get an error while build project by tns run android.
This project work well on other computer.
The error is:

Unable to apply changes on device: 33008bb60e55a283. Error is: Failed to build plugin nativescript-google-maps-sdk :
Error: Command gradlew.bat 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

I try to remove platform, add, clean. Nothing helped.
Any suggestion?


#2

I found that this is a known issue, but without solution.
Maybe anyone has suggestion what can I do?


#3

I solved it by this solution.