Can’t see google maps on my device and emulator - android

I am doing an app with a partner. My partner can see the Google Maps in the app, however, I can’t see it in the device and emulator. I don’t think is a code problem because my partner can see it, maybe it is something I have to download on my device?
I already install Google Service also and nothing happened.

You don't have to have restrictions on your key otherwise only who created project can see map. Go here and edit the options. Sorry for image in Italian

please refer to this documentation first https://developers.google.com/maps/documentation/android-api/signup
What you may be doing wrong is that you have not entered your debug android studio SHA-1 key in your google developer console while putting restriction on to your key and wait for at least 10 minute after doing any updation on your developer console. If this doesn't solves the problem then please share some more details about the code integration and your key restriction than only anyone here can help you getting out of this problem.

Related

Google Places Autocomplete Can't load search results

I am trying to implement the Google Places Autocomplete API sometimes I am able to get location list but sometimes I get "can't load search results" message. Can someone pease help me with the issue.
This issue have a few possible reasons:
No billing account associated to the project
If you are still using the old Places
SDK
If you reach your quota limit(e.g. self imposed cap
usage)
If your app is not properly
restricted
If any of the above doesn't fix your issue, it would be best to reach out to the support team of the Google Maps Platform as this error commonly has something to do with your configuration in the GCP console wherein only the support team of Google Maps Platform can assist you.
Hope this helps.
i already added the billing service also then get the same error then i added the api key in gradle file and then its works for me
Added your api RNGP_ANDRIOD_API_KEY=***** in gradle.properties
If any of the above still doesnt work, and if you happen to be using an emulator to run the app, try uninstalling the app, then re-installing it when you run the program in android studios.
Background info:
I happened to encounter this issue on my emulator despite doing everything mentioned above, but when I tried downloading the app onto my phone, I found it working there so I tried uninstalling the app on my emulator and it worked after.

Can't get a configuration file(google-services.json)

I have tried so many times to access https://developers.google.com/mobile/add
but I can't.
when I access the site, I just see circle progress thing, and it never disappears.
Is there a problem in google or my account has the problem?
Thank you.
My app is already in Play Store using older version of Google analytics and I have the similar problem with the endless spinning circle when I try to update my app and download the file google-services.json....
I double check my analytic property and the Google Play Console etc, try it on different platforms, browsers...
And then I realize that the document said "Google Developer Console".
I login in https://console.developers.google.com
and create a project for my app after I done that I am able to get the google-services.json from
https://developers.google.com/mobile/add

Android app transferred from another developer account not showing in developer console

I was taking over someone else's android project and as such, asked the developer who was working on the project previously to transfer the app.
I found numerous resources on how to initiate the transfer including:
Transfer existing Android app to another developer account?
And the page on Google developer help dedicated to app transfers.
I have given the previous developer all the information required including the transaction ID, and it seems that the process has gone smoothly, he forwarded me this email:
Your transfer is complete!
Thanks for providing the necessary info for your application transfer.
Thanks for supporting Google Play!
Regards,
*****
Google Play Developer Support
So naturally, I wanted to push an update to the application, but it is nowhere to be seen in the developer console. Furthermore, could not find any info about the receiving end of app transfer on either Google play help, Stack Overflow or elsewhere.
Upon trying to find a contact point for this issue, I found myself lost, Google developer help offers only very specific topics and is more like an automated service than anything, even found this open letter:
http://www.androidpolice.com/2013/02/05/open-letter-please-help-yourself-to-helping-yourself-why-google-needs-to-rethink-the-concept-of-developer-support/
Have anyone experienced anything similar?
Thanks in advance
Turns out it was a problem on Google's side as Niek Haarman suggested.
If anyone faces something similar, this is what I did to contact Google:
I went to https://support.google.com/googleplay/android-developer/ and clicked Contact Us.
As app transfer does not offer email option, I went for
Publishing apps on Google Play > Published app isn't showing on Google Play
And described the issue.
Google contacted me the same day completing the transfer

Google Play Game Services - unable to sign in

Recently I try to implement a leaderboard by Google Play Game Service.
And first I import that sample project TypeANumber. I follow the way here https://developers.google.com/games/services/android/quickstart step by step.
I used the keytool to generated the SHA1 of keystore, and use this SHA1 to verify the app.
Then I sign the app by the keystore.
When I run the sample and try to sign in. I got the error "Google Play Game Services - unable to sign in".
Then I double check all my steps and try again. Still got this error.
I searched this problem on google, and I find this man got the same problem with me
Google Play Game Services - unable to sign in
All the situation is the same. And he got the solution.
I follow his solution delete my app client ID on Google APIs Console, unlinked my app and relinked it with the proper Certificate Fingerprint.
All this work done, I still got the same error.
Did I miss something? Any body got the same problem like this ?
Or maybe I should create an app with the same package name of the sample project and upload the apk ?
Or maybe Google Play Game Service doesn't work at China ?
I have encountered similar issues and I note that this page was updated on 30th May 2013 which
may help you, or me, or maybe even both of us !
https://developers.google.com/games/services/android/troubleshooting
Update: I worked my way through this and eventually realised that I had two different app_id strings in my project - one for the Facebook API and one for Google play Game Services! The two strings were stored in different files so my error was hard to find. Once I renamed one everything worked fine. One problem that I have encountered is that I am unable to test with the id that I used to define the Game in the developer console. Other people have mentioned this elsewhere on SO but no harm mentioning it again.

How to upload a draft application using the new Android Developer Console?

Android requires you to upload an APK with billing permissions through developer console to start testing real in app billing. This was straingtforward in the old developer console but in the new one, as soon as you upload an APK, it activates automatically and there is no way to de-activate.
I've seen a related question where they suggest using the old developer console but developer console does not let me use the old console because our app listing has localized content.
Update To be more clear, it lets me switch back to the old console but there is a message near my app saying
This app has localized images and/or videos, please edit in the new Developer Console.
instead of an edit button.
I've seen other people having the same issue without a solution.
Any workaround to be able to upload draft apk through the new developer console ?
In short, you can't. It seems the 'one click publish' is being advertised as a feature. They might eventually add some sort of draft support, but who knows.
Right now, it's available the option to deactivate a current published APK. At least, I was able to do it with the new Google Developer Console, one week ago.
The old developer console is accessible by either going to the top right or navigating to play.google.com/apps/publish?switch_back=1
I contacted Google. Looks like at this state there is nothing to do. Even if I delete localized store content, it wont let me use old console.
They said draft apk support is coming very soon.

Categories

Resources