If Running Gradle task assembledebug is taking unexpectedly long time, try updating Gradle in your project . Just Follow Below Steps. Go down to Flutter and click on the ‘Open Android module in Android Studio’. Now, click on ‘gradle’ in the right panel.