Yang
Yang

Reputation: 6892

Google+ Platform failed to run sample android app PlusSampleActivity

Followed the exact steps on https://developers.google.com/+/quickstart/android. Launched the sample PlusSampleActivity on my Nexus 7. When clicked "sign in", the error "an internal error has occurred" was shown. I traced back and found that the function

mLastConnectionResult.startResolutionForResult(getActivity(), mRequestCode);

throws the error. I also did not find any place in the sample project to enter my own key.

Upvotes: 0

Views: 620

Answers (1)

Yang
Yang

Reputation: 6892

Figured it out. To run the sample app, the package name CANNOT be your own project, but rather "com.google.android.gms.samples.plus".

Upvotes: 2

Related Questions