Unable to download apk file in Release Mode

Moderator: Support

nareshbhansali6
Posts: 2
Joined: Sun Sep 20, 2020 6:16 am

Unable to download apk file in Release Mode

Post 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.

Galyna Abramovych
Site Admin
Posts: 68
Joined: Tue Mar 22, 2016 6:03 pm

Re: Unable to download apk file in Release Mode

Post 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.

Joseph8919
Posts: 1
Joined: Sun Sep 27, 2020 7:16 am

Re: Unable to download apk file in Release Mode

Post 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.

Galyna Abramovych
Site Admin
Posts: 68
Joined: Tue Mar 22, 2016 6:03 pm

Re: Unable to download apk file in Release Mode

Post by Galyna Abramovych »

Hello,

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

Post Reply