Android 无法从github解析库
我是Android的新手。我想添加此库: 但我遇到了错误:错误:未能解析:com.github.alshell7:VokaturiAndroid:{1.03} 我正在尝试这样的方法:Android 无法从github解析库,android,Android,我是Android的新手。我想添加此库: 但我遇到了错误:错误:未能解析:com.github.alshell7:VokaturiAndroid:{1.03} 我正在尝试这样的方法:implementation'com.github.alshell7:VokaturiAndroid:{1.03}在gradle(模块应用程序)中添加此依赖项 implementation'com.github.alshell7:VokaturiAndroid:1.03' 然后转到gradle(项目)并添加如下内容
implementation'com.github.alshell7:VokaturiAndroid:{1.03}
在gradle(模块应用程序)中添加此依赖项
implementation'com.github.alshell7:VokaturiAndroid:1.03'
然后转到gradle(项目)并添加如下内容
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' } //add this line of code
}
}
别忘了重新同步你的项目