Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

android-async-http

> 编程语言
Open source

An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.

10.6K stars0 likes1 views
WebsiteGitHub

About

An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.

Asynchronous Http Client for Android

An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.

Changelog

See what is new in version 1.4.11 released on 29th June 2020

https://github.com/android-async-http/android-async-http/blob/1.4.11/CHANGELOG.md

Javadoc

Latest Javadoc for 1.4.11 release are available here (also included in Maven repository):

https://android-async-http.github.io/android-async-http/doc/

Features

  • Make asynchronous HTTP requests, handle responses in anonymous callbacks
  • HTTP requests happen outside the UI thread
  • Requests use a threadpool to cap concurrent resource usage
  • GET/POST params builder (RequestParams)
  • Multipart file uploads with no additional third party libraries
  • Tiny size overhead to your application, only 60kb for everything
  • Automatic smart request retries optimized for spotty mobile connections
  • Automatic gzip response decoding support for super-fast requests
  • Optional built-in response parsing into JSON (JsonHttpResponseHandler)
  • Optional persistent cookie store, saves cookies into your app's SharedPreferences
  • Support sni with Conscrypt on older android device (wiki)

Examples

For inspiration and testing on device we've provided Sample Application.
See individual samples here on Github
To run Sample application, simply clone the repository and run this command, to install it on connected device

java
gradle :sample:installDebug

Maven

You can now integrate this library in your project via Maven. There are available two kind of builds.

releases, maven central

https://repo1.maven.org/maven2/com/loopj/android/android-async-http/

Maven URL: https://repo1.maven.org/maven2/
GroupId: com.loopj.android
ArtifactId: android-async-http
Version: 1.4.11
Packaging: JAR or AAR

Gradle

groovy
repositories {
  mavenCentral()
}

dependencies {
  implementation 'com.loopj.android:android-async-http:1.4.11'
}

development snapshots snapshot might not be published yet

https://oss.sonatype.org/content/repositories/snapshots/com/loopj/android/android-async-http/

Maven URL: https://oss.sonatype.org/content/repositories/snapshots/
GroupId: com.loopj.android
ArtifactId: android-async-http
Version: 1.4.12-SNAPSHOT
Packaging: JAR or AAR

Gradle

groovy
repositories {
  maven {
    url 'https://oss.sonatype.org/content/repositories/snapshots/'
  }
}
dependencies {
  implementation 'com.loopj.android:android-async-http:1.4.11-SNAPSHOT'
}

Documentation, Features and Examples

Full details and documentation can be found on the project page here:

https://android-async-http.github.io/android-async-http/

Issues· 120 open

View all issuesOpen on GitHub
  • #1391

    [Issue] Use looper thread, must call Looper.prepare error v1.4.11

    Updated Oct 7, 2025
  • #1396

    hanzuo

    Updated Aug 12, 2025
  • #1395

    Favor revisar Vulnera legalidad de acceso y datos usuarios #Android, #Estafa,

    Updated Jun 15, 2025
  • #1394

    Java

    Updated May 18, 2025
  • #1387

    Finding Documentation

    Updated May 13, 2024
  • #1390

    Issue with Encoding in android-async-http-1.4.5 Library

    Updated May 9, 2024
  • #1388

    Build problems with SdkVersion 34 (Android 14) on Release

    Updated Jan 14, 2024
  • #1389

    Does it support IPV6 network

    Updated Dec 27, 2023
  • #1312

    Seeking maintainers / developers

    criticalhelp wantedUpdated Sep 15, 2023
  • #1386

    Support throwing `UnknownServiceException` if there is no cleartext traffic permitted

    Updated Aug 7, 2023

> Tags

Javaandroidjava

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言