Skip to content
This repository has been archived by the owner on Oct 5, 2019. It is now read-only.

PlacePicker.IntentBuilder returns with resultCode 2 #13

Closed
nghamilton opened this issue May 13, 2015 · 3 comments
Closed

PlacePicker.IntentBuilder returns with resultCode 2 #13

nghamilton opened this issue May 13, 2015 · 3 comments

Comments

@nghamilton
Copy link

Starting the place picker ('Pick a Place') very briefly shows the place picker and then closes it before a place can be selected.

The returned resultCode is 2.

Running on Nexus 5, android 5.1.

Any ideas?

@nghamilton
Copy link
Author

I was able to resolve this by removing all allowed android applications associated with the Places API key AND filling out the Consent screen in APIs & Auth of the console. Not sure which one fixed it, I'd guess the first.

(I used the SHA1 from ~/.android/debug.keystore and the example package name).

@jfschmakeit
Copy link
Contributor

Sounds like you had a certificate/API key issue. Glad to hear you were able to resolve it.

@UsufJamil
Copy link

I did everything that was guided, still, the issue isn't solved. Anyone who can help me out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants