· I also had the problem. I downloaded the gradle binary distribution zip file, deleted the gradle folder from my project, then went to settings of Android Studio, checked “Offline work”, used “Use local gradle distribution” and set the path of unzipped gradle folder on the “Gradle home” and “Service directory path” text fields.. Then I tried to open the project with Android. Select the option "Use local grade distribution" and in Gradle home option; go and select in C:\Program Files\Android\Android Studio\gradle\gradle It will not ask you . · 6) Delete bltadwin.ru and other files from this directory. 7) Paste the new downloaded bltadwin.ru here. 8) Run the android studio. 🙂. Solution no. 6: Note: My answer seems quite long but its only 2 steps away if you want a correct way to configure with current project. I found what was the actual problem.
Usually Android Studio will automatically ask you to update Gradle plugin when you update Android Studio or importing a new project into the Android Studio with older Anroid gradle plugin version. Below is the popup asking for updating the Android Gradle Plugin to the latest version. Note: Android Plugin can run/update independent of Android. Solution 5. If Running Gradle task assembledebug is taking unexpectedly long time, try updating Gradle in your project. Just Follow Below Steps. Open a project in Android Studio. Right-click on android in Projects Panel. Go down to Flutter and click on the 'Open Android module in Android Studio'. Now, click on 'gradle' in the right panel. Android Studio (Beta) gets stuck when I try to build/run the project, as well as clean it. It stays responsive, but the Gradle: Executing Tasks message doesn't disappear (longer than 20 minutes is when I give up) and the app never runs.
Note: This issue is fixed in Android Studio Canary 10 and higher. If you have Android Studio set to receive updates on the Canary or Dev channel, you can get the latest version by choosing Help Check for Updates (Android Studio Check for Updates on macOS). Otherwise, you can download it from the Android Studio preview page. When this time it stucks at gradle building, Force close the android studio. 5) Now go to C:\Users\bltadwin.ru\wrapper\dists\gradleall\c64ydeuardnfqctvr1gm30w53 (the end directory name may be different) 6) Delete bltadwin.ru and other files from this directory. 7) Paste the new downloaded bltadwin.ru here. Download Gradle For Android Studio; Download Gradle For Android Studio Windows 10; Here is How to Fix Android Studio Stuck at Gradle Download and How To Manually Download and install any Gradle distribution version for your Android Studio Read The Step by Step Article Here.
0コメント