This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/android/advanced-integration/manual-library-integration.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Manual library integration

Nutrient Android SDK can be imported manually. Below are the steps to follow if you wish to do so.

You must first log in to the Nutrient Portal(opens in a new tab) before accessing the Maven repository.

  1. Download the [Nutrient Android SDK library AAR bundle from our Maven repository](https://my.nutrient.io/maven/com/pspdfkit/pspdfkit/11.5.1/pspdfkit-11.5.1.aar).
  2. Copy it to your project’s libs directory.
  3. Add it as a file-based dependency, along with the required transitive dependencies:
dependencies {
implementation(files("libs/Nutrient-Android-SDK-AAR-11.5.1.aar")
// You must include all transitive dependencies of Nutrient.
implementation("com.google.android.material:material:1.13.0")
implementation("androidx.appcompat:appcompat:1.7.1")
implementation("androidx.cardview:cardview:1.0.0")
implementation("androidx.constraintlayout:constraintlayout:2.2.1")
implementation("androidx.exifinterface:exifinterface:1.4.2")
implementation("androidx.fragment:fragment-ktx:1.8.9")
implementation("androidx.fragment:fragment-compose:1.8.9")
implementation("androidx.gridlayout:gridlayout:1.1.0")
implementation("androidx.legacy:legacy-support-v4:1.0.0")
implementation("androidx.preference:preference:1.2.1")
implementation("androidx.recyclerview:recyclerview:1.4.0")
implementation("androidx.viewpager2:viewpager2:1.1.0")
implementation("androidx.webkit:webkit:1.15.0")
implementation("androidx.compose.foundation:foundation:1.10.3")
implementation("androidx.compose.material3:material3:1.4.0")
implementation("androidx.compose.runtime:runtime:1.10.3")
implementation("androidx.compose.runtime:runtime-rxjava3:1.10.3")
implementation("androidx.compose.ui:ui:1.10.3")
implementation("org.jetbrains.kotlin:kotlin-parcelize-runtime:2.3.10")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.3.10")
implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.4.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.10.0")
implementation("io.reactivex.rxjava3:rxandroid:3.0.2")
implementation("io.reactivex.rxjava3:rxjava:3.1.12")
}

flatDir repositories have been deprecated since Android Gradle plugin (AGP) 3.5. Use file-based AAR dependencies.

ProGuard

There’s no need to specify additional ProGuard rules since Nutrient uses consumersProguardFiles to keep ProGuard from obfuscating the required symbols. If you want to check out the rules, look in the proguard.txt file, which is located inside the Nutrient .aar:

Terminal window
cd [YOUR_AAR_LOCATION]
unzip [YOUR_AAR_NAME].aar -d aar-contents
cat aar-contents/proguard.txt