Jackson
Posts: 9
Joined: Wed Nov 01, 2017 10:44 pm

apk & ipa Export Error

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.

Oleg Solodiuk
Posts: 36
Joined: Fri Jan 10, 2020 6:49 am

Re: apk & ipa Export Error

Hello Jackson,

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

Jackson
Posts: 9
Joined: Wed Nov 01, 2017 10:44 pm

Re: apk & ipa Export Error

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?

Attachments
Screen Shot 2020-09-14 at 3.53.09 PM.png
Screen Shot 2020-09-14 at 3.53.09 PM.png (133.16 KiB) Viewed 2528 times
Jackson
Posts: 9
Joined: Wed Nov 01, 2017 10:44 pm

Re: apk & ipa Export Error

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Re: apk & ipa Export Error

Hello,

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

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

Re: apk & ipa Export Error

Hi Jackson,

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

Return to “Issues”