【发布时间】:2018-04-19 02:26:35
【问题描述】:
我正在构建一个使用 wordpress-java 库的 android 应用程序,但我收到了 "Failed to resolve: redstone.xmlrpc:xmlrpc:1.1.1" 错误。
Build.Gradle
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.paultoillion.myapplication"
minSdkVersion 19
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
implementation 'net.bican:jwordpress:0.7.0'
}
implementation net.bican:jwordpress:0.7.0 是我添加的以将其包含在我的项目中。我已经尝试了所有我能想到的,但似乎无法找出问题所在。我能够使用 Maven 在 Intellij 中使用它,但不能在使用 Gradle 的 Android Studio 中使用
【问题讨论】:
标签: java android wordpress gradle xml-rpc