4

How to add a jar file into a Android studio project. For example I am trying to add ksoap2-android-assembly-3.1.1-jar-with-dependencies.jar into a project. Dont see an option anywhere to add the jar file into the project so as to access the library functions within it.

Prasad Nair
  • 485
  • 2
  • 6
  • 12

2 Answers2

17

Create a libs folder in your project and copy the jar into it. In the project view, right-click on the jar and choose Add as Library.

Scott Barta
  • 79,344
  • 24
  • 180
  • 163
0

This is android libs >> Open Libraries settings >> add jar.

For more information, check the stack-overflow link

Link

Thanks

Community
  • 1
  • 1
Md Abdul Gafur
  • 6,213
  • 2
  • 27
  • 37