<p dir="auto"><strong>Log:</strong><br>
Resolving dependencies...<br>
Gradle task 'assembleDebug'...<br>
Built build\app\outputs\apk\debug\app-debug.apk.<br>
#timeout waiting for the application to start<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="376727450" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/23861" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/23861/hovercard" href="https://github.com/flutter/flutter/issues/23861">#23861</a><br>
Syncing files to device GT I9300...<br>
I/Process (27308): Sending signal. PID: 27308 SIG: 9<br>
Lost connection to device.</p>
<p dir="auto"><strong>PLEASE HELP ME!!</strong></p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">The following may be dependent on the dev machine, but I have no way to test. The following happens on my <code class="notranslate">MacBook Pro (Retina, 15-inch, Mid 2014)</code>.</p>
<ol dir="auto">
<li>Open Android Studio (v3.2.1, with Flutter plugin 29.1.1 and Dart plugin 181.5656).</li>
<li>Create new Flutter app</li>
<li>Open iOS Simulator.</li>
<li>Debug/Run the app in the Simulator</li>
</ol>
<p dir="auto">The debug log shows the following:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/919717/47905470-8bab2300-de87-11e8-8ec3-385a598b4d66.png"><img width="689" alt="screen shot 2018-11-02 at 10 07 01" src="https://user-images.githubusercontent.com/919717/47905470-8bab2300-de87-11e8-8ec3-385a598b4d66.png" style="max-width: 100%;"></a></p>
<p dir="auto">Note that the "timeout waiting for the application to start" is red. It stays there for at least a few seconds (probably tens of seconds) before the build finishes, and the next line is printed out.</p>
<p dir="auto">After that, everything works just fine.</p>
<p dir="auto">I'm filing this mostly because I've seen this happen to newcomers during codelabs, and they (understandably) assume that the build failed and they should just stop it.</p>
<h2 dir="auto">Logs</h2>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on iPhone X in debug mode...
Running pod install...
Starting Xcode build...
timeout waiting for the application to start
Xcode build done.                                           127.6s
Syncing files to device iPhone X...
	[C1.1 E9C3A58A-EFF3-459E-A2C8-C1D461C3C624 192.168.0.14:54760&lt;-&gt;172.217.23.202:443]
	Connected Path: satisfied (Path is satisfied), interface: en0
	Duration: 120.981s, DNS @0.003s took 0.018s, TCP @0.024s took 0.012s, TLS took 0.170s
	bytes in/out: 3306/1028, packets in/out: 9/9, rtt: 0.025s, retransmitted packets: 0, out-of-order packets: 0
	[C2.1 E0EF4920-9679-45B3-8EDE-B64A67A08769 192.168.0.14:54785&lt;-&gt;216.58.201.110:443]
	Connected Path: satisfied (Path is satisfied), interface: en0
	Duration: 120.488s, DNS @0.000s took 0.001s, TCP @0.003s took 0.010s, TLS took 0.108s
	bytes in/out: 3876/1023, packets in/out: 10/9, rtt: 0.022s, retransmitted packets: 1, out-of-order packets: 0
	[C3.1 9B325582-F53A-415B-8FAF-BBAFC43598B7 192.168.0.14:54786&lt;-&gt;216.58.201.110:443]
	Connected Path: satisfied (Path is satisfied), interface: en0
	Duration: 121.090s, DNS @0.000s took 0.002s, TCP @0.004s took 0.015s, TLS took 0.121s
	bytes in/out: 3588/1165, packets in/out: 9/9, rtt: 0.026s, retransmitted packets: 0, out-of-order packets: 0
[...]"><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on iPhone X in debug mode...
Running pod install...
Starting Xcode build...
timeout waiting for the application to start
Xcode build done.                                           127.6s
Syncing files to device iPhone X...
	[C1.1 E9C3A58A-EFF3-459E-A2C8-C1D461C3C624 192.168.0.14:54760&lt;-&gt;172.217.23.202:443]
	Connected Path: satisfied (Path is satisfied), interface: en0
	Duration: 120.981s, DNS @0.003s took 0.018s, TCP @0.024s took 0.012s, TLS took 0.170s
	bytes in/out: 3306/1028, packets in/out: 9/9, rtt: 0.025s, retransmitted packets: 0, out-of-order packets: 0
	[C2.1 E0EF4920-9679-45B3-8EDE-B64A67A08769 192.168.0.14:54785&lt;-&gt;216.58.201.110:443]
	Connected Path: satisfied (Path is satisfied), interface: en0
	Duration: 120.488s, DNS @0.000s took 0.001s, TCP @0.003s took 0.010s, TLS took 0.108s
	bytes in/out: 3876/1023, packets in/out: 10/9, rtt: 0.022s, retransmitted packets: 1, out-of-order packets: 0
	[C3.1 9B325582-F53A-415B-8FAF-BBAFC43598B7 192.168.0.14:54786&lt;-&gt;216.58.201.110:443]
	Connected Path: satisfied (Path is satisfied), interface: en0
	Duration: 121.090s, DNS @0.000s took 0.002s, TCP @0.004s took 0.015s, TLS took 0.121s
	bytes in/out: 3588/1165, packets in/out: 9/9, rtt: 0.026s, retransmitted packets: 0, out-of-order packets: 0
[...]
</code></pre></div>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ flutter analyze
Analyzing baby_names...
No issues found! (ran in 2.7s)"><pre class="notranslate"><code class="notranslate">$ flutter analyze
Analyzing baby_names...
No issues found! (ran in 2.7s)
</code></pre></div>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ flutter doctor -v
[✓] Flutter (Channel beta, v0.9.4, on Mac OS X 10.13.6 17G65, locale en-US)
    • Flutter version 0.9.4 at /Users/filiph/dev/flutter
    • Framework revision f37c235c32 (5 weeks ago), 2018-09-25 17:45:40 -0400
    • Engine revision 74625aed32
    • Dart version 2.1.0-dev.5.0.flutter-a2eb050044

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/filiph/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.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-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[!] IntelliJ IDEA Community Edition (version 2018.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ 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

[✓] VS Code (version 1.28.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.19.0

[✓] Connected devices (1 available)
    • iPhone X • A4DBE660-4C39-4AEA-B258-7755F584BA6E • ios • iOS 12.0 (simulator)

! Doctor found issues in 1 category."><pre class="notranslate"><code class="notranslate">$ flutter doctor -v
[✓] Flutter (Channel beta, v0.9.4, on Mac OS X 10.13.6 17G65, locale en-US)
    • Flutter version 0.9.4 at /Users/filiph/dev/flutter
    • Framework revision f37c235c32 (5 weeks ago), 2018-09-25 17:45:40 -0400
    • Engine revision 74625aed32
    • Dart version 2.1.0-dev.5.0.flutter-a2eb050044

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/filiph/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.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-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[!] IntelliJ IDEA Community Edition (version 2018.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ 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

[✓] VS Code (version 1.28.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.19.0

[✓] Connected devices (1 available)
    • iPhone X • A4DBE660-4C39-4AEA-B258-7755F584BA6E • ios • iOS 12.0 (simulator)

! Doctor found issues in 1 category.
</code></pre></div>