Android Question Obfuscate error src\sample\testing\functions.java:672: error: code too large

hibrid0

Active Member
Licensed User
Longtime User
Hi I want to obfuscate my project, but when I try to compile show this error.

\functions.java:672: error: code too large

The module has only 1104 lines of code.
But have 1 string var too long, 319 lines and 23.686 length.
 

hibrid0

Active Member
Licensed User
Longtime User
This is the problem. The best solution is to move it to a text file and load it from there.

Another option is to move it out of Process_Globals. It will not be obfuscated.
Hi Erel and thanks for youe answer, I working with external file, just trying to include on the code to avoid just unzip and get it.

And other utility, right now is on testing, but when users get a new version, the instalation not replace the Txt assets.
And if the user uninstall and reinstall. The db is lost. I will put the db on other location but I dont want to be get too easy to the user.
 
Last edited:
Upvote 0
Top