1

I am building a google maps app on android using android studio When I released the first version of my app, no one was able to view the google maps as google play services must be installed on the devices by users ( I cant ask people to download that in each device) so I want to embed it into my app.

I have been searching for 4 days and no luck so far

I got that google-play-services.jar library can be added to the app and by that no need for the user to install play services

I am not sure if I should use google-play-services.jar or com.google.android.gms:play-services in my android studio app.

I read in other answers that I can use google-play-services.jar into my app so I can get Google Play Services ready without the need for user to install it.

in another said that com.google.android.gms:play-services is a must in the app!

Anyway has experience in this? Please advice.

Thanks

1 Answer 1

1

google-play-services.jar will only interract with installed play services on the smartphone. You can't emmbed the play service application in your apk, there's nos sense.

For peoples who want to use your application, they need to download it by the play store or maybe they already have google music or google maps on their phone, so they have play services installed.

So just add google play services in your gradle file compile 'com.google.android.gms:play-services:(version)'

Sign up to request clarification or add additional context in comments.

4 Comments

Is there a way I can check and transfer user to google play service to download?
It's automatic, if you try to use play service on a smartphone, if don't installed it will open the play store. So do not stress with that
it doesn't, I just get grey screen!
you can use play services utils, follow this tuto androiddesignpatterns.com/2013/01/…

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.