Android Question Android 6.0.1 Problem Copying updated assets files - virtualAssets

Croïd

Active Member
Licensed User
Longtime User
There are still 10 days it worked fine, but with the updated version 6.0.1 + last corrective

I encounter a problem with assets files - virtualAssets

Have you experienced this problem ?

B4X:
Installing file.
PackageAdded: package:b4a.exemple
Copying updated assets files (17)
java.lang.RuntimeException: java.io.FileNotFoundException: /storage/emulated/0/Android/data/b4a.exemple/files/virtual_assets/checked.mp3: open failed: ENOENT (No such file or directory)
    at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:167)
    at anywheresoftware.b4a.shell.Shell.start(Shell.java:99)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:88)
    at b4a.exemple.main.afterFirstLayout(main.java:94)
    at b4a.exemple.main.access$000(main.java:17)
    at b4a.exemple.main$WaitForLayout.run(main.java:80)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5417)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.io.FileNotFoundException: /storage/emulated/0/Android/data/b4a.exemple/files/virtual_assets/checked.mp3: open failed: ENOENT (No such file or directory)
    at libcore.io.IoBridge.open(IoBridge.java:452)
    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:154)
    ... 12 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:438)
    ... 15 more
 

Croïd

Active Member
Licensed User
Longtime User
sorry, I think of a code problem, I just create a test that works

!! My old files do not appear in the data stockage in 6.0.1

Under version 6 it's ok or if downgrade manifest 22
 
Last edited:
Upvote 0
Top