Cordova-plugin-googlemaps problems packging the app

Hi Guys!!!

I have some problems packaging the app. I 'm using Ionic Pro tools to generate the Android’s package – profile Debug –

My code

The plugin version is

 "cordova-plugin-googlemaps": "^2.2.9",

And the custom plugin is.

      "cordova-plugin-googlemaps": {
        "API_KEY_FOR_ANDROID": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "API_KEY_FOR_IOS": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "PLAY_SERVICES_VERSION": "12.0.0",
        "ANDROID_SUPPORT_V4_VERSION": "24.1.0"

Console log of packaging

/usr/src/app/platforms/android/app/src/main/java/plugin/google/maps/ error: cannot access zzbgl
  class file for not found
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Anyone ,have an idea?

Thanksssss :slight_smile:

This also happened to me. Same error. Still can’t fix it

google-services-3.2.1.jar is too old.

1 Like

It is happening to me…any solution??

I encountered the same issue. Did you manage to find a solution for this?

Ok I managed the solve the issue at my side by just deleting the whole project and making a new check-out. Probably not very helpfull for others, but it’s worth it to note I guess.