flutter / flutter/flutter-intellij
Unable to locate Android Studio when using Intellij IDEA
- Dominant language
- Java
- Stars
- 2k
- Forks
- 356
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 27
Description
## Steps to Reproduce
I am using Intellij instead of Android Studio. I do not have Android Studio installed. When I try to open the android project within the flutter project using "Open Android module in Android Studio" I get the error "Unable to locate Android Studio" with as description: "You can configure the Android Studio location via 'flutter config --android-studio-dir path-to-android-studio". It doesn't work for obvious reasons... I don't have Android Studio installed however it would be nice if instead it opened the module inside of IntelliJ which is as capable of dealing with Android projects as Android Studio is.
## Version info
```
[✓] Flutter (Channel stable, 3.10.1, on macOS 13.4 22F66 darwin-arm64, locale en-GB)
• Flutter version 3.10.1 on channel stable at /Users/nils/Downloads/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision d3d8effc68 (2 weeks ago), 2023-05-16 17:59:05 -0700
• Engine revision b4fb11214d
• Dart version 3.0.1
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at /Users/nils/Library/Android/sdk
• Platform android-33, build-tools 33.0.2
• Java binary at: /usr/bin/java
• Java version OpenJDK Runtime Environment Homebrew (build 17.0.7+0)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E222b
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 73.1.1
• Dart plugin version 231.9065
[✓] VS Code (version 1.78.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.64.0
[✓] VS Code (version 1.79.0-insider)
• VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.4 22F66 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 113.0.5672.126
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
```
Contributor guide
Assessment
This issue has not been assessed yet.