<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Upon loading asset image (on some phones, in some side state), the flutter engine hangs, while actual process continues to execute. Sometimes, Android produces ANR error.</p>
<p dir="auto">I am on <code class="notranslate">v0.3.0</code>. If I switch to <code class="notranslate">beta</code> I get compilation error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Initializing gradle...                                       1.0s
Resolving dependencies...                                    0.9s
Running 'gradlew assembleDebug'...                               
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
compiler message: Unhandled exception:
Crash when compiling file://.....lib/main.dart,
at character offset 6566:
lib/main.dart: Internal problem: Unhandled this in defaultTreeNode.
#0      internalProblem (package:front_end/src/fasta/problems.dart:30)
#1      unhandled (package:front_end/src/fasta/problems.dart:43)
#2      ConstnessEvaluator.defaultTreeNode (package:front_end/src/fasta/kernel/constness_evaluator.dart:112)
#3      TreeVisitor.defaultExpression (package:kernel/visitor.dart:140)
#4      TreeVisitor.visitThisExpression (package:kernel/visitor.dart:171)
#5      ThisExpression.accept (package:kernel/ast.dart:3341)
#6      ConstnessEvaluator.visitPropertyGet (package:front_end/src/fasta/kernel/constness_evaluator.dart:287)
#7      PropertyGet.accept (package:kernel/ast.dart:2242)
#8      ConstnessEvaluator.visitConstructorInvocation (package:front_end/src/fasta/kernel/constness_evaluator.dart:175)
#9      ConstructorInvocation.accept (package:kernel/ast.dart:2983)
#10     ConstnessEvaluator.evaluate (package:front_end/src/fasta/kernel/constness_evaluator.dart:99)
#11     evaluateConstness (package:front_end/src/fasta/kernel/constness_evaluator.dart:466)
#12     BodyBuilder.inferConstness (package:front_end/src/fasta/kernel/body_builder.dart:710)
#13     BodyBuilder.finishFunction (package:front_end/src/fasta/kernel/body_builder.dart:697)
#14     DietListener.listenerFinishFunction (package:front_end/src/fasta/source/diet_listener.dart:684)
#15     DietListener.parseFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:718)
#16     DietListener.buildFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:565)
#17     DietListener.endMethod (package:front_end/src/fasta/source/diet_listener.dart:530)
#18     Parser.parseMethod (package:front_end/src/fasta/parser/parser.dart:3796)
#19     Parser.parseClassMemberImpl (package:front_end/src/fasta/parser/parser.dart:3670)
#20     Parser.parseClassBody (package:front_end/src/fasta/parser/parser.dart:3467)
#21     Parser.parseClass (package:front_end/src/fasta/parser/parser.dart:1699)
#22     Parser.parseClassOrNamedMixinApplication (package:front_end/src/fasta/parser/parser.dart:1659)
#23     Parser.parseTopLevelKeywordDeclaration (package:front_end/src/fasta/parser/parser.dart:535)
#24     Parser.parseTopLevelDeclarationImpl (package:front_end/src/fasta/parser/parser.dart:451)
#25     Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:335)
#26     SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:198)
&lt;asynchronous suspension&gt;
#27     Loader.buildBodies (package:front_end/src/fasta/loader.dart:157)
&lt;asynchronous suspension&gt;
#28     KernelTarget.buildComponent (package:front_end/src/fasta/kernel/kernel_target.dart:292)
&lt;asynchronous suspension&gt;
#29     IncrementalCompiler.computeDelta.&lt;anonymous closure&gt; (package:front_end/src/fasta/incremental_compiler.dart:140)
&lt;asynchronous suspension&gt;
#30     CompilerContext.runInContext.&lt;anonymous closure&gt; (package:front_end/src/fasta/compiler_context.dart:105)
#31     _rootRun (dart:async/zone.dart:1126)
#32     _CustomZone.run (dart:async/zone.dart:1023)
#33     runZoned (dart:async/zone.dart:1501)
#34     CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:105)
#35     IncrementalCompiler.computeDelta (package:front_end/src/fasta/incremental_compiler.dart:61)
&lt;asynchronous suspension&gt;
#36     IncrementalCompiler.compile (package:vm/incremental_compiler.dart:33)
&lt;asynchronous suspension&gt;
#37     FrontendCompiler.compile.&lt;anonymous closure&gt; (package:vm/frontend_server.dart:254)
#38     new Future.&lt;anonymous closure&gt; (dart:async/future.dart:174)
#39     _rootRun (dart:async/zone.dart:1122)
#40     _CustomZone.run (dart:async/zone.dart:1023)
#41     _CustomZone.runGuarded (dart:async/zone.dart:925)
#42     _CustomZone.bindCallbackGuarded.&lt;anonymous closure&gt; (dart:async/zone.dart:965)
#43     _rootRun (dart:async/zone.dart:1126)
#44     _CustomZone.run (dart:async/zone.dart:1023)
#45     _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:949)
#46     Timer._createTimer.&lt;anonymous closure&gt; (dart:async-patch/dart:async/timer_patch.dart:21)
#47     _Timer._runTimers (dart:isolate-patch/dart:isolate/timer_impl.dart:382)
#48     _Timer._handleMessage (dart:isolate-patch/dart:isolate/timer_impl.dart:416)
#49     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)


