-
Notifications
You must be signed in to change notification settings - Fork 169
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
Error building project with google maps plugin #6
Comments
Looks like gradle can't find the play-services-maps Android library, which needs to be installed on your machine. Verify that you have the latest Google Play Services installed https://developer.android.com/sdk/installing/adding-packages.html |
For my location, you should be able to do something like this, although I haven't tested it:
|
I had google play installed and after i added the google repository my project built successfully. Although everything builds ok and I can see the location button, there is no map shown. |
It now works perfectly. |
Great - glad to hear it's working now. Enjoy! |
Hi,
I successfully built a sample app with a previous version of your plugin, however with the new version of the plugin i get build errors as shown below. I see now you have removed the dependancy on the old nativescript-plugin-google-play-services plugin.
A problem occurred configuring root project 'games'.
I do have google play installed at the following location:
/Volumes/UserData/usr/local/opt/android-sdk/extras/google/google_play_services/libproject/google-play-services_lib/libs/
I am new to android and gradle builds. I thought that since you had the dependency in your include.grade file that the gradle build would take care of including the google map dependency.
I know previous to the gradle integration that you had to use a library add to add the google play jar file. Am i missing something here?
dependencies {
compile 'com.google.android.gms:play-services-maps:+’
}
Also did you have any plans on adding the my location option to your plugin?
Many thanks for a great plugin.
Peter
The text was updated successfully, but these errors were encountered: