无法访问 Jcenter 工件 Android Studio
Unable to access Jcenter artifacts Android Studio
我通过 Bintray 将一个工件文件推送到 Jcenter。通过在 Jcenter 存储库上搜索工件确认,该工件已发布。但是,我无法通过 gradle.
在我的应用程序中访问该工件
这是项目回购 link:https://bintray.com/alfjam/maven/tickerupdate5/view
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "socket.ingrain.io.sockettest"
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.wingoku.tickers:1.0.4'
}
我做错了什么?如何访问我的工件文件?
此致
您缺少工件 ID。尝试:
compile 'com.wingoku.tickers:app:1.0.4'
我通过 Bintray 将一个工件文件推送到 Jcenter。通过在 Jcenter 存储库上搜索工件确认,该工件已发布。但是,我无法通过 gradle.
在我的应用程序中访问该工件这是项目回购 link:https://bintray.com/alfjam/maven/tickerupdate5/view
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "socket.ingrain.io.sockettest"
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.wingoku.tickers:1.0.4'
}
我做错了什么?如何访问我的工件文件?
此致
您缺少工件 ID。尝试:
compile 'com.wingoku.tickers:app:1.0.4'