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

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


Solution: inside build.gradle of a module (not project) write:

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

and inside Dependencies

implementation 'com.google.code.ksoap2-android:ksoap2-android:3.6.2'


in Android Studio, you have two build.gradle File:

My first file (Project):

buildscript {    repositories {        jcenter()        google()    }    dependencies {        classpath 'com.android.tools.build:gradle:3.1.2'        // NOTE: Do not place your application dependencies here; they belong        // in the individual module build.gradle files    }}task clean(type: Delete) {    delete rootProject.buildDir}