Page 1 of 1

apk & ipa Export Error

Posted: Thu Sep 10, 2020 6:02 pm
by Jackson

I get the following error on both apk and ipa exports:

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)

I have tried used the following website on my css and js but still no luck:

https://refresh-sf.com/

I am running short on ideas on how to proceed.

The application is maptraq2.

Thanks for your help.


Re: apk & ipa Export Error

Posted: Fri Sep 11, 2020 9:29 am
by Oleg Solodiuk

Hello Jackson,

Please try to uncheck the release "checkmark"(Project -> App settings -> Android(iOS) binary -> Release) and export your project.


Re: apk & ipa Export Error

Posted: Mon Sep 14, 2020 9:55 pm
by Jackson

Thank you. I can export the version with "Release" unchecked - but when I go to upload the file to Google Play I get the following error:

Upload failed
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.

Your app currently targets API level 28 and must target at least API level 29 to ensure it is built on the latest APIs optimized for security and performance. Change your app's target API level to at least 29. Learn how.

Do you have any thoughts on how to proceed from here?


Re: apk & ipa Export Error

Posted: Wed Sep 16, 2020 4:10 am
by Jackson

Ok - so I updated the libraries but now every export attempt fails - even with release unchecked.


Re: apk & ipa Export Error

Posted: Wed Sep 16, 2020 12:14 pm
by Serhii Kulibaba

Hello,

Please select the option "release" on Project -> App Settings -> Android binary and build it again


Re: apk & ipa Export Error

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

Hi Jackson,

Even we are facing the same issue since last 3 weeks.
Did you get any success with this error?