#0      internalProblem (package:front_end/src/fasta/problems.dart:30)
#1      unhandled (package:front_end/src/fasta/problems.dart:43)
#2      ConstnessEvaluator.defaultTreeNode (package:front_end/src/fasta/kernel/constness_evaluator.dart:112)
#3      TreeVisitor.defaultExpression (package:kernel/visitor.dart:140)
#4      TreeVisitor.visitThisExpression (package:kernel/visitor.dart:171)
#5      ThisExpression.accept (package:kernel/ast.dart:3341)
#6      ConstnessEvaluator.visitPropertyGet (package:front_end/src/fasta/kernel/constness_evaluator.dart:287)
#7      PropertyGet.accept (package:kernel/ast.dart:2242)
#8      ConstnessEvaluator.visitConstructorInvocation (package:front_end/src/fasta/kernel/constness_evaluator.dart:175)
#9      ConstructorInvocation.accept (package:kernel/ast.dart:2983)
#10     ConstnessEvaluator.evaluate (package:front_end/src/fasta/kernel/constness_evaluator.dart:99)
#11     evaluateConstness (package:front_end/src/fasta/kernel/constness_evaluator.dart:466)
#12     BodyBuilder.inferConstness (package:front_end/src/fasta/kernel/body_builder.dart:710)
#13     BodyBuilder.finishFunction (package:front_end/src/fasta/kernel/body_builder.dart:697)
#14     DietListener.listenerFinishFunction (package:front_end/src/fasta/source/diet_listener.dart:684)
#15     DietListener.parseFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:718)
#16     DietListener.buildFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:565)
#17     DietListener.endMethod (package:front_end/src/fasta/source/diet_listener.dart:530)
#18     Parser.parseMethod (package:front_end/src/fasta/parser/parser.dart:3796)
#19     Parser.parseClassMemberImpl (package:front_end/src/fasta/parser/parser.dart:3670)
#20     Parser.parseClassBody (package:front_end/src/fasta/parser/parser.dart:3467)
#21     Parser.parseClass (package:front_end/src/fasta/parser/parser.dart:1699)
#22     Parser.parseClassOrNamedMixinApplication (package:front_end/src/fasta/parser/parser.dart:1659)
#23     Parser.parseTopLevelKeywordDeclaration (package:front_end/src/fasta/parser/parser.dart:535)
#24     Parser.parseTopLevelDeclarationImpl (package:front_end/src/fasta/parser/parser.dart:451)
#25     Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:335)
#26     SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:198)
&lt;asynchronous suspension&gt;
#27     Loader.buildBodies (package:front_end/src/fasta/loader.dart:157)
&lt;asynchronous suspension&gt;
#28     KernelTarget.buildComponent (package:front_end/src/fasta/kernel/kernel_target.dart:292)
&lt;asynchronous suspension&gt;
#29     IncrementalCompiler.computeDelta.&lt;anonymous closure&gt; (package:front_end/src/fasta/incremental_compiler.dart:140)
&lt;asynchronous suspension&gt;
#30     CompilerContext.runInContext.&lt;anonymous closure&gt; (package:front_end/src/fasta/compiler_context.dart:105)
#31     _rootRun (dart:async/zone.dart:1126)
#32     _CustomZone.run (dart:async/zone.dart:1023)
#33     runZoned (dart:async/zone.dart:1501)
#34     CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:105)
#35     IncrementalCompiler.computeDelta (package:front_end/src/fasta/incremental_compiler.dart:61)
&lt;asynchronous suspension&gt;
#36     IncrementalCompiler.compile (package:vm/incremental_compiler.dart:33)
&lt;asynchronous suspension&gt;
#37     FrontendCompiler.compile.&lt;anonymous closure&gt; (package:vm/frontend_server.dart:254)
#38     new Future.&lt;anonymous closure&gt; (dart:async/future.dart:174)
#39     _rootRun (dart:async/zone.dart:1122)
#40     _CustomZone.run (dart:async/zone.dart:1023)
#41     _CustomZone.runGuarded (dart:async/zone.dart:925)
#42     _CustomZone.bindCallbackGuarded.&lt;anonymous closure&gt; (dart:async/zone.dart:965)
#43     _rootRun (dart:async/zone.dart:1126)
#44     _CustomZone.run (dart:async/zone.dart:1023)
#45     _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:949)
#46     Timer._createTimer.&lt;anonymous closure&gt; (dart:async-patch/dart:async/timer_patch.dart:21)
#47     _Timer._runTimers (dart:isolate-patch/dart:isolate/timer_impl.dart:382)
#48     _Timer._handleMessage (dart:isolate-patch/dart:isolate/timer_impl.dart:416)
#49     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

Compiler terminated unexpectedly on .....lib/main.dart

FAILURE: Build failed with an exception.

* Where:
Script '......github.com/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 441

