Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 Android Studio 中导入库依赖项,但我无法在在线 Gradle 模式下使用。我没有使用代理,http 代理设置为无代理,但是每当我同步项目时,如果你在 http 代理后面,它会给我一个错误... . !!!
检查你的gradle.settings文件,看看你是否在那里设置了代理。当创建或打开一个新项目时,它会自动出现一个对话框。
gradle.settings