Cannot Preview on Android

Been struggling for hours trying to solve this. :frowning_face: Preview to Samsung from Windows 10 connected via USB crashing.

So far, I have updated Android SDK, JDK, deleted build directory, fixed corrupted ndk-bundle directory, updated Samsung drivers, restarted the tablet, etc. I’ve combed through similar issues posted on the forum, searched the internet, tried different things with no success.

I get the message: “Unfortunately, [my-app] (preview) has stopped.”

Here are the CLI logs from the last preview attempt:

$ fuse preview -t=Android
Fuse 1.10.0-rc1
Starting preview for C:\/dev/mobile/ipad-planner/ipad-planner.unoproj, target An                                             droid
Configuring  2.29 s
Compiling syntax tree  2.22 s
Generating code and data  5.44 s
Building Android app  9.53 s

Build completed in 19.51 seconds
Installing APK on 1 device(s)
Launching activity 'ipadplanner'
Running logcat on 5f6605cd053898da
E/Zygote  (13278): MountEmulatedStorage()
E/Zygote  (13278): v2
I/SELinux (13278): Function: selinux_compare_spd_ram, SPD-policy is existed. and                                             _ver=SEPF_SM-T330NU_5.1.1 ver=51
I/SELinux (13278): Function: selinux_compare_spd_ram , priority [1] , priority v                                             ersion is VE=SEPF_SM-T330NU_5.1.1_0051
E/SELinux (13278): [DEBUG] get_category: variable seinfo: default sensitivity: N                                             ULL, cateogry: NULL
I/libpersona(13278): KNOX_SDCARD checking this for 10347
I/libpersona(13278): KNOX_SDCARD not a persona
I/ActivityManager(  808): Start proc 13278:com.apps.ipadplanner/u0a347 for activ                                             ity com.apps.ipadplanner/.ipadplanner
I/art     (13278): Late-enabling -Xcheck:jni
D/ActivityThread(13278): Added TimaKeyStore provider
W/ActivityManager(  808): Permission Denial: getCurrentUser() from pid=13278, ui                                             d=10347 requires android.permission.INTERACT_ACROSS_USERS
D/ipadplanner(13278): SDK: 22
W/linker  (13278): libipadplanner.so: unused DT entry: type 0x6ffffef5 arg 0x313                                             2f8
W/linker  (13278): libipadplanner.so: unused DT entry: type 0x6ffffffe arg 0x3b9                                             c88
W/linker  (13278): libipadplanner.so: unused DT entry: type 0x6fffffff arg 0x2
W/linker  (13278): libV8Simple.so: unused DT entry: type 0x6ffffffe arg 0x2e070
W/linker  (13278): libV8Simple.so: unused DT entry: type 0x6fffffff arg 0x3
D/SecWifiDisplayUtil(13278): Metadata value : none
I/Adreno-EGL(13278): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build:  ()
I/Adreno-EGL(13278): OpenGL ES Shader Compiler Version: E031.25.03.06
I/Adreno-EGL(13278): Build Date: 06/05/15 Fri
I/Adreno-EGL(13278): Local Branch: LA.BF.1.1.1_RB1.05.01.00.042.032
I/Adreno-EGL(13278): Remote Branch:
I/Adreno-EGL(13278): Local Patches:
I/Adreno-EGL(13278): Reconstruct Branch:
W/ActivityManager(  808): Permission Denial: getCurrentUser() from pid=13278, ui                                             d=10347 requires android.permission.INTERACT_ACROSS_USERS
D/PhoneWindow(13278): *FMB* installDecor mIsFloating : false
D/PhoneWindow(13278): *FMB* installDecor flags : -2139029248
D/OpenGLRenderer(13278): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
F/libc    (13278): Fatal signal 11 (SIGSEGV) in tid 13300 (pps.ipadplanner)
F/libc    (13278): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x7 in tid 1329                                             9 (pps.ipadplanner)
D/PhoneWindow(13278): *FMB* isFloatingMenuEnabled mFloatingMenuBtn : null
D/PhoneWindow(13278): *FMB* isFloatingMenuEnabled return false
D/InputDispatcher(  808): Focus entered window: 13278
D/SRIB_DCS(13278): log_dcs ThreadedRenderer::initialize entered!
I/OpenGLRenderer(13278): Initialized EGL, version 1.4
D/OpenGLRenderer(13278): Get maximum texture size. GL_MAX_TEXTURE_SIZE is 4096
D/OpenGLRenderer(13278): Enabling debug mode 0
I/DEBUG   (  255): pid: 13278, tid: 13299, name: pps.ipadplanner  >>> com.apps.i                                             padplanner <<<
E/        (  255): !@dumpstate -k -t -z -d -o /data/log/dumpstate_app_native -m                                              13278
D/InputDispatcher(  808): Focus left window: 13278
D/CrashAnrDetector(  808): pid: 13278, tid: 13299, name: pps.ipadplanner  >>> co                                             m.apps.ipadplanner <<<
I/ActivityManager(  808): Process com.apps.ipadplanner (pid 13278)(adj 15) has d                                             ied(32,229)
I/Zygote  (  297): Process 13278 exited due to signal (11)
Process com.apps.ipadplanner terminated.

Any help would be so much appreciated!

I could not resolve this issue on my own. My workaround was to compile and install the app so that I could see it on Android. Any way that someone can help me get this working as a Preview?