2

i installed android studio and when i click new project i get error like

enter image description here

org.jetbrains.plugins.gradle.settings.GradleSettings cannot be cast to org.jetbrains.plugins.gradle.settings.GradleSettings
hoss
  • 2,430
  • 1
  • 27
  • 42

1 Answers1

1

"You should download the full zip package from http://services.gradle.org/distributions/gradle-1.6-bin.zip manually and copy this zip package to C:\Documents and Settings(Your name).gradle\wrapper\dists\gradle-1.6-bin\72srdo3a5eb3bic159kar72vok\

If it does works ,you had to re-install Android Studio and take this again.

If you use win7 64bit,Try to edit android-studio\bin\studio.bat

SET VM_OPTIONS_FILE=%IDE_BIN_DIR%\studio%BITS%.exe.vmoptions

to

SET VM_OPTIONS_FILE=%IDE_BIN_DIR%\studio%BITS%.exe

SET JRE=%JDK% IF EXIST "%JRE%\jre" SET JRE=%JDK%\jre SET BITS= IF EXIST "%JRE%\lib\amd64" SET BITS=64"

Stole from Gradle settings cannot be cast error

Community
  • 1
  • 1
Alec.
  • 5,371
  • 5
  • 34
  • 69