Android Question My app send this error

cmarquez

New Member
Licensed User
Longtime User
Hi, could somebody tell how to solve the next issue?
Logger connected to: alps LG-X210
--------- beginning of main
--------- beginning of system
Copying updated assets files (223)
java.lang.RuntimeException: Unable to create service B4A.ANTKenpo.starter: java.lang.RuntimeException: java.io.FileNotFoundException: /storage/emulated/0/Android/data/B4A.ANTKenpo/files/virtual_assets/amarillaa.bal: open failed: ENOENT (No such file or directory)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3012)
at android.app.ActivityThread.access$1800(ActivityThread.java:178)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1557)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5651)
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:960)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /storage/emulated/0/Android/data/B4A.ANTKenpo/files/virtual_assets/amarillaa.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 B4A.ANTKenpo.starter.onCreate(starter.java:33)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3002)
... 9 more
Caused by: java.io.FileNotFoundException: /storage/emulated/0/Android/data/B4A.ANTKenpo/files/virtual_assets/amarillaa.bal: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:496)
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)
... 13 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:482)
... 16 more

i connect the device with b4a bridge, by the the app was working earlier this day.

thanks.
 

klaus

Expert
Licensed User
Longtime User
java.lang.RuntimeException: Unable to create service B4A.ANTKenpo.starter: java.lang.RuntimeException: java.io.FileNotFoundException
/storage/emulated/0/Android/data/B4A.ANTKenpo/files/virtual_assets/amarillaa.bal: open failed: ENOENT (No such file or directory):
That's what the error message says.
Are you sure of the spelling?
Did you set a breakpoint at the beginning of Activity_Create, in Debug mode, and go step by step through the program to see what happens.
 
Upvote 0
Top