我安装了android studio,当我点击新项目时,我得到错误,如
org.jetbrains.plugins.gradle.settings.GradleSettings cannot be cast to org.jetbrains.plugins.gradle.settings.GradleSettings
答案 0 :(得分:1)
中偷走“你应该从中下载完整的zip包 手动http://services.gradle.org/distributions/gradle-1.6-bin.zip 并将此zip包复制到C:\ Documents and Settings(您的 名).gradle \包装\ 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 “