如何将' https://jitpack.io库添加到Android Studio版本Bumble Bee?
在Android Studio的最后版本中,我们可以简单地将库https://jitpack.io
添加到gradle
file> file> file(module project),但在最新更新中(android-studio bumble-bee ),该文件的结构已更改,我不知道如何添加此库。
In last versions of android studio we can simply add the library https://jitpack.io
to the gradle
file (module project) easily but in the newest update (android-studio-bumble-bee
), the structure of this file has been changed and I don't know how to add this library.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
对于 kotlin dsl 内部 settings.gradle.kts 文件,您可以使用
setUrl()
这样。For Kotlin DSL inside settings.gradle.kts file you can use
setUrl()
just like this.中添加jitpack/maven {url“ https://jitpack.io”}
在settings.gradle.kts
Add jitpack / maven { url "https://jitpack.io" } in settings.gradle.kts
and then add dependency build.gradle.kts
您可以将其添加到
settings.gradle
以下方法:You can add it in your
settings.gradle
the following way:您可以在项目设置中添加以寻找设置Gradle希望它能帮助
you can added in the project settings look for settings gradle hope it helps
在模块级别build.gradle(不是应用程序级别)上
On Module level build.gradle (not app level)