[FIXED] How to run dart in Android studio?

Issue

Suppose I have a code of Dart typed in Android studio and when I run the app I want it to display the output in Android studio itself…. How can I do it because when I run the code it says me to connect a device….

Solution

Either write it as unit test
or install the Dart SDK and create a Dart project instead of a Flutter project.

enter image description here

Answered By – Günter Zöchbauer

Answer Checked By – Senaida (Easybugfix Volunteer)

Leave a Reply

(*) Required, Your email will not be published