After upgrading b4a to 9.80 I have bug with image.
App compiled normal, but for install the app I need remove older app with all settings. Some critical settings was been lost.
But new compiled app crashes with no message after starting in release mode.
In debug mode the app works normally, but I have message in the console:
If I've commented string with image loading, the app works normally in the release mode, but without image on the screen.
App compiled normal, but for install the app I need remove older app with all settings. Some critical settings was been lost.
But new compiled app crashes with no message after starting in release mode.
In debug mode the app works normally, but I have message in the console:
But file mnubtn.png is exist in the "Files" folder and in the Files tab. And in the debug mode I see the image on the phone screen.** Activity (main) Create, isFirst = true **
main_activity_create (java line: 687)
java.io.FileNotFoundException: mnubtn.png
at android.content.res.AssetManager.openAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:423)
at android.content.res.AssetManager.open(AssetManager.java:397)
at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:207)
at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.Initialize(CanvasWrapper.java:516)
at anywheresoftware.b4a.keywords.Common.LoadBitmap(Common.java:1343)
at ru.mevial.ozwizard.main._activity_create(main.java:687)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at ru.mevial.ozwizard.main.afterFirstLayout(main.java:104)
at ru.mevial.ozwizard.main.access$000(main.java:17)
at ru.mevial.ozwizard.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6682)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1534)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1424)
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
No wakelock.
** Activity (main) Resume **
WakeLock already held.
If I've commented string with image loading, the app works normally in the release mode, but without image on the screen.