Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229599

--release produces corrupted apk

$
0
0

I am having the same problem.

with flag --release, apk file gets corrupted.

with out --release for example below commend works fine.

ionic cordova build android --prod
ionic cordova build android

but below creates corrupted apk file.

ionic cordova build android --prod --release

I am in process of testing this corrupted apk works fine after posting to Google play store.
I have posted the app, and waiting for update.

This is my ionic info

global packages:

    @ionic/cli-utils : 1.4.0
    Cordova CLI      : 7.0.1
    Ionic CLI        : 3.4.0

local packages:

    @ionic/app-scripts              : 1.3.7
    @ionic/cli-plugin-cordova       : 1.4.0
    @ionic/cli-plugin-ionic-angular : 1.3.1
    Cordova Platforms               : android 6.2.3
    Ionic Framework                 : ionic-angular 3.4.2

System:

    Node       : v6.11.0
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.3 Build version 8E3004b
    ios-deploy : not installed
    ios-sim    : not installed
    npm        : 3.10.10

App Script

"@ionic/app-scripts": "1.3.7",

Viewing all articles
Browse latest Browse all 229599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>