Reputation: 1266
I am having some trouble with Android Studio and flutter. Every time I make a change in the pubspec.yaml file of my flutter app and save the change, then run my app in my phone, my computer gets stuck while building the app.
Its stucks while running gradle -> Running Gradle task 'assembleDebug'...
I am forced to restart my laptop and then run AS again. The app will now run in my phone but anytime I open pubspec.yaml and make some dependency changes, then my computer will get stuck again and I have to restart again.
Below are some details that might be helpful.
I had tried the same with Ubuntu 18 and I was still getting a similar challenge.
How do I resolve this?
Upvotes: 0
Views: 195
Reputation: 1266
The solution was to change the Operating System and reinstall it again afresh. I did not manage to get a simpler solution
Upvotes: 1