* What went wrong:
Execution failed for task ':app:flutterDependenciesDebug'.
&gt; Process 'command '......github.com/flutter/bin/flutter'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 5s
Gradle build failed: 1"><pre class="notranslate"><code class="notranslate">Initializing gradle...                                       1.0s
Resolving dependencies...                                    0.9s
Running 'gradlew assembleDebug'...                               
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
compiler message: Unhandled exception:
Crash when compiling file://.....lib/main.dart,
at character offset 6566:
lib/main.dart: Internal problem: Unhandled this in defaultTreeNode.
#0      internalProblem (package:front_end/src/fasta/problems.dart:30)
#1      unhandled (package:front_end/src/fasta/problems.dart:43)
#2      ConstnessEvaluator.defaultTreeNode (package:front_end/src/fasta/kernel/constness_evaluator.dart:112)
#3      TreeVisitor.defaultExpression (package:kernel/visitor.dart:140)
#4      TreeVisitor.visitThisExpression (package:kernel/visitor.dart:171)
#5      ThisExpression.accept (package:kernel/ast.dart:3341)
#6      ConstnessEvaluator.visitPropertyGet (package:front_end/src/fasta/kernel/constness_evaluator.dart:287)
#7      PropertyGet.accept (package:kernel/ast.dart:2242)
#8      ConstnessEvaluator.visitConstructorInvocation (package:front_end/src/fasta/kernel/constness_evaluator.dart:175)
#9      ConstructorInvocation.accept (package:kernel/ast.dart:2983)
#10     ConstnessEvaluator.evaluate (package:front_end/src/fasta/kernel/constness_evaluator.dart:99)
#11     evaluateConstness (package:front_end/src/fasta/kernel/constness_evaluator.dart:466)
#12     BodyBuilder.inferConstness (package:front_end/src/fasta/kernel/body_builder.dart:710)
#13     BodyBuilder.finishFunction (package:front_end/src/fasta/kernel/body_builder.dart:697)
#14     DietListener.listenerFinishFunction (package:front_end/src/fasta/source/diet_listener.dart:684)
#15     DietListener.parseFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:718)
#16     DietListener.buildFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:565)
#17     DietListener.endMethod (package:front_end/src/fasta/source/diet_listener.dart:530)
#18     Parser.parseMethod (package:front_end/src/fasta/parser/parser.dart:3796)
#19     Parser.parseClassMemberImpl (package:front_end/src/fasta/parser/parser.dart:3670)
#20     Parser.parseClassBody (package:front_end/src/fasta/parser/parser.dart:3467)
#21     Parser.parseClass (package:front_end/src/fasta/parser/parser.dart:1699)
#22     Parser.parseClassOrNamedMixinApplication (package:front_end/src/fasta/parser/parser.dart:1659)
#23     Parser.parseTopLevelKeywordDeclaration (package:front_end/src/fasta/parser/parser.dart:535)
#24     Parser.parseTopLevelDeclarationImpl (package:front_end/src/fasta/parser/parser.dart:451)
#25     Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:335)
#26     SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:198)
&lt;asynchronous suspension&gt;
#27     Loader.buildBodies (package:front_end/src/fasta/loader.dart:157)
&lt;asynchronous suspension&gt;
#28     KernelTarget.buildComponent (package:front_end/src/fasta/kernel/kernel_target.dart:292)
&lt;asynchronous suspension&gt;
#29     IncrementalCompiler.computeDelta.&lt;anonymous closure&gt; (package:front_end/src/fasta/incremental_compiler.dart:140)
&lt;asynchronous suspension&gt;
#30     CompilerContext.runInContext.&lt;anonymous closure&gt; (package:front_end/src/fasta/compiler_context.dart:105)
#31     _rootRun (dart:async/zone.dart:1126)
#32     _CustomZone.run (dart:async/zone.dart:1023)
#33     runZoned (dart:async/zone.dart:1501)
#34     CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:105)
#35     IncrementalCompiler.computeDelta (package:front_end/src/fasta/incremental_compiler.dart:61)
&lt;asynchronous suspension&gt;
#36     IncrementalCompiler.compile (package:vm/incremental_compiler.dart:33)
&lt;asynchronous suspension&gt;
#37     FrontendCompiler.compile.&lt;anonymous closure&gt; (package:vm/frontend_server.dart:254)
#38     new Future.&lt;anonymous closure&gt; (dart:async/future.dart:174)
#39     _rootRun (dart:async/zone.dart:1122)
#40     _CustomZone.run (dart:async/zone.dart:1023)
#41     _CustomZone.runGuarded (dart:async/zone.dart:925)
#42     _CustomZone.bindCallbackGuarded.&lt;anonymous closure&gt; (dart:async/zone.dart:965)
#43     _rootRun (dart:async/zone.dart:1126)
#44     _CustomZone.run (dart:async/zone.dart:1023)
#45     _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:949)
#46     Timer._createTimer.&lt;anonymous closure&gt; (dart:async-patch/dart:async/timer_patch.dart:21)
#47     _Timer._runTimers (dart:isolate-patch/dart:isolate/timer_impl.dart:382)
#48     _Timer._handleMessage (dart:isolate-patch/dart:isolate/timer_impl.dart:416)
#49     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)


