Apk package issue with android 4.0 and 4.1

smartdispatch

Member
Licensed User
Longtime User
I got the package up and running for our app on 4.0 and 4.1 after I last spoke with Erel. The issue is after the app starts it force closes after a minute. The app we developed works great on the other lower level API but we run into issues with the 4.X versions of the android is.

Is there something I'm overlooking that is causing this issue versus running on 3.X?

Any help on resolving this would be greatly appreciated.

** Activity (main) Create, isFirst = true **

Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.


java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:19)
at anywheresoftware.b4a.objects.PanelWrapper.build(PanelWrapper.java:130)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:19)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(LayoutBuilder.java:233)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(LayoutBuilder.java:273)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:123)
at anywheresoftware.b4a.objects.PanelWrapper.LoadLayout(PanelWrapper.java:106)
 

smartdispatch

Member
Licensed User
Longtime User
** Activity (main) Create, isFirst = true **

Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.
Warning: Panel.LoadLayout called with zero sized panel.


java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:19)
at anywheresoftware.b4a.objects.PanelWrapper.build(PanelWrapper.java:130)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:19)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(LayoutBuilder.java:233)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(LayoutBuilder.java:273)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:123)
at anywheresoftware.b4a.objects.PanelWrapper.LoadLayout(PanelWrapper.java:106)
at com.smartdispatch.sdtaxitab.main._activity_create(main.java:852)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)


at anywheresoftware.b4a.BA.raiseEvent2(BA.java:167)
at com.smartdispatch.sdtaxitab.main.afterFirstLayout(main.java:89)
at com.smartdispatch.sdtaxitab.main.access$100(main.java:16)
at com.smartdispatch.sdtaxitab.main$WaitForLayout.run(main.java:74)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.OutOfMemoryError
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:500)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:599)
at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.Initialize2(CanvasWrapper.java:498)
at anywheresoftware.b4a.objects.drawable.BitmapDrawable.build(BitmapDrawable.java:74)
... 27 more
Warning: Panel.LoadLayout called with zero sized panel.
 
Top