Search code examples
javaandroidmavenjarandroid-async-http

build jar from loopj android-async-http source


I'm trying to build a jar from the https://github.com/loopj/android-async-http source code but have been unsuccessful.

I also tried including the source as a library in my android project in android studio but was unable to.

I want to build from source because the jar's available in maven and in the github repo are too old and I want to use and test some of the new features available in the source.

How can I either build the jar and include the jar in my android studio project or simply properly include the source in my android studio project?


Solution

  • I was able to build the jar myself in ubuntu:

    cd  android-async-http/library
    gradle build
    

    That generated a build directory that contained a jar of the library.