Files
..
2026-02-06 17:39:25 +01:00
2026-02-06 13:45:55 +01:00
2026-02-06 13:45:55 +01:00
2026-02-06 13:45:55 +01:00
2026-02-06 13:45:55 +01:00
2026-02-06 13:54:12 +01:00
2026-02-06 13:45:55 +01:00
2026-02-06 13:45:55 +01:00
2026-02-06 13:45:55 +01:00
2026-02-06 17:39:25 +01:00
2026-02-06 17:39:25 +01:00
2026-02-06 13:45:55 +01:00

Atlantis Android

Capture HTTP/HTTPS traffic from Android apps and send to Proxyman for debugging.

Overview

Atlantis Android is a companion library to Proxyman that allows you to capture and inspect network traffic from your Android applications without configuring a proxy or installing certificates.

Features

  • Automatic OkHttp traffic interception
  • Works with Retrofit 2.9+ and Apollo Kotlin 3.x/4.x
  • Network Service Discovery (NSD) for automatic Proxyman detection
  • Direct connection support for emulators
  • GZIP compression for efficient data transfer
  • Minimal configuration required

Requirements

  • Android API 26+ (Android 8.0 Oreo)
  • OkHttp 4.x or 5.x
  • Kotlin 1.9+

Installation

Gradle (Kotlin DSL)

dependencies {
    debugImplementation("com.proxyman:atlantis-android:1.0.0")
}

Gradle (Groovy)

dependencies {
    debugImplementation 'com.proxyman:atlantis-android:1.0.0'
}

Quick Start

1. Initialize in Application

class MyApplication : Application() {
    override fun onCreate() {
        super.onCreate()
        
        if (BuildConfig.DEBUG) {
            Atlantis.start(this)
        }
    }
}

2. Add Interceptor to OkHttpClient

val okHttpClient = OkHttpClient.Builder()
    .addInterceptor(Atlantis.getInterceptor())
    .build()

3. Run Your App

Open Proxyman on your Mac, run your Android app, and watch the traffic appear!

Project Structure

atlantis-android/
├── atlantis/              # Library module
│   └── src/main/kotlin/
│       └── com/proxyman/atlantis/
│           ├── Atlantis.kt           # Main entry point
│           ├── AtlantisInterceptor.kt # OkHttp interceptor
│           ├── Configuration.kt       # Config model
│           ├── Message.kt             # Message types
│           ├── Packages.kt            # Data models
│           ├── Transporter.kt         # TCP connection
│           ├── NsdServiceDiscovery.kt # mDNS discovery
│           └── GzipCompression.kt     # Compression
├── sample/                # Sample app
└── PUBLISHING.md          # Publishing guide

Setup

Simply open the atlantis-android folder in Android Studio. It will automatically download the Gradle wrapper and sync the project.

Option 2: Generate Gradle Wrapper Manually

If you have Gradle installed locally:

cd atlantis-android
gradle wrapper --gradle-version 8.4

Building

# Build the library
./gradlew :atlantis:build

# Run tests
./gradlew :atlantis:test

# Build sample app
./gradlew :sample:assembleDebug

Testing

./gradlew :atlantis:test

Publishing

See PUBLISHING.md for instructions on publishing to Maven Central or JitPack.

License

Apache License 2.0 - see LICENSE