Quantcast
Channel: Flutter App stuck at "Running Gradle task 'assembleDebug'... " - Stack Overflow
Browsing latest articles
Browse All 55 View Live

Image may be NSFW.
Clik here to view.

Answer by blackorbs for Flutter App stuck at "Running Gradle task...

I opened editing of the project in Android Studio from Tools menu then I found out it was trying to download gradle-7.5-all.zip but no progress. Now from /home/myusername/.gradle/wrapper/dists folder I...

View Article



Answer by mohas for Flutter App stuck at "Running Gradle task...

I cannot edit other answeres so here is mine on top of answere from @Sébastien.first use flutter run -v or of you are using Android Studio, edit project configurations and add -v to the Additional run...

View Article

Answer by Harvey Jones for Flutter App stuck at "Running Gradle task...

In my case I just restart my computer and it's fixed. Probably it's happening because of lack of some files while launching the app.

View Article

Answer by Rashid Wassan for Flutter App stuck at "Running Gradle task...

1: If it is the first launch, please be patient since it will download all gradle files for the first time.2: To know if it really stuck, take help from the task manager in windows or the activity...

View Article

Answer by moshen pejam for Flutter App stuck at "Running Gradle task...

for me, I just changed my proxy, while I have problem on sync gradle files on my country.

View Article


Answer by miladkhalighi for Flutter App stuck at "Running Gradle task...

On android studio go to file/invalidate caches/For me this works

View Article

Answer by Joel Kanyi for Flutter App stuck at "Running Gradle task...

I had the same issue for almost half a day, so what I did :Go to my Home directory, enabled show hidden folders.Delete the .gradle folder.Went back to Android studio, opened the terminal, and ran the...

View Article

Answer by Szomti for Flutter App stuck at "Running Gradle task...

Had this issue today, every solution I found didn't work. In my case, I had to update Windows, after installing every update they listed and then restarting pc, the problem disappeared.

View Article


Answer by Jamal Azizbeigi for Flutter App stuck at "Running Gradle task...

I had the same challenge, meanwhile, doing flutter clean, flutter doctor, download gradle didn't help me and my issue stayed again. Finally the bellow steps rescued me from this trap.1)Create a new...

View Article


Answer by Viroth for Flutter App stuck at "Running Gradle task...

This solution should be working for some cases:1 - Download Google Web Driver in Android SDK.2 - Update Dart And Flutter in IntelliJ Idea or Android Studio or VS Code plugin.3 - Run again.

View Article

Answer by Amina Bekir for Flutter App stuck at "Running Gradle task...

if u are using windows 10,open your project in the terminal, and write these commands:cd androidgradlew cleangradlew buildthen run the project.Note: if u face a problem like no path for JAVA_HOME so...

View Article

Image may be NSFW.
Clik here to view.

Answer by SenthilVelan Shanmugam for Flutter App stuck at "Running Gradle...

Can run the flutter app in profile / release mode to launch the app quickly. Note: We suppose to relax the hot reload. mode details

View Article

Answer by Upulie Handalage for Flutter App stuck at "Running Gradle task...

For me simply the process took too much time. It kept running for about 10 mins and finally the app started running.

View Article


Answer by bounxye for Flutter App stuck at "Running Gradle task...

I fixed this with upgrading flutter version from 2.0.5 to 2.2.0.

View Article

Answer by Mithson for Flutter App stuck at "Running Gradle task...

This might also be due to developers permission, if you will be using any package which requires devices permission lets say url_launcher and you haven't given permission for that it wont run. Solution...

View Article


Answer by Priyanka for Flutter App stuck at "Running Gradle task...

nothing was working for meI do update the flutter SDK & update all the dependencies to the latest version. after that, I open the android module as a project in android studio. It downloads some...

View Article

Image may be NSFW.
Clik here to view.

Answer by Yash Zade for Flutter App stuck at "Running Gradle task...

the problem is solved using following:in android studio tools--> sdk Manager --> android sdk--> sdk platforms. dowload android sdk platform 28now re-run ur project

View Article


Answer by Eyayu Tefera for Flutter App stuck at "Running Gradle task...

The same problem occurred on my mac in Android Studio 4.1, unfortunately, I forgot to install Java on my machine, try installing Java.

View Article

Answer by Ashiqur Rahman Nayeem for Flutter App stuck at "Running Gradle task...

In my case, the issue was, project_path contained "space".Example:~/New Folder/myProjectCheck if you have this issue.

View Article

Answer by Justin for Flutter App stuck at "Running Gradle task...

If Running Gradle task assembledebug is taking unexpectedly long time and if its not working even after checking the solutions mentioned in this article.Just go and create new virtual device in AVD...

View Article

Image may be NSFW.
Clik here to view.

Answer by Aditya Thakur for Flutter App stuck at "Running Gradle task...

If Running Gradle task assembledebug is taking unexpectedly long time,try updating Gradle in your project. (Downloading latest zip file)You can follow steps in this answer.Or try by:Open a project in...

View Article


Answer by yung for Flutter App stuck at "Running Gradle task...

I stumbled on this problem when I was running my app without debugging it. Theres two optionStart DebuggingRun without DebuggingI was doing the second option the whole time which got me stuck in that...

View Article


Image may be NSFW.
Clik here to view.

Answer by João Paulo S. Araujo for Flutter App stuck at "Running Gradle task...

For me what worked was clean wipe the emulator data by AVD Manager

View Article

Answer by Thrishool MSM for Flutter App stuck at "Running Gradle task...

This worked for me.I got an issue with license acceptance.First you need to go through the flutter directory and then run the commandC:\Users\thrishool\flutterProjects\flutter>flutter doctorThen it...

View Article

Answer by Haileapp for Flutter App stuck at "Running Gradle task...

If you already opened a project and create another new project, make sure that you update the Gradle file based on the already runnable project version. In my case, I already installed Gradle 5.6.4 on...

View Article


Answer by nuredin ali for Flutter App stuck at "Running Gradle task...

Download the required gradle zip from a fast mirror: https://distfiles.macports.org/gradle/gradle-5.6.2-all.zipCopy gradle-5.6.2-all.zip to...

View Article

Answer by Chetan Dongarsane for Flutter App stuck at "Running Gradle task...

do flutter clean firstthen copy your project folder somewhere elseclose your project and open same project which is copied diffrent location.thats it !!

View Article

Answer by Mt Khalifa for Flutter App stuck at "Running Gradle task...

taskkill /F /IM dart.exe then flutter clean

View Article

Answer by user8716887 for Flutter App stuck at "Running Gradle task...

Have you tried that from cli ?flutter devicesflutter runhttps://flutter.dev/docs/get-started/test-drive?tab=terminalIn a mac environment, the building process finished in 140s.

View Article



Answer by DARK_C0D3R for Flutter App stuck at "Running Gradle task...

This worked for me:C:\Users<user>\AndroidStudioProjects<flutter_app>\android> gradlew cleanC:\Users<user>\AndroidStudioProjects<flutter_app>\android> gradlew buildNow run...

View Article

Answer by Mamad Farrahi for Flutter App stuck at "Running Gradle task...

In my case installingJDK solved the problem.macOS Catlina v10.15.4

View Article

Answer by Dayo Jaiye for Flutter App stuck at "Running Gradle task...

I fixed the issue by switching off my antivirus while running my project in the terminalTo run your project in a terminal simply type --> flutter run

View Article

Answer by Utkarsh gupta for Flutter App stuck at "Running Gradle task...

Finally i fixed it.The problem is mostly due to android SDK or gradle built toolThere are different ways you can try to fix it.way 1. check whether google drivers are installed . you can find them in...

View Article


Answer by André Luiz Müller for Flutter App stuck at "Running Gradle task...

With my LG G6 I have the same issue.It looks like the new versions of adb added some compatibility issues with some LG phones.Downgrading to platform-tools version 28.0.0 solved the...

View Article

Answer by Bauroziq for Flutter App stuck at "Running Gradle task...

Just connect with internet then disable your windows defender/firewall. It works for me.

View Article

Answer by Muhammad Zacky Asyari for Flutter App stuck at "Running Gradle task...

I solved the issue by reinstalling SDK Platform on Android studio for Android API 29Tools->SDK Manager-SDK PlatformNext go to Android > app > build.gradleMake sure you also change...

View Article


Answer by Alex Reye for Flutter App stuck at "Running Gradle task...

In Android Studio:Tools -> Flutter -> Flutter clean.After that just run the app

View Article


Image may be NSFW.
Clik here to view.

Answer by Oleksii Khoroshun for Flutter App stuck at "Running Gradle task...

In my case, I need to update Android SDK built-tools.Open in Android studio Tools->SDK Manager-SDK tools.Mark Android SDK Built-Tools, press Apply, wait for the update.After updated, press Apply and...

View Article

Answer by adal2404 for Flutter App stuck at "Running Gradle task...

How are you !,After many attempts, nothing they recommended worked for me.My problem was that I had * .dart files with many lines of code to perform SQL create and insert operations initially in...

View Article

Answer by Sébastien for Flutter App stuck at "Running Gradle task...

flutter run -v showed that I was stuck onDownloading https://services.gradle.org/distributions/gradle-5.6.2-all.zipThis was going to take hours, as for some reason the download speed was ~10kB/s on a...

View Article

Answer by Osvaldo Vb for Flutter App stuck at "Running Gradle task...

I used the command "flutter clean" in my project and it returned to work perfectly, please try.Igual a imagemflutter clean

View Article


Image may be NSFW.
Clik here to view.

Answer by Rishabh for Flutter App stuck at "Running Gradle task...

In my case the Android Gradle Plugin Version was not updated to any version at all. So i updated it by right clicking on my project folder, clicked "Open Module Settings" and updated gradle plugin...

View Article

Answer by enriquenery for Flutter App stuck at "Running Gradle task...

If you are on Windows:try adding firewall exceptions to your Android Studio.Go to: Control Panel\System and Security\Windows Defender Firewall\Allowed appsHit the button: Allow another appAdd your new...

View Article


Answer by Christian Dressler for Flutter App stuck at "Running Gradle task...

This helped: check if root/android/app/build.gradle SDK version is set to minimum 28 for:compileSdkVersion 28 and targetSdkVersion 28Occurs with import of Firestore.

View Article

Answer by Uday Chauhan for Flutter App stuck at "Running Gradle task...

It is taking time on windows 10 as the Android studio needs firewall permission to connect to the device(AVD). There can be another reason that you don't have downloaded full Android SDK on your...

View Article


Answer by JustCodeNinja for Flutter App stuck at "Running Gradle task...

In my case I forgot to download Google Web Driver.It’s running once I downloaded Google Web Driver.

View Article

Answer by Aldy for Flutter App stuck at "Running Gradle task...

Here is solution in my case.Open your flutter Project directory.Change directory to android directory in your flutter project directory cd androidclean gradle ./gradlew cleanBuild gradle ./gradlew...

View Article

Answer by briancollins081 for Flutter App stuck at "Running Gradle task...

I am using VS Code on Ubuntu 18.04For me it was a background download of the appropriate android sdk build tools for my connected device. Running flutter run -v showed that it was downloading android...

View Article

Answer by Paul Parker for Flutter App stuck at "Running Gradle task...

There were two reasons for me on Archlinux:I needed to unset TERM which was set to xterm-256color (reference).For some reason, flutter stable was not working for me; so I switched to master with:...

View Article


Flutter App stuck at "Running Gradle task 'assembleDebug'... "

When I run the app it get stuck Launching lib\main.dart on Lenovo A319 in debug mode...Running Gradle task 'assembleDebug'...(This is taking an unexpectedly long time.)It never initialize Gradle nor...

View Article

Browsing latest articles
Browse All 55 View Live




Latest Images