Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add a .jar file into Android studio (version 0.4.0) project

Tags:

android

ksoap2

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.

like image 941
Prasad Nair Avatar asked Dec 03 '22 20:12

Prasad Nair


1 Answers

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.

like image 83
Scott Barta Avatar answered Dec 10 '22 12:12

Scott Barta