Hi,
I'm trying to package my latest Android app for distribution, I've never had problems till today. I'm using 1.8.2 and V8.
During packaging I get the following error:
[ERROR] Error(s) compiling generated Java code [ERROR] C:\Documents and Settings\[User]\My Documents\Titanium Studio Workspace\[app]\build\android\gen\com\[name]\test\AssetCryptImpl.java:19: constant string too long assets.put("app.js", "then 81,060 worth of alpha-numeric characters");Anyone have any idea on how to resolve this problem?
3 Answers
I have the same problem.
I've also hit this bug with another big js-File which worked in 1.8.1.
I suspect this is due to the new ability of SDK 1.8.2 to obfuscate the javascript code:
https://jira.appcelerator.org/browse/TIMOB-7553
I'll try to add a comment to that issue.
Please add your comments as well and watch that issue.
This also was posted in Q&A in http://developer.appcelerator.com/question/133073/jquery-doesnt-work-after-deploying-to-android-market
Here is a workaround brought to attention by Kevin Whinnery:
https://jira.appcelerator.org/browse/TIMOB-2478
Change the extension of the problematic file (here jquery.js) to something else like .jslocal
Your Answer
Think you can help? Login to answer this question!