Cannot preview app in VS Android Emulator

When I use Preview > Preview on Android using the empty application,

  1. The application deploys and runs when I use an actual android device
  2. The application deploys but crashes when execute on the Visual Studio Android Emulator

The error is Unfortunately, GettingStarted1 (preview) has stopped

Log

Fuse 1.0.1 (build 13566)
Configuring (0.9 s)
Compiling syntax tree (2.7 s)
Generating code and data (9.8 s)
Building Android app
2/2: GettingStarted1.apk
(17.9 s)

Build completed in 31.35 seconds
Installing APK on 1 device(s)
Launching activity 'GettingStarted1'
Fuse 1.0.1 (build 13566)
Configuring (0.8 s)
Compiling syntax tree (2.7 s)
Generating code and data (7.9 s)
Building Android app
2/2: GettingStarted1.apk
(20.0 s)

Build completed in 31.53 seconds
Installing APK on 1 device(s)
Launching activity 'GettingStarted1'

Is this a known limitation or am I doing something wrong?

Hi Richard,

we don’t officially support running on emulators. It is known that people have had success doing that before though, so there’s definitely a chance. That said, you’re unfortunately on your own on this one.

You could try running the preview with increased verbosity, something like fuse preview -tandroid -vv, and that could potentially provide some more hints on exactly what went wrong.