<p dir="auto">Hi all,</p>
<p dir="auto">I'm trying to add a RaisedButton in the container, however I'm getting below exception.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[{&quot;event&quot;:&quot;app.progress&quot;,&quot;params&quot;:{&quot;appId&quot;:&quot;9d38bcd5-7d0a-4cfe-a121-20c0dff4c237&quot;,&quot;id&quot;:&quot;10&quot;,&quot;progressId&quot;:&quot;hot.reload&quot;,&quot;message&quot;:&quot;Performing hot reload...&quot;}}]Performing hot reload...

Syncing files to device Android SDK built for x86...
I/flutter ( 5093): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter ( 5093): The following _CompileTimeError was thrown building MyApp(dirty):
I/flutter ( 5093): 'file:///D:/LearningMaterials/Flutter/udemy_learningapp/lib/main.dart': error: Unexpected tag 128
I/flutter ( 5093): (SpecializedVariableGet) in ?, expected a procedure, a constructor or a function node
I/flutter ( 5093): When the exception was thrown, this was the stack:
I/flutter ( 5093): #0      StatelessElement.build (package:flutter/src/widgets/framework.dart:3731:28)
I/flutter ( 5093): #1      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3678:15)
I/flutter ( 5093): #2      Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 5093): #3      BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2273:33)
I/flutter ( 5093): #4      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;SemanticsBinding&amp;RendererBinding&amp;WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:673:20)
I/flutter ( 5093): #5      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;SemanticsBinding&amp;RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter ( 5093): #6      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter ( 5093): #7      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter ( 5093): #8      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding.scheduleWarmUpFrame.&lt;anonymous closure&gt; (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter ( 5093): #10     _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter ( 5093): #11     _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter ( 5093): #12     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
I/flutter ( 5093): (elided one frame from package dart:async)
I/flutter ( 5093): ════════════════════════════════════════════════════════════════════════════════════════════════════
Reloaded 1 of 412 libraries in 969ms."><pre class="notranslate"><code class="notranslate">[{"event":"app.progress","params":{"appId":"9d38bcd5-7d0a-4cfe-a121-20c0dff4c237","id":"10","progressId":"hot.reload","message":"Performing hot reload..."}}]Performing hot reload...

Syncing files to device Android SDK built for x86...
I/flutter ( 5093): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter ( 5093): The following _CompileTimeError was thrown building MyApp(dirty):
I/flutter ( 5093): 'file:///D:/LearningMaterials/Flutter/udemy_learningapp/lib/main.dart': error: Unexpected tag 128
I/flutter ( 5093): (SpecializedVariableGet) in ?, expected a procedure, a constructor or a function node
I/flutter ( 5093): When the exception was thrown, this was the stack:
I/flutter ( 5093): #0      StatelessElement.build (package:flutter/src/widgets/framework.dart:3731:28)
I/flutter ( 5093): #1      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3678:15)
I/flutter ( 5093): #2      Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 5093): #3      BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2273:33)
I/flutter ( 5093): #4      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;SemanticsBinding&amp;RendererBinding&amp;WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:673:20)
I/flutter ( 5093): #5      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;SemanticsBinding&amp;RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter ( 5093): #6      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter ( 5093): #7      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter ( 5093): #8      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding.scheduleWarmUpFrame.&lt;anonymous closure&gt; (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter ( 5093): #10     _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter ( 5093): #11     _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter ( 5093): #12     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
I/flutter ( 5093): (elided one frame from package dart:async)
I/flutter ( 5093): ════════════════════════════════════════════════════════════════════════════════════════════════════
Reloaded 1 of 412 libraries in 969ms.
</code></pre></div>
<p dir="auto">Low priority</p>
<h2 dir="auto">Environment</h2>
<p dir="auto">Flutter (Channel master, v0.2.5-pre.396, on Microsoft Windows [Version 10.0.17134.48], locale en-US)<br>
Android things 8.1.0<br>
Board: NXP i.MX7D</p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">When building a release build for Android Things Dart will crash due to an incompatible VM configuration error. Debug builds work fine but are extremely slow.</p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="05-18 10:20:21.906 1928-1928/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    Build fingerprint: 'Things/iot_imx7d_pico/imx7d_pico:8.1.0/OIM1.180327.036/4760714:userdebug/dev-keys'
05-18 10:20:21.907 1928-1928/? A/DEBUG: Revision: '0'
    ABI: 'arm'
    pid: 1902, tid: 1902, name: [omitted]  &gt;&gt;&gt; [omitted] &lt;&lt;&lt;
    signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
