flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

IntelliJ can't run application but CLI can

Open kenzieschmoll opened this issue 6 years ago • 3 comments

I have two devices connected. Device A is running a sample app - launched from IntelliJ. When I try to run the same sample app on Device B (launching from IntelliJ), I get this error. Screen Shot 2019-07-10 at 11 23 27 AM I can successfully run the sample app on Device B from CLI. Screen Shot 2019-07-10 at 11 23 56 AM It seems like I should be able to successfully run the app from IntelliJ if I can do so from CLI.

kenzieschmoll avatar Jul 10 '19 18:07 kenzieschmoll

Similar but slightly different case. No other apps running in IntelliJ --> Launch app from IntelliJ --> See this error Screen Shot 2019-07-10 at 2 19 26 PM Running app from CLI works fine Screen Shot 2019-07-10 at 2 21 10 PM

Flutter Doctor output:

[✓] Flutter (Channel master, v1.6.1-pre.383, on Mac OS X 10.14.5 18F132, locale en-US)
    • Flutter version 1.6.1-pre.383 at /Users/kenzieschmoll/develop/flutter
    • Framework revision 2488c38931 (4 weeks ago), 2019-06-13 11:47:42 -0700
    • Engine revision f1d821d8fd
    • Dart version 2.3.3 (build 2.3.3-dev.0.0 3166bbf24b)

 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/kenzieschmoll/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-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • CocoaPods version 1.6.1

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin installed
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] IntelliJ IDEA Community Edition (version 2019.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 37.0.3
    • Dart plugin version 191.7830

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

[✓] Connected device (3 available)
    • Moto G 4              • ZY223VC7SF                               • android-arm • Android 6.0.1 (API 23)
    • KenzGoogTest iPhone 8 • 37112db2e753f90e42327ebe5359514f81f99622 • ios         • iOS 12.3.1
    • iPhone Xʀ             • A1CD8E96-29C6-4D8A-9041-7949AC072C5A     • ios         • com.apple.CoreSimulator.SimRuntime.iOS-12-2
      (simulator)

• No issues found!

kenzieschmoll avatar Jul 10 '19 21:07 kenzieschmoll

Is this still reproducible?

AlexV525 avatar Jun 01 '23 03:06 AlexV525

Is this still reproducible?

pq avatar Jun 12 '25 04:06 pq

Without additional information we're not able to resolve this issue, so it will be closed at this time. You're still free to add more info and respond to any questions above, though. We'll reopen the case if you do. Thanks for your contribution!

github-actions[bot] avatar Jun 27 '25 00:06 github-actions[bot]