I have built the shopping_app from the tutorial and have it running on my attached Nexus 6 device. However when I try to start the flutter app on an emulated Nexus 6P, I see the following error in the Android Monitor.
02-06 19:51:41.141 1543-1756/system_process W/ActivityManager: Invalid packageName: org.domokit.sky.shell
02-06 19:51:41.141 15208-15208/? D/AndroidRuntime: Shutting down VM
02-06 19:51:47.216 15305-15305/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
02-06 19:51:47.217 15305-15305/? D/AndroidRuntime: CheckJNI is ON
02-06 19:51:47.233 15305-15305/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
02-06 19:51:47.252 15305-15305/? E/memtrack: Couldn't load memtrack module (No such file or directory)
02-06 19:51:47.252 15305-15305/? E/android.os.Debug: failed to load memtrack module: -2
02-06 19:51:47.253 15305-15305/? I/Radio-JNI: register_android_hardware_Radio DONE
02-06 19:51:47.283 15305-15305/? I/art: System.exit called, status: 1
02-06 19:51:47.283 15305-15305/? I/AndroidRuntime: VM exiting with result code 1.
02-06 19:51:48.614 15336-15336/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
02-06 19:51:48.616 15336-15336/? D/AndroidRuntime: CheckJNI is ON
02-06 19:51:48.627 15336-15336/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
02-06 19:51:48.644 15336-15336/? E/memtrack: Couldn't load memtrack module (No such file or directory)
02-06 19:51:48.644 15336-15336/? E/android.os.Debug: failed to load memtrack module: -2
02-06 19:51:48.645 15336-15336/? I/Radio-JNI: register_android_hardware_Radio DONE
02-06 19:51:48.675 3418-3429/com.android.defcontainer D/DefContainer: Copying /data/local/tmp/SkyShell.apk to base.apk
02-06 19:51:48.686 1543-1567/system_process W/NativeHelper: Failure copying native libraries [errorCode=-113]
02-06 19:51:48.686 1543-1567/system_process I/art: Starting a blocking GC Explicit
02-06 19:51:48.699 1543-1567/system_process I/art: Explicit concurrent mark sweep GC freed 8970(398KB) AllocSpace objects, 0(0B) LOS objects, 32% free, 8MB/12MB, paused 333us total 11.839ms
02-06 19:51:48.706 15336-15336/? I/art: System.exit called, status: 1
02-06 19:51:48.706 15336-15336/? I/AndroidRuntime: VM exiting with result code 1.
02-06 19:51:49.094 15357-15357/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
02-06 19:51:49.095 15357-15357/? D/AndroidRuntime: CheckJNI is ON
02-06 19:51:49.114 15357-15357/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
02-06 19:51:49.140 15357-15357/? E/memtrack: Couldn't load memtrack module (No such file or directory)
02-06 19:51:49.140 15357-15357/? E/android.os.Debug: failed to load memtrack module: -2
02-06 19:51:49.141 15357-15357/? I/Radio-JNI: register_android_hardware_Radio DONE
02-06 19:51:49.157 1543-2140/system_process W/ActivityManager: Invalid packageName: org.domokit.sky.shell
02-06 19:51:49.158 15357-15357/? D/AndroidRuntime: Shutting down VM
02-06 19:51:49.177 15357-15371/? E/art: Thread attaching while runtime is shutting down: Binder_2
02-06 19:51:49.177 15357-15371/? I/AndroidRuntime: NOTE: attach of thread 'Binder_2' failed
02-06 19:51:50.649 15391-15391/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
02-06 19:51:50.680 15391-15391/? E/memtrack: Couldn't load memtrack module (No such file or directory)
02-06 19:51:50.680 15391-15391/? E/android.os.Debug: failed to load memtrack module: -2
02-06 19:51:50.681 15391-15391/? I/Radio-JNI: register_android_hardware_Radio DONE
02-06 19:51:50.697 1543-1554/system_process I/ActivityManager: START u0 {act=android.intent.action.RUN dat=/data/local/tmp/dev.flx flg=0x30000000 cmp=org.domokit.sky.shell/.SkyActivity (has extras)} from uid 0 on display 0
02-06 19:51:50.702 15391-15391/? D/AndroidRuntime: Shutting down VM
02-06 19:51:50.711 15391-15400/? E/art: Thread attaching while runtime is shutting down: Binder_1
02-06 19:51:50.711 15391-15400/? I/AndroidRuntime: NOTE: attach of thread 'Binder_1' failed
Any pointers on what I need to do in order to get it running on an emulator. I can always continue using the device, but I want to showcase my app to an audience and having it run on the emulator would be a better option for showing it to them.
I am on MacOSX with Android Studio 2.0 Beta 2.
The emulator does not have Chrome browser, it is the default Android image.
Obviously missing something obvious over here, so any help would be appreciated.
I love writing in flutter, much better developer experience than writing in Java :-)