小编Age*_*t48的帖子

无法解析Ksoap2

Android Studio有问题:

无法解决com.google.code.ksoap2-android:ksoap2-android:3.6.1

这是我的build.gradle:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 19
    buildToolsVersion '25.0.0'

    defaultConfig {
        applicationId "com.example.papiroomdemo.webservicetest"
        minSdkVersion 15
        targetSdkVersion 19
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        repositories {
            maven { url 'http://ksoap2-android.googlecode.com/svn/m2-repo' }

        }

    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')

    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.2.1'
    compile 'com.google.code.ksoap2-android:ksoap2-android:3.6.1'
    compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
    compile 'de.hdodenhof:circleimageview:2.0.0'
    compile 'com.hannesdorfmann.smoothprogressbar:library:1.0.0'
    compile 'com.github.castorflex.smoothprogressbar:library-circular:1.0.0'
}
Run Code Online (Sandbox Code Playgroud)

错误:(30,13)无法解决:com.google.code.ksoap2-android:ksoap2-android:3.6.1
在"项目结构"对话框的" 文件显示"中显示

java android android-ksoap2 android-gradle-plugin

4
推荐指数
1
解决办法
1522
查看次数