B4a V9.01.2
c:\android\platforms\android-28\android.jar
updated all in SDKmanager
C:\Program Files\Java\jdk1.8.0_162\bin\javac.exe
I recently updated to 9.01.2 and a new Samsung A70( 2400x1080 pixels). Now I need to update all my apps for this new phone. In debug mode, the layout loads but only shows half the screen. However when I try to compile in release mode, I get an error. What have I missed?
java.io.FileNotFoundException: newphone.bal
at android.content.res.AssetManager.nativeOpenAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:796)
at android.content.res.AssetManager.open(AssetManager.java:773)
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 pgt.prescriptions.main._activity_create(main.java:495)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at pgt.prescriptions.main.afterFirstLayout(main.java:104)
at pgt.prescriptions.main.access$000(main.java:17)
at pgt.prescriptions.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7089)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
java.io.FileNotFoundException: newphone.bal
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
c:\android\platforms\android-28\android.jar
updated all in SDKmanager
C:\Program Files\Java\jdk1.8.0_162\bin\javac.exe
I recently updated to 9.01.2 and a new Samsung A70( 2400x1080 pixels). Now I need to update all my apps for this new phone. In debug mode, the layout loads but only shows half the screen. However when I try to compile in release mode, I get an error. What have I missed?
java.io.FileNotFoundException: newphone.bal
at android.content.res.AssetManager.nativeOpenAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:796)
at android.content.res.AssetManager.open(AssetManager.java:773)
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 pgt.prescriptions.main._activity_create(main.java:495)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at pgt.prescriptions.main.afterFirstLayout(main.java:104)
at pgt.prescriptions.main.access$000(main.java:17)
at pgt.prescriptions.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7089)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
java.io.FileNotFoundException: newphone.bal
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
Last edited: