API_UNAVAILABLE Google API Client
Solution 1:
As per Google docs for API_UNAVAILABLE:
One of the API components you attempted to connect to is not available. The API will not work on this device, and updating Google Play services will not likely solve the problem. Using the API on the device should be avoided.
Also check if you have put the correct settings and keys in the manifest. Try on different device if possible. If you post the code how you are creating the client, device type/os etc, it might have narrow down the problem.
Solution 2:
Same happened here.I thought it was activated, but, as i did, you probably haven't activated Google+ Api on the Google Api Console.
- Login here: https://console.developers.google.com/project?authuser=0
- Choose your project
- Find "APIs and Auth" on the left
- Click on API
- On this list, you'll see many APIs available.
Click on the APIs you want and you'll find a button "activate" on the top.
Wait a few minutes, close your app and try again. It will probably work.
Post a Comment for "API_UNAVAILABLE Google API Client"