How to install flutter and dart in Android Studio and InttelliJ?
Solution 1
The plugins are not installed by default with Android Studio or IntelliJ. You need to install them yourself using the instructions from this page:
Install the Flutter and Dart plugins
Flutter is supported by two plugins:
- The Flutter plugin powers Flutter developer workflows (running, debugging, hot reload, etc.).
- The Dart plugin offers code analysis (code validation as you type, code completions, etc.).
To install these:
- Start the Android Studio.
- Open plugin preferences (Preferences>Plugins on macOS, File>Settings>Plugins on Windows & Linux).
- Select Browse repositories…, select the Flutter plugin and click install.
- Click Yes when prompted to install the Dart plugin.
- Click Restart when prompted.
Solution 2
Just follow these steps:
Hope it helps.
Solution 3
I had the same problem and these are the steps to solve my problem (Install the Flutter and Dart plugins):
- Start Android Studio.
- Open plugin preferences (Configure > Plugins as of
v3.6.3.0
orlater
).
Note: Prior to v3.6.3.0, should follow: Open plugin preferences (Preferences > Plugins on macOS, File > Settings > Plugins on Windows & Linux)
- Select the Flutter plugin and click Install.
- Click Yes when prompted to install the
Dart
plugin.
- Click Restart when prompted.
Run flutter doctor
. You should get this output:
Solution 4
This is the step for flutter install the Android Studio:
1.Go to Settings->Plugin->Install Flutter and Dart->Restart Android Studio
2.Download the flutter sdk
3.In the environment Variable->User Variable->
ANDROID_HOME F:\AndroidSDK(Paste your Android SDK Path)
Path:F:\AndroidSDk;(Paste your Android SDK Path)
c:\ProgramFiles\Java\jdk\1.8.0_20\bin;(Paste your jdk Path)
c:\Users\Desktop\flutter\bin;(Paste your Flutter SDK Path)
4.Git install at c:\ProgramFiles\Git
5.Open Gitbash
$flutter doctor
$flutter doctor --android-licenses
Accept the licences Y Y Y Y
Make sure your Device should be connected your PC
Related videos on Youtube
Divya Krishnan
Updated on June 04, 2022Comments
-
Divya Krishnan almost 2 years
I am facing issues with installation. I get the following when I run flutter doctor
[✓] Flutter (Channel beta, v0.4.4, on Mac OS X 10.11.6 15G19009, locale en) • Flutter version 0.4.4 at /Users/divyakrishnan/Development/flutter • Framework revision f9bb4289e9 (11 days ago), 2018-05-11 21:44:54 -0700 • Engine revision 06afdfe54e • Dart version 2.0.0-dev.54.0.flutter-46ab040e58 [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/divyakrishnan/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 3.0 Preview.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01) • All Android licenses accepted. [!] iOS toolchain - develop for iOS devices ✗ Xcode installation is incomplete; a full installation is necessary for iOS development. Download at: https://developer.apple.com/xcode/download/ Or install Xcode via the App Store. Once installed, run: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer ✗ libimobiledevice and ideviceinstaller are not installed. To install, run: brew install --HEAD libimobiledevice brew install ideviceinstaller ✗ ios-deploy not installed. To install: brew install ios-deploy ✗ CocoaPods not installed. CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side. Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS. For more info, see https://flutter.io/platform-plugins To install: brew install cocoapods pod setup [✓] Android Studio • Android Studio at /Applications/Android Studio 3.0 Preview.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-915-b01) [!] IntelliJ IDEA Community Edition (version 2018.1.4) • 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 [!] Connected devices ! No devices available
I do not see the flutter or dart plugin in Android Studio 3.0 and IntelliJ.
-
Blasanka almost 6 yearsOpen up the android studio go to File -> Project -> Plugins and install flutter plugin there
-