05-18 10:20:21.912 1928-1928/? A/DEBUG: Abort message: '[FATAL:flutter/runtime/dart_vm.cc(413)] Error while initializing the Dart VM: Snapshot not compatible with the current VM configuration: the snapshot requires 'product no-type_checks no-asserts no-error_on_bad_type no-error_on_bad_override arm-eabi hardfp' but the VM has 'product no-type_checks no-asserts no-error_on_bad_type no-error_on_bad_override arm-eabi softfp'
    '
        r0 00000000  r1 0000076e  r2 00000006  r3 00000008
        r4 0000076e  r5 0000076e  r6 be984cdc  r7 0000010c
        r8 00000000  r9 be984e24  sl a47be310  fp a47be300
        ip 8e088239  sp be984cc8  lr a51b29f7  pc a51ac428  cpsr 200f0030
05-18 10:20:21.924 1928-1928/? A/DEBUG: backtrace:
        #00 pc 0001a428  /system/lib/libc.so (abort+63)
        #01 pc 0014efab  /data/app/[omitted]--SMXeEezHwIfOxBFVkjgmw==/lib/arm/libflutter.so
        &lt;lots more of those&gt;
        #15 pc 000022f1  /data/app/[omitted]--SMXeEezHwIfOxBFVkjgmw==/oat/arm/base.odex (offset 0x2000)"><pre class="notranslate"><code class="notranslate">05-18 10:20:21.906 1928-1928/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    Build fingerprint: 'Things/iot_imx7d_pico/imx7d_pico:8.1.0/OIM1.180327.036/4760714:userdebug/dev-keys'
05-18 10:20:21.907 1928-1928/? A/DEBUG: Revision: '0'
    ABI: 'arm'
    pid: 1902, tid: 1902, name: [omitted]  &gt;&gt;&gt; [omitted] &lt;&lt;&lt;
    signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
05-18 10:20:21.912 1928-1928/? A/DEBUG: Abort message: '[FATAL:flutter/runtime/dart_vm.cc(413)] Error while initializing the Dart VM: Snapshot not compatible with the current VM configuration: the snapshot requires 'product no-type_checks no-asserts no-error_on_bad_type no-error_on_bad_override arm-eabi hardfp' but the VM has 'product no-type_checks no-asserts no-error_on_bad_type no-error_on_bad_override arm-eabi softfp'
    '
        r0 00000000  r1 0000076e  r2 00000006  r3 00000008
        r4 0000076e  r5 0000076e  r6 be984cdc  r7 0000010c
        r8 00000000  r9 be984e24  sl a47be310  fp a47be300
        ip 8e088239  sp be984cc8  lr a51b29f7  pc a51ac428  cpsr 200f0030
05-18 10:20:21.924 1928-1928/? A/DEBUG: backtrace:
        #00 pc 0001a428  /system/lib/libc.so (abort+63)
        #01 pc 0014efab  /data/app/[omitted]--SMXeEezHwIfOxBFVkjgmw==/lib/arm/libflutter.so
        &lt;lots more of those&gt;
        #15 pc 000022f1  /data/app/[omitted]--SMXeEezHwIfOxBFVkjgmw==/oat/arm/base.odex (offset 0x2000)
</code></pre></div>