我安装了 android studio,当我点击新项目时,我得到类似的错误
org.jetbrains.plugins.gradle.settings.GradleSettings cannot be cast to org.jetbrains.plugins.gradle.settings.GradleSettings
最佳答案
"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"
关于android - 每当我在 android studio 中创建一个新项目时,我都会收到一个错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17069824/