Google plus plugin error

Developing an Ionic v3 app with the plugins cordova-plugin-googleplus, cordova-plugin-fcm, and others on a mac. Tested and works fine on iOS (though FCM doesn’t seem to generate tokens, so the iPhone doesn’t receive notifications. Any suggestions would be appreciated), and has worked fine on Android when suddenly, I get the error when doing a build

Command failed with exit code 1 Error output:
/path-to-the-project/platforms/android/src/nl/xservices/plugins/ error: cannot find symbol
                            cordova.getActivity(), acct.getAccount(), true
  symbol:   method getAccount()
  location: variable acct of type GoogleSignInAccount
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /path-to-the-project/platforms/android/src/io/card/cordova/sdk/ uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

I removed and added the googleplus plugin, same thing. I also removed & added the Android platform, no luck!
Please help! Thanks.

Somewhat fixed. For anyone else interested, I had to downgrade from v5.2.1 of the Google Plus plugin version to 5.0.0.

1 Like