“An internal error occurred” with integration of G

2019-01-03 09:43发布

I am trying to integrate a Google plus Login in my application as per the instruction provided by following link : https://developers.google.com/+/quickstart/android#install-sdk

I am following all the instructions perfectly. And when I run the sample application on a real device provided in the android-sdk and click the signin button, it display a Toast message that An internal error occurred

What am I doing wrong?

20条回答
老娘就宠你
2楼-- · 2019-01-03 10:37

My solution to the problem was following.

I did everything others recommended and there was no typo regarding the package name and SHA1 key. I also tried removing the key and then adding it again but it didn't help.

What did help is removing the key and creating a new project (at https://code.google.com/apis/console) and then creating the Client ID (with package+sha1) again there. After that (5 secs) everything worked on my Android device.

查看更多
萌系小妹纸
3楼-- · 2019-01-03 10:37

Its working for me when i connect the device and install the apk from Android Studio. But its now working for me when i generate the .apk and install it from dropbox.

查看更多
登录 后发表回答