Thursday, February 11, 2016

How to add jar files in class path in Android Studio

step -1-
Keep all the jar files in the libs folder of the projects
File -- > Project Structure
or
Ctr + Alt + Shift + S
Import1
Step -2-
Go to dependencies Tab
Import3
Step -3
click on '+' insert and click on file dependencies and select the files which we want to add in class path
Import2
Step-4 Finally see you will be able to see follwing lines added in
build.gradle
compile files('libs/ksoap2-android-assembly-2.5.8-jar-with-dependencies.jar')

No comments: