我安装了 android studio,当我点击新项目时,我得到了类似的错误
org.jetbrains.plugins.gradle.settings.GradleSettings cannot be cast to org.jetbrains.plugins.gradle.settings.GradleSettings
我安装了 android studio,当我点击新项目时,我得到了类似的错误
org.jetbrains.plugins.gradle.settings.GradleSettings cannot be cast to org.jetbrains.plugins.gradle.settings.GradleSettings
“您应该手动从 http://services.gradle.org/distributions/gradle-1.6-bin.zip下载完整的 zip 包,然后将此 zip 包复制到 C:\Documents and Settings(Your name).gradle\wrapper\ dists\gradle-1.6-bin\72srdo3a5eb3bic159kar72vok\
如果它确实有效,您必须重新安装 Android Studio 并再次使用它。
如果你使用win7 64bit,尝试编辑android-studio\bin\studio.bat
SET VM_OPTIONS_FILE=%IDE_BIN_DIR%\studio%BITS%.exe.vmoptions
到
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 "
从 Gradle 设置中偷走不能转换错误