I am using B4A 7.8.
main.bal is present and works fine in release mode.
But when I try to run in Debug mode I get this error:
But if I turn on Legacy debug, it will run without any errors
main.bal is present and works fine in release mode.
But when I try to run in Debug mode I get this error:
B4X:
Copying updated assets files (4)
java.lang.RuntimeException: Unable to create service com.omnisoft.zippfleet.starter: java.lang.RuntimeException: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.omnisoft.zippfleet/files/virtual_assets/main.bal: open failed: ENOENT (No such file or directory)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3167)
at android.app.ActivityThread.access$1900(ActivityThread.java:177)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1532)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5951)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.omnisoft.zippfleet/files/virtual_assets/main.bal: open failed: ENOENT (No such file or directory)
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:168)
at anywheresoftware.b4a.shell.Shell.start(Shell.java:101)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:89)
at com.omnisoft.zippfleet.starter.onCreate(starter.java:33)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3157)
... 10 more
Caused by: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.omnisoft.zippfleet/files/virtual_assets/main.bal: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:456)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:673)
at libcore.io.IoBridge.open(<Xposed>)
at java.io.FileOutputStream.<init>(FileOutputStream.java:87)
at anywheresoftware.b4a.objects.streams.File.OpenOutput(File.java:370)
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:155)
... 14 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
at libcore.io.IoBridge.open(IoBridge.java:442)
... 20 more
But if I turn on Legacy debug, it will run without any errors