Here I am adding ksoap2.jar file for calling .net webservice. You can download this from
http://ksoap2-android.googlecode.com/svn/m2-repo/com/google/code/ksoap2-android/ksoap2-android-assembly/3.0.0/ksoap2-android-assembly-3.0.0-jar-with-dependencies.jar.
For adding ksoap2 file we have put that file in libs folder.project->libs.Open the libs folder in explorer and paste the ksoap2 jar file in it.Come to studio and refresh the project.we will see ksoap file in libs folder.Now righrt click the ksoap file and select add as library option.then new create library window will come. Clcik on Ok Button.Now we can use this jar file for our application.also add the below code in build.gradle file and rebuild the application
|
dependencies { compile files('libs/ksoap2-android-assembly-2.4-jar-with-dependencies.jar') } |
