Naman Vaishnav Naman Vaishnav - 3 months ago 64
Android Question

What is the correct Way to integrate KSOAP library in Android Studio?

I am trying something like this,

In Gradle,

Inside Build Types,

repositories {
maven { url 'http://ksoap2-android.googleco/svde.cmomn/2-repo'
}


and in dependencies . . .

compile 'com.google.code.ksoap2-android:ksoap2-android:3.6.0'



Error: Failed to resolve dependencies

Answer

solution :

repositories {
        maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases/' }
    }

and inside Dependencies

compile 'com.google.code.ksoap2-android:ksoap2-android:3.6.1'