Android Question File not found error after upgrading to 9.30 DEBUG ok RELEASE mode fails


Licensed User
Following upgrading to 9.30 I have a problem where I cannot run any B4a programs in release mode, Debug mode runs fine.

I have made a simple project with a single layout (1.bal) which appears in the files tab and can be opened with the designer, It has a single button.
this also fails, when I release via B4A bridge the app fails to show the layout and the log reports:-

** Activity (main) Create, isFirst = true **
main_activity_create (java line: 342) 1.bal
at android.content.res.AssetManager.openAsset(Native Method)
at anywheresoftware.b4a.objects.streams.File.OpenInput(
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(
at b4a.example.main._activity_create(
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(
at b4a.example.main.afterFirstLayout(
at b4a.example.main.access$000(
at b4a.example.main$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)

B4A Version: 9.30
Java Version: 8
Parsing code. (0.00s)
Building folders structure. (0.05s)
Compiling code. (0.01s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
(Android Support Library)
Generating R file. (0.00s)
Compiling generated Java code. (0.00s)
Convert byte code - optimized dex. (0.23s)
Packaging files. (0.15s)
Copying libraries resources (0.00s)
Signing package file (debug key). (0.40s)
ZipAlign file. (0.02s)
Installing file to device. (0.03s)
Installing with B4A-Bridge.
Completed successfully.

I have upgraded jdk to jdk.8.0_212

and Android SDK 28, still not working..!


Licensed User
Upvote 0