Android Question App starts in Release mode but not in Debug Mode

Gunther

Active Member
Licensed User
Longtime User
Here is the error log in debug mode:

any ideas?

B4X:
World.TimeStep: 0 ms
Ticks: 0 ms
Drawing tasks: 1
Start sleep, duration: 9.0
BC_BitmapReady: 2 ms
After DrawingComplete: 1 ms, FPS: 28
** Activity (main) Pause, UserClosed = true **
Sleep not resumed (context is paused): b4a.example.x2utils$ResumableSub_MainLoop
Copying updated assets files (6)
java.lang.RuntimeException: Unable to create service b4a.example.starter: java.lang.RuntimeException: java.io.FileNotFoundException: /storage/sdcard0/Android/data/b4a.example/files/virtual_assets/1.bal: open failed: ENOENT (No such file or directory)
    at android.app.ActivityThread.handleCreateService(ActivityThread.java:2424)
    at android.app.ActivityThread.access$1700(ActivityThread.java:140)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:4921)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /storage/sdcard0/Android/data/b4a.example/files/virtual_assets/1.bal: open failed: ENOENT (No such file or directory)
    at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:169)
    at anywheresoftware.b4a.shell.Shell.start(Shell.java:102)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:92)
    at b4a.example.starter.onCreate(starter.java:34)
    at android.app.ActivityThread.handleCreateService(ActivityThread.java:2414)
    ... 10 more
Caused by: java.io.FileNotFoundException: /storage/sdcard0/Android/data/b4a.example/files/virtual_assets/1.bal: open failed: ENOENT (No such file or directory)
    at libcore.io.IoBridge.open(IoBridge.java:416)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
    at anywheresoftware.b4a.objects.streams.File.OpenOutput(File.java:448)
    at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:156)
    ... 14 more
Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
    at libcore.io.Posix.open(Native Method)
    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
    at libcore.io.IoBridge.open(IoBridge.java:400)
    ... 17 more
 

DonManfred

Expert
Licensed User
Longtime User
Where is the project upload?
We cannot guess what you are doing in the code
 
Upvote 0
Top