Google Maps Android API - Unable to create project to get key - android

I'm trying to get a project going for Android using the Google Maps Android API.
Following this guide:
https://developer.xamarin.com/guides/android/platform_features/maps_and_location/maps/obtaining_a_google_maps_api_key/
I seem to be getting stuck when I try to create a project in the google developer console. It keeps failing after a short time and I get notifications saying that it failed to create the project.
Searching for a solution to this I found that people needed to enable something by going to admin.google.com. Problem is when I go there it says "admin.google.com is for G Suite accounts only. Regular Gmail accounts cannot be used to sign in to admin.google.com".
Do I need to upgrade my regular gmail account to a G Suite account to be able to use the Google Maps API? I wouldn't think so seeing as I am unable to find any documentation on this.

I have no idea what was causing this. But I tried again later and it works. So I guess we'll just call it a temporary google issue.

Related

Can't add google api key for Chromium build

I am trying to build chromium according to the documentation
https://chromium.googlesource.com/chromium/src/+/master/docs/android_build_instructions.md
The problem now is that I cannot login to google services such as gmail, youtube even though I have added google api key.
If anyone has a similar problem please share experience
We faced with a similar issue in our product which integrates with Chromium. We noticed that every time we try to login to Google Account we get the following error:
During our research we figured out that Google blocks login if the --remote-debugging-port Chromium switch is used. So, maybe that's your case too? Please make sure that you don't use this switch.

I can't access Google Console API

I'm currently working on android project using google maps API. But i can't seem to access my google console API.
Everytime i used the link provided by the android studio.it always ended as a blank white page.
Does anyone know how to solve it?
Click here to go to console page. It will ask you to sign in first in case you are not signed in. After that you have to create a new project there and have to specify which API you are going to use.

Is there an alternative to using the REST API for my Android app?

I have been struggling for many weeks to get the sample code at REST Android Quickstart to work properly, but I get a 403 error which I can't seem to fix as I cannot find the Drive SDK within the Developer Console to activate it for my app.
Now I am wondering if there is an alternative to using the REST method to achieve my original goal of creating an app that can create and edit text files within a users personal Google Drive account - NOT the Drive space allocated to the app itself - which I believe is a limitation of the Google Drive API (unless I'm mistaken)? Many thanks in advance.

Internal error when signing in to Google+ in test app

At first, I had the same problem as this guy: Implementing google play services in android
btw, I followed this tutorial including creating an oath 2.0 client ID: https://developers.google.com/+/mobile/android/getting-started
I followed the solution there and it fixed the compilation error. However, now, when I try to actually have the user sign in it just says "Internal error."
Does anybody know if there is a good beginner tutorial for using google play or Google+ in apps?
For me, this problem was resolved by following this tutorial: http://www.androidhive.info/2014/02/android-login-with-google-plus-account-1/
then by visiting the Consent page under APIs & Auth in your developer control panel for the app. See screenshot here: http://picpaste.com/Consent_Screen.jpg

Updating Android App - Maps Problems

I need to update an Android app that was developed by someone else. Update by itself is simple, it's simple changes to XML layouts.
So I have a following plan:
update an app (done)
test it on emulator (- maps don't work) stuck here!
test it on devices
release updated version to the store.
Unfortunately I am having mulitple problems with the app.
At first, it doesn't compile because the Project Build Target API was set to Android 2.3.3.
Is there any reason why it wasn't set to Google APIs 2.3.3 ?
When I change it to Google APIs it compiles and runs but I my maps don't display correctly.
All I can see is gray rectangle and annotations on top of it. I am getting following error message associated with it.
05-11 20:45:42.554: W/System.err(598): java.io.IOException: Server returned: 3
05-11 20:45:42.559: W/System.err(598): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115)
As far as I understood from searching with Google and Stack Overflow that might be related to signing up the application. Currently app is using v1 of Google Maps.
Deleting debug.keystore and key set doesn't help.
I am not sure how to proceed with it. Any help will be appreciated.
In order to make maps display you need a signing key that is associated with the API key application was using. Android API v1 is now deprecated, so your options are limited:
contact previous developer and ask them for debug.keystore, which is stored in ~/.android/ or C:/Users/user.name/.android/ directory or
use release signing key for testing (this might be cumbersome)
Depending on what application is that it might also be a good or bad idea to switch to API v2. New API still has some ugly impl bugs, but you won't notice them if maps usage is simple. The API or v2 is pretty good.

Categories

Resources