Page 1 of 1

Unable to download apk file in Release Mode

Posted: Sun Sep 20, 2020 6:59 am
by nareshbhansali6

App Name : Pure Zone
Account : Order365in@gmail.com

Version : IONIC 1

Debug mode to==-> app download but error on play store
Release mode -> No app download -> Error

Error: Cannot uglify2 file:
app/www/bu
ild/www/app/app.js. Skipping it. Error is:
Unexpected token: name (keyName) (line: 76049, col: 24, pos: 3978014)

Error on Play Store.
You uploaded a debuggable APK or Android App Bundle. For security reasons you need to disable debugging before it can be published in Google Play. Learn more about debuggable APKs or Android App Bundles.

You uploaded an APK or Android App Bundle that was signed in debug mode. You need to sign your APK or Android App Bundle in release mode. Learn more about signing.


Re: Unable to download apk file in Release Mode

Posted: Sun Sep 20, 2020 7:21 am
by Galyna Abramovych

You might be using some modern JS (ES6) used in Ionic 4 but trying to compile Ionic 1 which results in such a build. For example, using let or const instead of var.

You need to check it.


Re: Unable to download apk file in Release Mode

Posted: Sun Sep 27, 2020 7:19 am
by Joseph8919

Insufficient storage space: Your storage space may have filled up with no more space to accommodate new apps. Corrupted app or apk file: This is most common with apps downloaded from outside Google Play Store and Kwikfunnels Review. The app is either corrupted or incompletely downloaded or copied as the case maybe.


Re: Unable to download apk file in Release Mode

Posted: Sun Sep 27, 2020 2:19 pm
by Galyna Abramovych

Hello,

Could you please provide more information about your case?
Were you able to compile the app successfully?