androidgoogle-oauthibm-cloudibm-mobile-services

Bummer: something went wrong trying to "Ping Bluemix" from helloAuthentication Android sample app


With help on this forum, I was finally able to run "bms-samples-hellotodo-advanced", which used MCA with Facebook authentication.

I'm still having no joy with "bms-samples-helloauthentication", which uses MCA with Google authentication.

I'm building and debugging with Android Studio, using Genymotion emulators. I'm following these instructions:

Everything builds with no warnings or errors. I'm able to start the app successfully.

But when I click "Ping Bluemix", the app displays: Bummer: something went wrong

How can I troubleshoot and resolve this problem?

Is there any way I can troubleshoot MCA/Google authentication independent of running the Android app?


Solution

  • Many thanks to James Young above:

    1. No, my Genymotion emulators did not have Google Play Services installed. That was the problem.

    2. To install Google Play Services:

      a) Click on the browser

      b) Search for Google Play Services apk

      c) Install from Google Play (ideal) or

      d) Select a version on apkmirror.com and install manually

    3. Once Google Play Services were installed, "everything worked". When I clicked "Ping Bluemix", I got a dialog for a Google logon, and was successfully able to authenticate through Bluemix.

    Thank you again, James!