APK build works on some devices and doesn't work on some devices

I tried previewing the app on different devices

With some devices like Moto M with Marshmallow works but on One Plus 3 with Marshmallow doesnt work

Here is the logcat where the app din’t work

Build completed in 132.56 seconds
Installing APK on 1 device(s)
Launching activity 'gettipsy'
Running logcat on 896783a
D/dalvikvm( 5469): Late-enabling CheckJNI
I/ActivityManager(  951): Start proc com.beyondhelloworld.gettipsy for activity com.beyondhelloworld.gettipsy/.gettipsy: pid=5469 uid=10105 gids={50105, 1028, 1015, 3003}
D/WtProcessController( 1346): set foreground process size 1 pid:5469pacakgeName:com.beyondhelloworld.gettipsy
I/octvm   ( 1346): task pid 5469 have been add to group sys_app_fg.
D/ActivityThread( 5469): handleBindApplication:com.beyondhelloworld.gettipsy
D/ActivityThread( 5469): setTargetHeapUtilization:0.75
D/ActivityThread( 5469): setTargetHeapMinFree:2097152
D/gettipsy( 5469): SDK: 19
D/dalvikvm( 5469): No JNI_OnLoad found in /system/lib/liblog.so 0x42aa7740, skipping init
D/dalvikvm( 5469): Trying to load lib /data/app-lib/com.beyondhelloworld.gettipsy-1/libstlport_shared.so 0x42aa7740
D/dalvikvm( 5469): Added shared lib /data/app-lib/com.beyondhelloworld.gettipsy-1/libstlport_shared.so 0x42aa7740
D/dalvikvm( 5469): No JNI_OnLoad found in /data/app-lib/com.beyondhelloworld.gettipsy-1/libstlport_shared.so 0x42aa7740, skipping init
D/dalvikvm( 5469): Trying to load lib /data/app-lib/com.beyondhelloworld.gettipsy-1/libV8Simple.so 0x42aa7740
D/dalvikvm( 5469): Added shared lib /data/app-lib/com.beyondhelloworld.gettipsy-1/libV8Simple.so 0x42aa7740
D/dalvikvm( 5469): No JNI_OnLoad found in /data/app-lib/com.beyondhelloworld.gettipsy-1/libV8Simple.so 0x42aa7740, skipping init
D/dalvikvm( 5469): Trying to load lib /data/app-lib/com.beyondhelloworld.gettipsy-1/libgettipsy.so 0x42aa7740
D/dalvikvm( 5469): Added shared lib /data/app-lib/com.beyondhelloworld.gettipsy-1/libgettipsy.so 0x42aa7740
W/dalvikvm( 5469): VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
I/dalvikvm( 5469): Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested
W/dalvikvm( 5469): VFY: unable to resolve interface method 19085: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
D/dalvikvm( 5469): VFY: replacing opcode 0x72 at 0x0002
I/dalvikvm( 5469): Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
W/dalvikvm( 5469): VFY: unable to resolve interface method 19089: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
D/dalvikvm( 5469): VFY: replacing opcode 0x72 at 0x0002
I/Adreno-EGL( 5469): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build:  ()
I/Adreno-EGL( 5469): OpenGL ES Shader Compiler Version: E031.24.02.07
I/Adreno-EGL( 5469): Build Date: 03/30/15 Mon
I/Adreno-EGL( 5469): Local Branch: 
I/Adreno-EGL( 5469): Remote Branch: 
I/Adreno-EGL( 5469): Local Patches: 
I/Adreno-EGL( 5469): Reconstruct Branch: 
W/dalvikvm( 5469): dvmFindClassByName rejecting 'com/uno/UnoObject'
W/dalvikvm( 5469): dvmFindClassByName rejecting 'com/uno/BoolArray'
W/dalvikvm( 5469): dvmFindClassByName rejecting 'com/uno/ByteArray'
W/dalvikvm( 5469): dvmFindClassByName rejecting 'com/uno/ShortArray'
W/dalvikvm( 5469): dvmFindClassByName rejecting 'com/uno/IntArray'
W/dalvikvm( 5469): dvmFindClassByName rejecting 'com/uno/LongArray'
W/dalvikvm( 5469): dvmFindClassByName rejecting 'com/uno/FloatArray'
W/dalvikvm( 5469): dvmFindClassByName rejecting 'com/uno/DoubleArray'
W/dalvikvm( 5469): dvmFindClassByName rejecting 'com/uno/StringArray'
W/dalvikvm( 5469): dvmFindClassByName rejecting 'com/uno/ObjectArray'
D/dalvikvm( 5469): GetMethodID: not returning static method Landroid/os/Process;.getTotalMemory ()J
D/dalvikvm( 5469): GetMethodID: not returning static method Landroid/os/Process;.getFreeMemory ()J
I/dalvikvm( 5469): Could not find method android.view.Window.getStatusBarColor, referenced from method com.foreign.Fuse.Android.StatusBarHelper.GetStatusBarColor351
W/dalvikvm( 5469): VFY: unable to resolve virtual method 19096: Landroid/view/Window;.getStatusBarColor ()I
D/dalvikvm( 5469): VFY: replacing opcode 0x6e at 0x000e
I/dalvikvm( 5469): Could not find method android.view.Window.setStatusBarColor, referenced from method com.foreign.Fuse.Android.StatusBarHelper.SetStatusBarColor354
W/dalvikvm( 5469): VFY: unable to resolve virtual method 19104: Landroid/view/Window;.setStatusBarColor (I)V
D/dalvikvm( 5469): VFY: replacing opcode 0x6e at 0x0013
D/OpenGLRenderer( 5469): Enabling debug mode 0
I/gettipsy( 5469): Outracks.Simulator.FailedToConnectToProxy: Failed to connect to proxy:
I/gettipsy( 5469):     192.168.1.4:12124: Network is unreachable
I/gettipsy( 5469):     127.0.0.1:12124: Connection refused
I/gettipsy( 5469):    at Outracks.Simulator.ProxyClient.OnNoResult(Uno.Collections.IEnumerable<Uno.Exception>)
I/gettipsy( 5469):    at Outracks.Simulator.WaitForFirstResult`1.Execute()
I/gettipsy( 5469):    at Outracks.Simulator.TaskThread`1.Run()
W/ViewRootImpl( 5469): Dropping event due to no window focus: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=158, metaState=0, flags=0x48, repeatCount=0, eventTime=551129, downTime=551129, deviceId=9, source=0x101 }
I/Timeline( 5469): Timeline: Activity_idle id: android.os.BinderProxy@42aa0e00 time:554755

Here is a list of devices it works and a list it doesnt work on

  • Moto M (Marshmallow) - Worked

  • Nexus 4 (Lollipop) - Worked

  • MI 4 (Kitkat) - Din’t Work

  • Xiaomi MI (Marshmallow) - Din’t Work

  • One Plus 3 (Marshmallow) - Din’t Work

The App works perfectly on IOS

Any Suggestions?

Do the apps work on all devices when you export normally (fuse build -tandroid -r) instead of previewing?

Also:

  • Does the problem happen when previewing any app, or just with a specific one?`
  • What happens on screen for the devices where it doesn’t work?
  • Have you made sure that the android devices (where it’s failing) are connected to the same wifi as your development computer