Launching lib\main.dart on Redmi Note 5 Pro in debug mode... Running Gradle task 'assembleDebug'... Exception: Gradle task assembleDebug failed with exit code -1 this is the error showing in the run log when im trying to run the demo flutter codes.
Asked
Active
Viewed 61 times
0
-
Which Android Studio version? Which demo codes? Did you install the Flutter and Dart plugins? – corradolab May 29 '20 at 14:11
-
Android version 4.0 , plugin of both flutter and dart were installed. While creating a new project in flutter , some codes are pre written which can be installed. – Natiq Ansari May 29 '20 at 14:52
-
refer to this link [Assemble-debug-fix](https://stackoverflow.com/questions/59516408/flutter-app-stuck-at-running-gradle-task-assembledebug) – Dean Villamia May 31 '20 at 16:11