Bug? java.io.FileNotFoundException: main.bal

ddeckert

Member
Licensed User
Longtime User
I am having an issue after upgrading from 5.x to the latest 8.8
The apps are not running in the emulator, or on a device. Getting the error below.
This same error from post: https://www.b4x.com/android/forum/threads/b4a8-8-error.101009/#post-636040

I have tried the Sync files. Even tried a brand new project but same results.

Like Tirs mentioned above; Inside the "<android sdk>\build-tools" folder, I have just one folder named "27.0.1" --I don't have the "28.0.3" you show in your screen capture.
Logger connected to: 169.254.109.177:5555
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
** Activity (main) Create, isFirst = true **
main_activity_create (java line: 377)
java.io.FileNotFoundException: main.bal
at android.content.res.AssetManager.openAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:316)
at android.content.res.AssetManager.open(AssetManager.java:290)
at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:207)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:82)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at amish8ball.free.app.main._activity_create(main.java:377)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at amish8ball.free.app.main.afterFirstLayout(main.java:104)
at amish8ball.free.app.main.access$000(main.java:17)
at amish8ball.free.app.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
java.io.FileNotFoundException: main.bal
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…