Failed to Import New Gradle Project in Android Studio

Failed to import new Gradle project in android studio

I also had an issue downloading gradle through AndroidStudio. I tried the following.

  1. Go to your AndroidStudio directory where you installed your studio Like D:\User\AndroidStudio
  2. In AndroidStudio go to \AndroidStudio\plugins\gradle\lib and copy gradle.jar
  3. Paste gradle.jar file in \AndroidStudio\lib directory.
  4. Download gradle directly from Gradle
  5. Copy the contents of gradle-1.6-bin.zip - After extracting zip file - (bin, media, init.d, lib folders) to \AndroidStudio\plugins\gradle
  6. Restart AndroidStudio

* Updated Answer *

And after following all the steps listed above, if it is not working, Kindly check below things.

1) Please delete .gradle folder from your user like C:\Document and Settings\AndroidUser\***\.gradle

2) You can check your HTTP Proxy in Settings.

Hope this helps!

Android studio 3.1 gives error on importing project

SOLVED

  1. Click on File >> Close Project

  2. Delete .idea folder in project Directory

  3. Open Project again

and it works

Gradle project sync failed in importing another module

Did you try this?

Build > Clean Project 

then

Build> Rebuild Project

Unable to import android libraries

Follow Below steps.

  1. Open Android Studio
  2. Go to File - > New -> Import Project
  3. Browse to the project location.
  4. rebuild your project.

That's it.



Related Topics



Leave a reply



Submit