0

I opened up Android Studio today and for the first time I saw this error:
Error:Cannot find JAR 'core-3.1.1.jar' required by module 'gradle-jetty' using classpath or distribution directory '/Applications/Android Studio.app/Contents/gradle/gradle-2.14.1'

I have tried, restarted both my Mac and Android Studio but yet I still get this error. Can anyone help me?

TheLearner
  • 312
  • 2
  • 20
  • I had the same problem, follow the answer detailed [here](http://stackoverflow.com/questions/17625622/how-to-completely-uninstall-android-studio) and re-install – Rohlex32 Feb 27 '17 at 20:11

4 Answers4

1

I had the same problem, follow the answered detailed here to uninstall, and then just re-install. Before importing any existing projects just create a dummy project to ensure that everything finishes installing correctly.

Then simply just tell your antivirus that the project folder for android studio is excluded from the virus searches.

Community
  • 1
  • 1
Rohlex32
  • 120
  • 9
  • Yes, I followed the instructions in the exact same post you linked and everything is working fine now. Thank you! – TheLearner Feb 27 '17 at 20:21
0

It turns out my antivirus had removed the file. An uninstall and fresh install of Android Studio was able to solve my problem.

TheLearner
  • 312
  • 2
  • 20
0

I have the same problem. Yeah, my Antivirus deleted the file too but it's seem uninstall and re-install Android Studio didn't work for me.

After re-install Android Studio, I can work normal with 1 project but when i try to open other project even create a new one, the 'core-3.1.1 jar' error show up again.

Harvey
  • 1,353
  • 1
  • 14
  • 27
0

Just remove ./gradle folder compeletely. Let Android Studio install Gradle from new or do it yourself.

Orri
  • 920
  • 1
  • 8
  • 20