Adding kSOAP dependency to Gradle project

后端 未结 8 706
梦毁少年i
梦毁少年i 2020-12-24 13:43

I\'m trying to make kSOAP working in my Android project with Gradle.

This is my project\'s build.gradle file:

buildscript {
    repositories {
               


        
8条回答
  •  轮回少年
    2020-12-24 13:52

    I was in the same situation. And I gave up to add that jar from mavencentral.

    I added the raw jar as a lib.

    1. Download the latest (or whatever version) of ksoap2-android from this url
    2. Call it in the build.gradle, see below

    Here is the code:

    dependencies {
       compile files('libs/ksoap2-android.jar')
    }
    

    I hope it will help.

提交回复
热议问题