If you’re building Flutter apps, understanding how to install Dart in Android Studio is essential. Dart is the programming language behind Flutter, and integrating it correctly ensures a smooth development experience. Here’s a step-by-step guide to installing Dart in Android Studio.

Step 1: Install Android Studio
Download and install the latest version of Android Studio. Ensure all Android SDK tools are properly set up during installation.
Step 2: Enable Dart Plugin
- Open Android Studio
- Go to File > Settings > Plugins (on macOS: Android Studio > Preferences > Plugins)
- Click on Marketplace
- Search for Dart
- Click Install
- Restart Android Studio
Step 3: Install Flutter Plugin (Optional but recommended)
If you’re planning to develop Flutter apps, you should also install the Flutter plugin, which will automatically install Dart as a dependency.
Step 4: Create a Dart Project
- Go to File > New > New Project
- Choose Dart
- Configure project location and SDK path
- Click Finish
Step 5: Sample Dart Code
Here’s a simple Dart program to verify your setup:
void main() { print('Dart is successfully installed in Android Studio!'); }
To run this code:
- Right-click on the Dart file and select Run ‘main.dart’
- You should see the output in the Run Console.