JakeBullet70 Well-Known Member Licensed User Longtime User Jan 22, 2014 #1 I have this code. Code: Copy CallSubDelayed3(m_oCallBackMod,m_sAddNewShoppingMod,0,ID) It works great unless compiled with Obfuscation is turned on. I get a: '===================================================== an error has occurred in sub: java.language.exception: Sub addItem2ShoppingList was not found '===================================================== I am on Version 3.2
I have this code. Code: Copy CallSubDelayed3(m_oCallBackMod,m_sAddNewShoppingMod,0,ID) It works great unless compiled with Obfuscation is turned on. I get a: '===================================================== an error has occurred in sub: java.language.exception: Sub addItem2ShoppingList was not found '===================================================== I am on Version 3.2
Erel B4X founder Staff member Licensed User Longtime User Jan 22, 2014 #2 This is not a bug. The compiler cannot know the name of the sub in this case. You will need to add an underscore to the target sub. See the "pitfalls" section here: http://www.b4x.com/android/forum/threads/android-code-obfuscation.13773/
This is not a bug. The compiler cannot know the name of the sub in this case. You will need to add an underscore to the target sub. See the "pitfalls" section here: http://www.b4x.com/android/forum/threads/android-code-obfuscation.13773/