Question

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?

Was it helpful?

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.

OTHER TIPS

Do you just need a Jar or you want to build the jar yourself. If you are just looking for the jar, they are already compiled and ready to download on this link here.

Looks like github download is not working. Use this link to download the latest android-async-http jar

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top