Nemika
Nemika

Reputation: 21

Flutter application not launching on run

I was working on this application in Android Studio which was running fine on the emulator until today. I did not do any changes to the code and settings whatsoever and now when I run it, the console shows nothing nor does the emulator and after 2-3 seconds the run button goes green again.

I've tried connecting it to a real device, changed the emulator, wiped the emulator's data, ran flutter doctor, cleared Flutter cache, and even updated the Android Studio app, but it's still not running. And most importantly it's not even giving me an error so that I can look up for it.

The app did successfully run a couple of times today before this issue happened. I am new to Android Studio and I don't know what else I can do to fix this.

Upvotes: 2

Views: 16128

Answers (2)

user28684379
user28684379

Reputation: 1

Had same problem, no error shown until I tried flutter run command. My problem was disk space running low

Upvotes: 0

Moaz El-sawaf
Moaz El-sawaf

Reputation: 3039

From the top menus, navigate to Tools -> Flutter and click on Flutter Clean, then try to run again.

Upvotes: 2

Related Questions