kepler Active Member Licensed User Longtime User May 6, 2015 #1 Hi, I've tryed to compile my project in the release-obsfucated mode. I'm getting: Parsing code. 0.08 Compiling code. 0.20 ObfuscatorMap.txt file created in Objects folder. Compiling layouts code. 0.00 Generating R file. 0.08 Compiling generated Java code. Error javac 1.7.0_60 src\gate13th\earthquakelive\world.java:21: error: code too large public static String _process_globals() throws Exception{ ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error Click to expand... Can someone point me out to the possible error? Also, I'm thinking of selling - by a small fee - the app. Does the licence Library protects my app? Does Play Store charges any fee? I'm a little bit lost... Kind regards....and sorry for the trouble... Kepler
Hi, I've tryed to compile my project in the release-obsfucated mode. I'm getting: Parsing code. 0.08 Compiling code. 0.20 ObfuscatorMap.txt file created in Objects folder. Compiling layouts code. 0.00 Generating R file. 0.08 Compiling generated Java code. Error javac 1.7.0_60 src\gate13th\earthquakelive\world.java:21: error: code too large public static String _process_globals() throws Exception{ ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error Click to expand... Can someone point me out to the possible error? Also, I'm thinking of selling - by a small fee - the app. Does the licence Library protects my app? Does Play Store charges any fee? I'm a little bit lost... Kind regards....and sorry for the trouble... Kepler
eurojam Well-Known Member Licensed User Longtime User May 6, 2015 #2 kepler said: Does Play Store charges any fee? Click to expand... yes they will take 30%, which they add on your price. If you sell your app for 1 Euro, it will cost 1,33 Euro in the store. If your app is for free, there will no additional fees. Upvote 0
kepler said: Does Play Store charges any fee? Click to expand... yes they will take 30%, which they add on your price. If you sell your app for 1 Euro, it will cost 1,33 Euro in the store. If your app is for free, there will no additional fees.
kepler Active Member Licensed User Longtime User May 6, 2015 #3 Thanks eurojam Meanwhile, I've solved the problem of the size of the module "world". But my Action Bar Menu doesn't work with the obfuscated code Kepler Upvote 0
Thanks eurojam Meanwhile, I've solved the problem of the size of the module "world". But my Action Bar Menu doesn't work with the obfuscated code Kepler
Erel B4X founder Staff member Licensed User Longtime User May 7, 2015 #4 Without more information all that I can say is that you should go over the "pitfalls" section in the tutorial: https://www.b4x.com/android/forum/threads/android-code-obfuscation.13773/#content Upvote 0
Without more information all that I can say is that you should go over the "pitfalls" section in the tutorial: https://www.b4x.com/android/forum/threads/android-code-obfuscation.13773/#content
kepler Active Member Licensed User Longtime User May 7, 2015 #5 Hi, Here's the problem... I've remembered the rules for obfuscating. I was calling one of the menus like this: Code: Copy AB.AddButton(LoadBitmap(File.DirAssets, "home.png"), "", 4, 1, "Home", "") The action parameter "Home" is turned into a string - so it's not assumed as the defined action. If we, however, put "Home_m" (notice the "_", no blank spaces) as the action, the string is not modified, and everything goes right Kind regards, Kepler Upvote 0
Hi, Here's the problem... I've remembered the rules for obfuscating. I was calling one of the menus like this: Code: Copy AB.AddButton(LoadBitmap(File.DirAssets, "home.png"), "", 4, 1, "Home", "") The action parameter "Home" is turned into a string - so it's not assumed as the defined action. If we, however, put "Home_m" (notice the "_", no blank spaces) as the action, the string is not modified, and everything goes right Kind regards, Kepler