<p dir="auto">We are having this crash on one of our apps in the Play Store. We are using the Beta 1 version of Flutter. We got 30+ crash reports. It impacts Android 6.0 users only and the most affected device is Grand Prime Plus (grandpplte).</p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 &gt;&gt;&gt; com.bendingspoons.rized.color.by.number &lt;&lt;&lt;

backtrace:
  #00  pc 00000000000431d4  /system/lib/libc.so (tgkill+12)
  #01  pc 0000000000040de1  /system/lib/libc.so (pthread_kill+32)
  #02  pc 000000000001c7e7  /system/lib/libc.so (raise+10)
  #03  pc 0000000000019a65  /system/lib/libc.so (__libc_android_abort+34)
  #04  pc 0000000000017600  /system/lib/libc.so (abort+4)
  #05  pc 000000000013dca7  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #06  pc 00000000001e82f9  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #07  pc 0000000000051b91  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #08  pc 000000000004f5d3  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #09  pc 0000000000072f21  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #10  pc 0000000000059535  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #11  pc 000000000005bd7b  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #12  pc 00000000000130dd  /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+532)
  #13  pc 00000000000131af  /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+130)
  #14  pc 0000000000084e91  /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+22)
  #15  pc 000000000305b575  /system/framework/arm/boot.oat"><pre class="notranslate"><code class="notranslate">*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 &gt;&gt;&gt; com.bendingspoons.rized.color.by.number &lt;&lt;&lt;

backtrace:
  #00  pc 00000000000431d4  /system/lib/libc.so (tgkill+12)
  #01  pc 0000000000040de1  /system/lib/libc.so (pthread_kill+32)
  #02  pc 000000000001c7e7  /system/lib/libc.so (raise+10)
  #03  pc 0000000000019a65  /system/lib/libc.so (__libc_android_abort+34)
  #04  pc 0000000000017600  /system/lib/libc.so (abort+4)
  #05  pc 000000000013dca7  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #06  pc 00000000001e82f9  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #07  pc 0000000000051b91  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #08  pc 000000000004f5d3  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #09  pc 0000000000072f21  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #10  pc 0000000000059535  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #11  pc 000000000005bd7b  /data/app/com.bendingspoons.rized.color.by.number-1/lib/arm/libflutter.so
  #12  pc 00000000000130dd  /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+532)
  #13  pc 00000000000131af  /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+130)
  #14  pc 0000000000084e91  /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+22)
  #15  pc 000000000305b575  /system/framework/arm/boot.oat
</code></pre></div>
<p dir="auto">Project Mulligan is affected by this issue.</p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Using flutter_driver, attempt to find a Widget by its Material tooltip. Implement this by declaring a dependency upon DefaultMaterialLocalizations and using one of the tooltip strings it defines.</p>
<p dir="auto">Observe that 'flutter/src/material/material_localizations.dart' depends on 'flutter/src/material/time.dart', which depends on 'dart:ui', which prevents usage in the stand-alone VM.</p>
<p dir="auto">Using these strings directly to drive the UI from tests is important because it prevents duplication of Flutter string literals within test sources. If string literals were instead used within test sources, automated tests would break if a localizable string in Flutter's Material implementation were to change.</p>
<h2 dir="auto">Logs</h2>
<p dir="auto">Unable to spawn isolate: The built-in library 'dart:ui' is not available on the stand-alone VM.<br>
'package:flutter/src/material/time.dart': error: line 5 pos 1: library handler failed<br>
import 'dart:ui' show hashValues;<br>
^</p>