How do I insert the DroidSoapClient library into my Android application?

0

I'm having trouble importing the DroidSoapClient library into my application, I use Android Studio to develop and I'm inserting this library into the Main folder, but it looks like the import is not getting the file right, or I'm probably wrong at some point.

What should I do to properly import this library? link

    
asked by anonymous 13.10.2014 / 20:14

1 answer

1

You must enter .jar in the libs folder.

Then right-click on it and choose an option that is at the end:

Add as Libray

Ready!

Check this in the app build.gradle file (the above procedure should work already)

dependencies {
    // ================== LIBRARIES ======================
    compile fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
}

repositories {
    flatDir {
        dirs 'libs'
    }
}
    
14.10.2014 / 16:02