Project Doesn't Build in Android Studio 2.3.1 at all - android

Yesterday I updated my Android Studio version from 2.3 to 2.3.1 and today when I tried to create a New Project this familiar screen should disappear after sometime but it didn't disappeared after 30 minutes of waiting. Anyhow I managed to close android studio by Task Manager and started Android Studio again and created a new project again and the same thing happened again.
Although when I open my previous projects again they are working fine but the problem is with the new project creation only. I am having a good working internet connection along with the latest version of gradle 3.4.1
Any idea why this would be happening?
How to resolve this?

I had this "problem" with android studio but after looking here and there I found out that when I update gradle version for my project, for example from 2.2 to 2.2.1, if I do not have that gradle version already android studio tries to download gradle distribution for that version to build the project and since I have poor internet connection, it was the download which was taking time.
Maybe your android studio is downloading the gradle too and it takes time.

Related

Android Studio Canary Build is stuck on Splash Screen on Windows 10

I'm stuck on pop-up splash screen with the loading progress indicator at 100%
I had Android Studio 4.2 Canary 16 previously installed and updated the Kotlin Plugin from 1.4.10 to 1.4.21. After installing the new version of the plugin I closed and restarted Android Studio which then crashed with error saying that the previous version of the Kotlin plugin failed to be uninstalled.
Subsequent restarts would then always crash Android Studio right before loading my Project.
I then uninstalled both the stable and canary(unzipped folder) Android studio programs and followed the steps as per How to completely uninstall Android Studio from windows(v10)?
I then reinstalled the latest Canary build - Arctic Fox 2020.3.1 and then the previous 4.2 Canary 16 but got the same issue on both versions getting stuck in the splash loading screen.
However installing the latest stable 4.1.1 build seems to work just fine. But I need to use the Canary builds to program Jetpack Compose Projects.
Is the canary build generating different files that the stable build does not? If so can I delete them to create to set up a fresh re-install?
This sounds to me alike a file-system permission or exclusive access issue:
the previous version of the Kotlin plugin failed to be uninstalled
You probably have to manually remove some leftovers from the previous install; on Windows these files are literally distributed all over the place. This may even be required when upgrading stable builds, as I recently had it with the "Fabric for Android Studio" plugin. Launching from the command-line might provide some more clue where it gets stuck (with high probability, when scanning the plugin directory). I've just checked; the Jetbrains Toolbox doesn't even uninstall old versions; %USERPROFILE%\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio (may vary) is where to find the plugins and where to check for file-system permissions. Also make sure, that the desktop shortcut actually points to the one version to run - or try to run studio64.exe directly.

After updating to Android studio 3.5 it takes forever to build project evertime 2019

Recently i got update of android studio to version 3.5 and after updating to it now it takes too much time in everything say it gradle build or project load or new project create.
before it was working fine and done any work in seconds!!
thanks in advance

Problems in updating Android Studio

My current Andriod studio version is 3.0.1 and I am updating it to 3.1.2. I try to update android studio and the patch is downloaded successfully but its not getting installed and I get the following error window.
So eventually the Android studio version is not updated.
I had a similar problem on some other files and could not figure it out.
You should download the last Android Studio version and remove the old one.

android studio gradle build

I am using latest version of android studio
and i am open a an older project the android studio not open this project
and always fininshing the gradle while downloading or building it
i have attached the screen shot with this for batter understanding
please help me on this issue these project was build with older android studio like 2.2 and now i am using the latest version which is android 2.3.3 but with this version project was not open properely
android gradle problem the screen shot of the problem
This same thing happened to me, when i was into android. Go to android sdk manager and update whatever it says, and you will good to go.
Even android studio is also trying to do the same thing. but it doesn't show you the progress.

gradle sync taking too much time android studio

I have imported a Android Studio 2.1 project to Android Studio 2.2.3. But the gradle sync is taking too much time. Current Gradle version is 2.14.1 Even I have used another gradle(2.10) No error shown on the event log. Have no idea where I am stuck. Don't know what to do.

Categories

Resources