gpt4 book ai didi

android - 每当我在 android studio 中创建一个新项目时,我都会收到一个错误

转载 作者:行者123 更新时间:2023-11-29 01:52:31 24 4
gpt4 key购买 nike

我安装了 android studio,当我点击新项目时,我得到类似的错误

enter image description here

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"

偷自 Gradle settings cannot be cast error

关于android - 每当我在 android studio 中创建一个新项目时,我都会收到一个错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17069824/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com