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/GooglePlus.java:346: 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/CardIOCordovaPlugin.java 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.