Hey Guy's, I have a question.
In droidscript when i use Build APK i have a problem.
when i use Build APK without the options Debug Build , Obfuscate Code , Include System Assets my APK works totally fine.
But when i try to build the same APK of the same Script with the Option Obfuscate Code checked on, Droidscript builds the APK without errors, installs the app oké but returns a error when i open the Application.
[ArakisBattleCommander.js]==>[Build APK]==>[No Options Checked]
==>[Arakis Battle Commander.APK]==>[Install]==>[Start Application]
==>[Works Fine, Runs Normal]
[ArakisBattleCommander.js]==>[Build APK]==>[Obfuscate Code Checked]==>[No Errors]
==>[Arakis Battle Commander.APK]==>[Install]==>[No Errors]==>[Start Application]
==>[Returns Error]==>[Error Message: "Script Error: Unexpected token ILLEGAL"]==>[Application Exits]
Also - I can't find that illegal Token everywhere.
When i run the script inside droidscript the script runs normal and does not encounter any errors.
i implanted Try, Catch , Throw between all functions but droidscript does not encounter any errors.
When i build the APK of the script with any options checked accept the Obfuscate Code option the
application start and runs normal without any script errors even after a while.
my question:
Is this a bug in droidscript or the build apk plugin?
can the problem be a to large script?
can the problem be anything else?
can my script contain a illegal token that will be ignored by droidscript
and in any options but not in obfuscate code option?
Does anyone else encounter the same problem?
I will post my script here so you can look if you can find the problem.
Thank You
[Drive Public
https://drive.google.com/open?id=0B4Z05DB7U9LablBraHREdlRtcXc ][.JS][.APK][.TXT]