Bug? [FIXED] GUI SDK Manager

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello,
Don't know if it is important or not. Version 2.21


Thanks
 

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello @Erel
I am sorry to come on back to this but since that error, I get a java.lang.NullPointerException while trying to recover the already created AVD
Uninstalling / Reinstalling the GUI SDK Manager doesn't solve, deleting the SDK folder either.
For information only ~ Windows 10 Pro 64 bits (if it can help). No error in B4J's logs though.
 

lemonisdead

Well-Known Member
Licensed User
Longtime User
Thanks. Here is the screenshot




and below the full logs
 

lemonisdead

Well-Known Member
Licensed User
Longtime User
It doesn't crash in Debug mode and nor in Release. And as usual I had compiled it in Release obfuscated. Thanks it is fixed by compiling in Release mode.

For the report, here is the error in the logs
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
This is expected.
The sub name that parses each item is passed to AVDList:
B4X:
AVDList("avd", AVDs, "ParseItem")
AVDList("device", Devices, "ParseDeviceItem") 
'later called with:
CallSub3(Me, ParserSub, index, lines)

You need to add underscore to both ParseItem and ParseDeviceItem subs in order to make it work in obfuscation release (which is not important here as the source code is available anyway).
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…