#0      internalProblem (package:front_end/src/fasta/problems.dart:30)
#1      unhandled (package:front_end/src/fasta/problems.dart:43)
#2      ConstnessEvaluator.defaultTreeNode (package:front_end/src/fasta/kernel/constness_evaluator.dart:112)
#3      TreeVisitor.defaultExpression (package:kernel/visitor.dart:140)
#4      TreeVisitor.visitThisExpression (package:kernel/visitor.dart:171)
#5      ThisExpression.accept (package:kernel/ast.dart:3341)
#6      ConstnessEvaluator.visitPropertyGet (package:front_end/src/fasta/kernel/constness_evaluator.dart:287)
#7      PropertyGet.accept (package:kernel/ast.dart:2242)
#8      ConstnessEvaluator.visitConstructorInvocation (package:front_end/src/fasta/kernel/constness_evaluator.dart:175)
#9      ConstructorInvocation.accept (package:kernel/ast.dart:2983)
#10     ConstnessEvaluator.evaluate (package:front_end/src/fasta/kernel/constness_evaluator.dart:99)
#11     evaluateConstness (package:front_end/src/fasta/kernel/constness_evaluator.dart:466)
#12     BodyBuilder.inferConstness (package:front_end/src/fasta/kernel/body_builder.dart:710)
#13     BodyBuilder.finishFunction (package:front_end/src/fasta/kernel/body_builder.dart:697)
#14     DietListener.listenerFinishFunction (package:front_end/src/fasta/source/diet_listener.dart:684)
#15     DietListener.parseFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:718)
#16     DietListener.buildFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:565)
#17     DietListener.endMethod (package:front_end/src/fasta/source/diet_listener.dart:530)
#18     Parser.parseMethod (package:front_end/src/fasta/parser/parser.dart:3796)
#19     Parser.parseClassMemberImpl (package:front_end/src/fasta/parser/parser.dart:3670)
#20     Parser.parseClassBody (package:front_end/src/fasta/parser/parser.dart:3467)
#21     Parser.parseClass (package:front_end/src/fasta/parser/parser.dart:1699)
#22     Parser.parseClassOrNamedMixinApplication (package:front_end/src/fasta/parser/parser.dart:1659)
#23     Parser.parseTopLevelKeywordDeclaration (package:front_end/src/fasta/parser/parser.dart:535)
#24     Parser.parseTopLevelDeclarationImpl (package:front_end/src/fasta/parser/parser.dart:451)
#25     Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:335)
#26     SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:198)
&lt;asynchronous suspension&gt;
#27     Loader.buildBodies (package:front_end/src/fasta/loader.dart:157)
&lt;asynchronous suspension&gt;
#28     KernelTarget.buildComponent (package:front_end/src/fasta/kernel/kernel_target.dart:292)
&lt;asynchronous suspension&gt;
#29     IncrementalCompiler.computeDelta.&lt;anonymous closure&gt; (package:front_end/src/fasta/incremental_compiler.dart:140)
&lt;asynchronous suspension&gt;
#30     CompilerContext.runInContext.&lt;anonymous closure&gt; (package:front_end/src/fasta/compiler_context.dart:105)
#31     _rootRun (dart:async/zone.dart:1126)
#32     _CustomZone.run (dart:async/zone.dart:1023)
#33     runZoned (dart:async/zone.dart:1501)
#34     CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:105)
#35     IncrementalCompiler.computeDelta (package:front_end/src/fasta/incremental_compiler.dart:61)
&lt;asynchronous suspension&gt;
#36     IncrementalCompiler.compile (package:vm/incremental_compiler.dart:33)
&lt;asynchronous suspension&gt;
#37     FrontendCompiler.compile.&lt;anonymous closure&gt; (package:vm/frontend_server.dart:254)
#38     new Future.&lt;anonymous closure&gt; (dart:async/future.dart:174)
#39     _rootRun (dart:async/zone.dart:1122)
#40     _CustomZone.run (dart:async/zone.dart:1023)
#41     _CustomZone.runGuarded (dart:async/zone.dart:925)
#42     _CustomZone.bindCallbackGuarded.&lt;anonymous closure&gt; (dart:async/zone.dart:965)
#43     _rootRun (dart:async/zone.dart:1126)
#44     _CustomZone.run (dart:async/zone.dart:1023)
#45     _CustomZone.bindCallback.&lt;anonymous closure&gt; (dart:async/zone.dart:949)
#46     Timer._createTimer.&lt;anonymous closure&gt; (dart:async-patch/dart:async/timer_patch.dart:21)
#47     _Timer._runTimers (dart:isolate-patch/dart:isolate/timer_impl.dart:382)
#48     _Timer._handleMessage (dart:isolate-patch/dart:isolate/timer_impl.dart:416)
#49     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

Compiler terminated unexpectedly on .....lib/main.dart

FAILURE: Build failed with an exception.

* Where:
Script '......github.com/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 441

