Native Google Maps, cant use


I’m trying use Google Maps Native, but when I execute ionic build android, I have this error:

platforms/android/gradlew: Command failed with exit code 1 Error output:
/Users/carlospersonal/Documents/appGuia/guiaApp/platforms/android/src/plugin/google/maps/ error: cannot access AbstractSafeParcelable

Anybody Can use Google Maps Native in Ionic 2??

Could you help me?


Hi Carlos,

Use this

The build works to me.

But the map show gray screen and no error is printed.

If you discovered reply us.



The maps works.

You need to sign the apk.

My system information:

Your system information:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.5
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v6.7.0
Xcode version: Xcode 8.0 Build version 8A218a

Do this:

  1. create a folder .cordova on root path:
  2. put a file build.json in this folder
    sudo keytool -genkey -v -keystore mystore.keystore -alias XXXXX -keyalg RSA -keysize 2048 -validity 10000
    ** the command will ask a password(passphrase), that info is very important, you will need on file build.json
  4. put the keystore in folder .cordova
  5. you need do inform the keystore with the package (config.xml) of your app on (in your specific project)
  6. the content of build.json:
    “android”: {
    “debug”: {
    “keystore”: “./mystore.keystore”,
    “alias”: “<CREATED ON COMMAND ON ITEM 4>”,
    “password”: “<PWD DEFINED ON COMMAND ON ITEM 4>”,
    “storePassword”: “”
    “ios”: {
    “debug”: {
    “codeSignIdentity”: “iPhone Distribution: XXXXXXXXXXXX”,
    “provisioningProfile”: “”
  7. ionic build android --buildConfig .cordova/build.json