Failed to import new Gradle project in android studio
I also had an issue downloading gradle
through AndroidStudio
. I tried the following.
- Go to your
AndroidStudio
directory where you installed your studio LikeD:\User\AndroidStudio
- In
AndroidStudio
go to\AndroidStudio\plugins\gradle\lib
and copygradle.jar
- Paste
gradle.jar
file in\AndroidStudio\lib
directory. - Download gradle directly from Gradle
- Copy the contents of
gradle-1.6-bin.zip
- After extracting zip file -(bin, media, init.d, lib folders)
to\AndroidStudio\plugins\gradle
- 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
Click on File >> Close Project
Delete .idea folder in project Directory
- 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.
- Open Android Studio
- Go to File - > New -> Import Project
- Browse to the project location.
- rebuild your project.
That's it.
Related Topics
Android Button Background Color
How to Delete Internal Storage File in Android
Folder Added on Android Is Not Visible via Usb
Cannot Create an Instance of Class Viewmodel
5.1 Crash - a Taskdescription's Primary Color Should Be Opaque
Android Studio 1.0.2 Not Building App:Mergedebugresources Error
Proxy Which Requires Authentication with Android Emulator
Crop Video Before Encoding with Mediacodec for Grafika's "Continuous Capture" Activity
Google Map Android API V2 Can't Display Map in Play Store Application
Copy Database File to Sdcard in Android
Failed to Launch Emulator: Error: Emulator Didn't Connect Within 60 Seconds
Android: Onsaveinstancestate Not Being Called from Activity
Android:Dither="True" Does Not Dither, What's Wrong
Given a Tensor Flow Model Graph, How to Find the Input Node and Output Node Names
Setsupportactionbar Toolbar Cannot Be Applied to (Android.Widget.Toolbar) Error
How to Change the Group Owner in a Persistent Group in Wi-Fi Direct