Android Question Google maps - Authorization failure

leitor79

Active Member
Licensed User
Longtime User
Hi,

I've just started with this: https://www.b4x.com/android/forum/threads/google-maps.63930/

I get a blank map and some unfiltered logs.

First of all, the manifest step, I don't know if I did it right:
- Add Google Play Services Base snippet from this link to the manifest editor.
No need to add anything related to Firebase.
So, that means to add only?
B4X:
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)

Second, I don't have "Google Maps API v2" in the available APIs in the developer's console. So, I've enabled this ones:



Third; regarding google-play-services.jar, I have and "old?" one (the "copia" one, the 1.4mb) in the libraries folder, and replaced it with the 5.6mb one.



That being done, now the unfiltered logs say:


The API key matches with the one here:




Thank you!
 

leitor79

Active Member
Licensed User
Longtime User
Hi.

I've solved this issue.
I had the wrong project selected in the google developer's console when created the credentials.

Regards,
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…