Ionic Package supports Marshmallow version of Android?

image

I’m trying to build a version of android app with Ionic Package setting this:

"cordovaPlatforms": [
	"android@5.1"
]

in my package.json.

I saw in Cordova blog that cordova 6.0.0 supports Marshmallow and actually I got SUCCESS when building for android (ionic package build android) but when I try to install on my devices (MOTOG1 and MOTOX Play) with the command ‘adb install -r app.apk’ i got this error:

Failure [INSTALL_FAILED_INVALID_APK]

But I can’t figure it out how debug this.

Any help would be great.
Thanks!

anyone?

Anyone? i have customers on Marshmallow and running out of excuses…