Android Question [SOLVED] FileNotFoundException in Debug mode

sirjo66

Well-Known Member
Licensed User
Longtime User
Hello,
I need to update an old app developed with an old version of B4A:

So:
1) open the old project with new B4A 8.50
2) update manifest file with targetSdkVersion="26"
3) compile it in Release mode and send the app to a phone with Android 4.1.2 and it start without problem, and it works fine
4) well, now I want to debug my program, so I change in Debug mode and press F5, but when the app start on phone there is this error message:
java.lang.RuntimeException: java.io.FileNotFoundException: /storage/sdcard0/Android/data/sjs.library/files/virtual_assets/caricamag.bal: open failed: ENOENT (No such file or directory)

..... why this error ??

On the phone Android/data/sjs.library don't exist, do I need to create it ??

Sergio
 

sirjo66

Well-Known Member
Licensed User
Longtime User
... but Rapid Debugger is better than Legacy Debugger, why it don't work ?
If I try it with an Android 7.0 it works, but with a phone with Android 4x don't work.

I use debugger on usb

I read the thread about Rapid Debugger but I don' find anything about android minimum version required
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…