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.
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
avdmanager$ResumableSub_AVDList.resume (java line: 292)
java.lang.NullPointerException
at anywheresoftware.b4a.objects.collections.List.sortList(List.java:181)
at anywheresoftware.b4a.objects.collections.List.SortType(List.java:169)
at b4j.example.avdmanager$ResumableSub_AVDList.resume(avdmanager.java:292)
at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:135)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:84)
at anywheresoftware.b4a.BA$3.run(BA.java:246)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
at java.lang.Thread.run(Thread.java:748)
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).