* What went wrong:
Execution failed for task ':app:flutterDependenciesDebug'.
&gt; Process 'command '......github.com/flutter/bin/flutter'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 5s
Gradle build failed: 1
</code></pre></div>
<h2 dir="auto">Logs</h2>
<h4 dir="auto">run --verbose</h4>
<p dir="auto">Once attempts to load an image, log stops and nothing gets printed.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[        ] 🔥  To hot reload your app on the fly, press &quot;r&quot;. To restart the app entirely, press &quot;R&quot;.
[        ] An Observatory debugger and profiler on Nexus 5X is available at: http://127.0.0.1:8105/
[        ] For a more detailed help message, press &quot;h&quot;. To quit, press &quot;q&quot;.
[+1039 ms] I/zygote64(13338): Do partial code cache collection, code=61KB, data=42KB
[   +2 ms] I/zygote64(13338): After code cache collection, code=61KB, data=42KB
[        ] I/zygote64(13338): Increasing code cache capacity to 256KB
[   +6 ms] D/DynamitePackage(13338): Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
[  +28 ms] I/Ads     (13338): Starting ad request.
[   +3 ms] I/Ads     (13338): Use AdRequest.Builder.addTestDevice(&quot;CC6F187D1887E034DD1E0E8A79FD073E&quot;) to get test ads on this device.
[  +79 ms] D/DynamitePackage(13338): Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
[  +38 ms] I/WebViewFactory(13338): Loading com.android.chrome version 65.0.3325.109 (code 332510952)
[  +12 ms] I/Ads     (13338): Starting ad request.
[        ] I/Ads     (13338): Use AdRequest.Builder.addTestDevice(&quot;CC6F187D1887E034DD1E0E8A79FD073E&quot;) to get test ads on this device.
[ +402 ms] I/cr_LibraryLoader(13338): Time to load native libraries: 7 ms (timestamps 7517-7524)
[  +22 ms] I/chromium(13338): [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
[        ] I/cr_LibraryLoader(13338): Expected native library version number &quot;65.0.3325.109&quot;, actual native library version number &quot;65.0.3325.109&quot;
[ +433 ms] I/Ads     (13338): Trying mediation network: null
[        ] I/Ads     (13338): Instantiating mediation adapter: com.google.ads.mediation.admob.AdMobAdapter
[   +6 ms] W/Ads     (13338): Server parameters: {&quot;pubid&quot;:&quot;ca-app-pub-3940256099942544\/1033173712&quot;}
[  +22 ms] D/DynamitePackage(13338): Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
[ +196 ms] I/Ads     (13338): Starting ad request.
[        ] I/Ads     (13338): Use AdRequest.Builder.addTestDevice(&quot;CC6F187D1887E034DD1E0E8A79FD073E&quot;) to get test ads on this device.
[ +156 ms] W/cr_ChildProcLH(13338): Create a new ChildConnectionAllocator with package name = com.android.chrome, sandboxed = true
[  +31 ms] I/cr_BrowserStartup(13338): Initializing chromium process, singleProcess=false
[        ] I/cr_base (13338): Android Locale: en_US requires .pak files: [en-GB.pak, en-US.pak]
[ +180 ms] W/oozefit.android(13338): type=1400 audit(0.0:206): avc: denied { read } for name=&quot;vmstat&quot; dev=&quot;proc&quot; ino=4026546034 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0
[ +341 ms] W/cr_media(13338): Requires BLUETOOTH permission
[  +86 ms] W/cr_CrashFileManager(13338): /data/user/0/.../cache/WebView/Crash Reports does not exist or is not a directory
[ +193 ms] W/VideoCapabilities(13338): Unrecognized profile 2130706433 for video/avc
[  +25 ms] I/VideoCapabilities(13338): Unsupported profile 4 for video/mp4v-es
[ +456 ms] I/zygote64(13338): Do full code cache collection, code=124KB, data=91KB
[   +1 ms] I/zygote64(13338): After code cache collection, code=119KB, data=64KB
[ +239 ms] I/Ads     (13338): Ad finished loading.
[  +96 ms] I/Ads     (13338): Ad finished loading.
[        ] I/Ads     (13338): Scheduling ad refresh 70000 milliseconds from now.
[ +156 ms] I/Ads     (13338): Ad finished loading.
[ +251 ms] I/zygote64(13338): Do partial code cache collection, code=122KB, data=80KB
[        ] I/zygote64(13338): After code cache collection, code=122KB, data=80KB
[        ] I/zygote64(13338): Increasing code cache capacity to 512KB
[  +50 ms] I/chromium(13338): [INFO:CONSOLE(0)] &quot;Document was loaded from Application Cache with manifest https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.appcache&quot;, source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
[        ] I/chromium(13338): [INFO:CONSOLE(0)] &quot;Application Cache Checking event&quot;, source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
[ +460 ms] I/chromium(13338): [INFO:CONSOLE(0)] &quot;Application Cache NoUpdate event&quot;, source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)"><pre class="notranslate"><code class="notranslate">[        ] 🔥  To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
[        ] An Observatory debugger and profiler on Nexus 5X is available at: http://127.0.0.1:8105/
[        ] For a more detailed help message, press "h". To quit, press "q".
[+1039 ms] I/zygote64(13338): Do partial code cache collection, code=61KB, data=42KB
[   +2 ms] I/zygote64(13338): After code cache collection, code=61KB, data=42KB
[        ] I/zygote64(13338): Increasing code cache capacity to 256KB
[   +6 ms] D/DynamitePackage(13338): Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
[  +28 ms] I/Ads     (13338): Starting ad request.
[   +3 ms] I/Ads     (13338): Use AdRequest.Builder.addTestDevice("CC6F187D1887E034DD1E0E8A79FD073E") to get test ads on this device.
[  +79 ms] D/DynamitePackage(13338): Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
[  +38 ms] I/WebViewFactory(13338): Loading com.android.chrome version 65.0.3325.109 (code 332510952)
[  +12 ms] I/Ads     (13338): Starting ad request.
[        ] I/Ads     (13338): Use AdRequest.Builder.addTestDevice("CC6F187D1887E034DD1E0E8A79FD073E") to get test ads on this device.
[ +402 ms] I/cr_LibraryLoader(13338): Time to load native libraries: 7 ms (timestamps 7517-7524)
[  +22 ms] I/chromium(13338): [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
[        ] I/cr_LibraryLoader(13338): Expected native library version number "65.0.3325.109", actual native library version number "65.0.3325.109"
[ +433 ms] I/Ads     (13338): Trying mediation network: null
[        ] I/Ads     (13338): Instantiating mediation adapter: com.google.ads.mediation.admob.AdMobAdapter
[   +6 ms] W/Ads     (13338): Server parameters: {"pubid":"ca-app-pub-3940256099942544\/1033173712"}
[  +22 ms] D/DynamitePackage(13338): Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
[ +196 ms] I/Ads     (13338): Starting ad request.
[        ] I/Ads     (13338): Use AdRequest.Builder.addTestDevice("CC6F187D1887E034DD1E0E8A79FD073E") to get test ads on this device.
[ +156 ms] W/cr_ChildProcLH(13338): Create a new ChildConnectionAllocator with package name = com.android.chrome, sandboxed = true
[  +31 ms] I/cr_BrowserStartup(13338): Initializing chromium process, singleProcess=false
[        ] I/cr_base (13338): Android Locale: en_US requires .pak files: [en-GB.pak, en-US.pak]
[ +180 ms] W/oozefit.android(13338): type=1400 audit(0.0:206): avc: denied { read } for name="vmstat" dev="proc" ino=4026546034 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0
[ +341 ms] W/cr_media(13338): Requires BLUETOOTH permission
[  +86 ms] W/cr_CrashFileManager(13338): /data/user/0/.../cache/WebView/Crash Reports does not exist or is not a directory
[ +193 ms] W/VideoCapabilities(13338): Unrecognized profile 2130706433 for video/avc
[  +25 ms] I/VideoCapabilities(13338): Unsupported profile 4 for video/mp4v-es
[ +456 ms] I/zygote64(13338): Do full code cache collection, code=124KB, data=91KB
[   +1 ms] I/zygote64(13338): After code cache collection, code=119KB, data=64KB
[ +239 ms] I/Ads     (13338): Ad finished loading.
[  +96 ms] I/Ads     (13338): Ad finished loading.
[        ] I/Ads     (13338): Scheduling ad refresh 70000 milliseconds from now.
[ +156 ms] I/Ads     (13338): Ad finished loading.
[ +251 ms] I/zygote64(13338): Do partial code cache collection, code=122KB, data=80KB
[        ] I/zygote64(13338): After code cache collection, code=122KB, data=80KB
[        ] I/zygote64(13338): Increasing code cache capacity to 512KB
[  +50 ms] I/chromium(13338): [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.appcache", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
[        ] I/chromium(13338): [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
[ +460 ms] I/chromium(13338): [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
</code></pre></div>
<h3 dir="auto">analyze OK</h3>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel unknown, v0.3.0, on Mac OS X 10.13.3 17D102, locale en-US)
    • Flutter version 0.3.0 at /Users/Vladimir/Projects/github.com/flutter
    • Framework revision c73b8a7cf6 (7 days ago), 2018-04-12 16:17:26 -0700
    • Engine revision 8a6e64a8ef
    • Dart version 2.0.0-dev.47.0.flutter-4126459025

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/Vladimir/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.3, Build version 9E145
    • ios-deploy 1.9.2
    • CocoaPods version 1.3.1

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Community Edition (version 2018.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 23.1.3
    • Dart plugin version 181.4203.498

[✓] Connected devices (1 available)
    • Nexus 5X • 00c40db5276fbe05 • android-arm64 • Android 8.1.0 (API 27)

• No issues found!"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel unknown, v0.3.0, on Mac OS X 10.13.3 17D102, locale en-US)
    • Flutter version 0.3.0 at /Users/Vladimir/Projects/github.com/flutter
    • Framework revision c73b8a7cf6 (7 days ago), 2018-04-12 16:17:26 -0700
    • Engine revision 8a6e64a8ef
    • Dart version 2.0.0-dev.47.0.flutter-4126459025

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/Vladimir/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.3, Build version 9E145
    • ios-deploy 1.9.2
    • CocoaPods version 1.3.1

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Community Edition (version 2018.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 23.1.3
    • Dart plugin version 181.4203.498

[✓] Connected devices (1 available)
    • Nexus 5X • 00c40db5276fbe05 • android-arm64 • Android 8.1.0 (API 27)

• No issues found!
</code></pre></div>
<h2 dir="auto">Investigation</h2>
<p dir="auto">Seems to hang in engine <a href="https://github.com/flutter/engine/blob/master/shell/common/engine.cc#L416"><code class="notranslate">engine.cc</code> on line 416</a></p>
<div class="highlight highlight-source-c notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="void Engine::HandleAssetPlatformMessage(
    fxl::RefPtr&lt;blink::PlatformMessage&gt; message) {
  fxl::RefPtr&lt;blink::PlatformMessageResponse&gt; response = message-&gt;response();
  if (!response) {
    return;
  }
  const auto&amp; data = message-&gt;data();
  std::string asset_name(reinterpret_cast&lt;const char*&gt;(data.data()),
                         data.size());

  std::vector&lt;uint8_t&gt; asset_data;
  // !!! hangs on GetAsBuffer() call !!!
  if (asset_manager_ &amp;&amp; asset_manager_-&gt;GetAsBuffer(asset_name, &amp;asset_data)) {
     response-&gt;Complete(std::move(asset_data));
   } else {
    response-&gt;CompleteEmpty();
  }
}"><pre class="notranslate"><span class="pl-smi">void</span> <span class="pl-s1">Engine</span>::<span class="pl-en">HandleAssetPlatformMessage</span>(
    <span class="pl-smi">fxl</span>::<span class="pl-s1">RefPtr</span><span class="pl-c1">&lt;</span><span class="pl-s1">blink</span>::<span class="pl-s1">PlatformMessage</span><span class="pl-c1">&gt;</span> <span class="pl-s1">message</span>) {
  <span class="pl-ent">fxl</span>::<span class="pl-s1">RefPtr</span><span class="pl-c1">&lt;</span><span class="pl-s1">blink</span>::<span class="pl-s1">PlatformMessageResponse</span><span class="pl-c1">&gt;</span> <span class="pl-s1">response</span> <span class="pl-c1">=</span> <span class="pl-s1">message</span><span class="pl-c1">-&gt;</span><span class="pl-en">response</span>();
  <span class="pl-k">if</span> (!<span class="pl-s1">response</span>) {
    <span class="pl-k">return</span>;
  }
  <span class="pl-k">const</span> auto<span class="pl-c1">&amp;</span> <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">message</span><span class="pl-c1">-&gt;</span><span class="pl-en">data</span>();
  <span class="pl-ent">std</span>::<span class="pl-s1">string</span> <span class="pl-en">asset_name</span>(<span class="pl-s1">reinterpret_cast</span><span class="pl-c1">&lt;</span><span class="pl-s1">const</span> <span class="pl-s1">char</span><span class="pl-c1">*</span><span class="pl-c1">&gt;</span>(<span class="pl-s1">data</span>.<span class="pl-en">data</span>()),
                         <span class="pl-s1">data</span>.<span class="pl-en">size</span>());

  <span class="pl-ent">std</span>::<span class="pl-s1">vector</span><span class="pl-c1">&lt;</span><span class="pl-s1">uint8_t</span><span class="pl-c1">&gt;</span> <span class="pl-s1">asset_data</span>;
  <span class="pl-c">// !!! hangs on GetAsBuffer() call !!!</span>
  <span class="pl-k">if</span> (<span class="pl-s1">asset_manager_</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">asset_manager_</span><span class="pl-c1">-&gt;</span><span class="pl-en">GetAsBuffer</span>(<span class="pl-s1">asset_name</span>, <span class="pl-c1">&amp;</span><span class="pl-s1">asset_data</span>)) {
     <span class="pl-s1">response</span><span class="pl-c1">-&gt;</span><span class="pl-en">Complete</span>(<span class="pl-s1">std</span>::<span class="pl-en">move</span>(<span class="pl-s1">asset_data</span>));
   } <span class="pl-k">else</span> {
    <span class="pl-s1">response</span><span class="pl-c1">-&gt;</span><span class="pl-en">CompleteEmpty</span>();
  }
}</pre></div>
<h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>Using the <a href="https://github.com/flutter/plugins/tree/master/packages/url_launcher">url_launcher</a> plugin:<br>
run the example code calling <code class="notranslate">launch("tel://21213123123")</code></li>
</ol>
<p dir="auto">(this issue is also documented on <a href="https://stackoverflow.com/questions/53497475/flutter-calling-startactivity-from-outside-of-an-activity-context-requires-th" rel="nofollow">stackoverflow</a></p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ +133 ms] W/.whitelabel_ap(12464): Accessing hidden field Ljava/net/Socket;-&gt;impl:Ljava/net/SocketImpl; (light greylist, reflection)
[   +6 ms] W/.whitelabel_ap(12464): Accessing hidden method Ldalvik/system/CloseGuard;-&gt;get()Ldalvik/system/CloseGuard; (light greylist, linking)
[   +5 ms] W/.whitelabel_ap(12464): Accessing hidden method Ldalvik/system/CloseGuard;-&gt;open(Ljava/lang/String;)V (light greylist, linking)
[   +2 ms] W/.whitelabel_ap(12464): Accessing hidden method Ljava/net/InetAddress;-&gt;isNumeric(Ljava/lang/String;)Z (light greylist, reflection)
[   +3 ms] W/.whitelabel_ap(12464): Accessing hidden field Ljava/io/FileDescriptor;-&gt;descriptor:I (light greylist, JNI)
[ +182 ms] W/.whitelabel_ap(12464): Accessing hidden method Ljava/security/spec/ECParameterSpec;-&gt;setCurveName(Ljava/lang/String;)V (light greylist, reflection)
[  +22 ms] W/.whitelabel_ap(12464): Accessing hidden method Ldalvik/system/BlockGuard;-&gt;getThreadPolicy()Ldalvik/system/BlockGuard$Policy; (light greylist, linking)
[        ] W/.whitelabel_ap(12464): Accessing hidden method Ldalvik/system/BlockGuard$Policy;-&gt;onNetwork()V (light greylist, linking)
[+6628 ms] E/MethodChannel#plugins.flutter.io/url_launcher(12464): Failed to handle method call
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity  context requires the
FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.app.ContextImpl.startActivity(ContextImpl.java:912)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.app.ContextImpl.startActivity(ContextImpl.java:888)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.content.ContextWrapper.startActivity(ContextWrapper.java:379)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at io.flutter.plugins.urllauncher.UrlLauncherPlugin.onMethodCall(UrlLauncherPlugin.java:61)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:200)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.os.MessageQueue.nativePollOnce(Native Method)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.os.MessageQueue.next(MessageQueue.java:326)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.os.Looper.loop(Looper.java:160)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at java.lang.reflect.Method.invoke(Native Method)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
[   +2 ms] E/flutter (12464): [ERROR:flutter/shell/common/shell.cc(184)] Dart Error: Unhandled exception:
[        ] E/flutter (12464): PlatformException(error, Calling startActivity() from outside of an Activity  context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you
want?, null)
[        ] E/flutter (12464): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:551:7)
[        ] E/flutter (12464): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:292:18)
[        ] E/flutter (12464): &lt;asynchronous suspension&gt;
[        ] E/flutter (12464): #2      launch (package:url_launcher/url_launcher.dart:66:19)
[        ] E/flutter (12464): #3      ContactItem.build.&lt;anonymous closure&gt; (package:whitelabel_app/screen/contacts_screen.dart:69:13)
[        ] E/flutter (12464): #4      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14)
[        ] E/flutter (12464): #5      _InkResponseState.build.&lt;anonymous closure&gt; (package:flutter/src/material/ink_well.dart:562:30)
[        ] E/flutter (12464): #6      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
[        ] E/flutter (12464): #7      TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
[        ] E/flutter (12464): #8      TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
[        ] E/flutter (12464): #9      GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
[        ] E/flutter (12464): #10     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:184:20)
[        ] E/flutter (12464): #11     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:158:22)
[        ] E/flutter (12464): #12     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:138:7)
[        ] E/flutter (12464): #13     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:101:7)
[        ] E/flutter (12464): #14     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:85:7)
[        ] E/flutter (12464): #15     _invoke1 (dart:ui/hooks.dart:168:13)
[        ] E/flutter (12464): #16     _dispatchPointerDataPacket (dart:ui/hooks.dart:122:5)
"><pre class="notranslate"><code class="notranslate">[ +133 ms] W/.whitelabel_ap(12464): Accessing hidden field Ljava/net/Socket;-&gt;impl:Ljava/net/SocketImpl; (light greylist, reflection)
[   +6 ms] W/.whitelabel_ap(12464): Accessing hidden method Ldalvik/system/CloseGuard;-&gt;get()Ldalvik/system/CloseGuard; (light greylist, linking)
[   +5 ms] W/.whitelabel_ap(12464): Accessing hidden method Ldalvik/system/CloseGuard;-&gt;open(Ljava/lang/String;)V (light greylist, linking)
[   +2 ms] W/.whitelabel_ap(12464): Accessing hidden method Ljava/net/InetAddress;-&gt;isNumeric(Ljava/lang/String;)Z (light greylist, reflection)
[   +3 ms] W/.whitelabel_ap(12464): Accessing hidden field Ljava/io/FileDescriptor;-&gt;descriptor:I (light greylist, JNI)
[ +182 ms] W/.whitelabel_ap(12464): Accessing hidden method Ljava/security/spec/ECParameterSpec;-&gt;setCurveName(Ljava/lang/String;)V (light greylist, reflection)
[  +22 ms] W/.whitelabel_ap(12464): Accessing hidden method Ldalvik/system/BlockGuard;-&gt;getThreadPolicy()Ldalvik/system/BlockGuard$Policy; (light greylist, linking)
[        ] W/.whitelabel_ap(12464): Accessing hidden method Ldalvik/system/BlockGuard$Policy;-&gt;onNetwork()V (light greylist, linking)
[+6628 ms] E/MethodChannel#plugins.flutter.io/url_launcher(12464): Failed to handle method call
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity  context requires the
FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.app.ContextImpl.startActivity(ContextImpl.java:912)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.app.ContextImpl.startActivity(ContextImpl.java:888)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.content.ContextWrapper.startActivity(ContextWrapper.java:379)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at io.flutter.plugins.urllauncher.UrlLauncherPlugin.onMethodCall(UrlLauncherPlugin.java:61)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:200)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.os.MessageQueue.nativePollOnce(Native Method)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.os.MessageQueue.next(MessageQueue.java:326)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.os.Looper.loop(Looper.java:160)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at java.lang.reflect.Method.invoke(Native Method)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
[        ] E/MethodChannel#plugins.flutter.io/url_launcher(12464): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
[   +2 ms] E/flutter (12464): [ERROR:flutter/shell/common/shell.cc(184)] Dart Error: Unhandled exception:
[        ] E/flutter (12464): PlatformException(error, Calling startActivity() from outside of an Activity  context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you
want?, null)
[        ] E/flutter (12464): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:551:7)
[        ] E/flutter (12464): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:292:18)
[        ] E/flutter (12464): &lt;asynchronous suspension&gt;
[        ] E/flutter (12464): #2      launch (package:url_launcher/url_launcher.dart:66:19)
[        ] E/flutter (12464): #3      ContactItem.build.&lt;anonymous closure&gt; (package:whitelabel_app/screen/contacts_screen.dart:69:13)
[        ] E/flutter (12464): #4      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14)
[        ] E/flutter (12464): #5      _InkResponseState.build.&lt;anonymous closure&gt; (package:flutter/src/material/ink_well.dart:562:30)
[        ] E/flutter (12464): #6      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
[        ] E/flutter (12464): #7      TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
[        ] E/flutter (12464): #8      TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
[        ] E/flutter (12464): #9      GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
[        ] E/flutter (12464): #10     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:184:20)
[        ] E/flutter (12464): #11     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:158:22)
[        ] E/flutter (12464): #12     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:138:7)
[        ] E/flutter (12464): #13     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:101:7)
[        ] E/flutter (12464): #14     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:85:7)
[        ] E/flutter (12464): #15     _invoke1 (dart:ui/hooks.dart:168:13)
[        ] E/flutter (12464): #16     _dispatchPointerDataPacket (dart:ui/hooks.dart:122:5)

</code></pre></div>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel beta, v1.0.0, on Linux, locale en_AU.UTF-8)
    • Flutter version 1.0.0 at /home/bjc/Applications/flutter
    • Framework revision 5391447fae (9 days ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /home/bjc/Applications/android
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /home/bjc/Applications/android
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-0ubuntu0.18.04.1-b12)
    • All Android licenses accepted.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[!] IntelliJ IDEA Community Edition (version 2018.3)
    • IntelliJ at /home/bjc/Applications/idea-IC-183.4284.148
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[✓] Connected device (1 available)
    • Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 9 (API 28) (emulator)"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v1.0.0, on Linux, locale en_AU.UTF-8)
    • Flutter version 1.0.0 at /home/bjc/Applications/flutter
    • Framework revision 5391447fae (9 days ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /home/bjc/Applications/android
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /home/bjc/Applications/android
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-0ubuntu0.18.04.1-b12)
    • All Android licenses accepted.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[!] IntelliJ IDEA Community Edition (version 2018.3)
    • IntelliJ at /home/bjc/Applications/idea-IC-183.4284.148
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[✓] Connected device (1 available)
    • Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 9 (API 28) (emulator)
</code></pre></div>