Install Aspose.PDF for Android via Java

Supported Android OS versions

Aspose.PDF for Android via Java is platform independent and can be used on any platform where Android Runtime environment is installed and will run on Android systems running Android OS 2.0 or higher. At present, the component has been tested with:

  • Android 4.2 v 17

Installation

  1. Download the latest version of Aspose.PDF for Android via Java from Aspose Repository.
  2. Unzip the installation package and copy the aspose.pdf.android-4.0.jar file to your Java application.
  3. Provide a reference to the aspose.pdf.android-4.0.jar file so the compiler can find it.

Install Aspose.PDF for Android via Java from Aspose Repository

  1. Add maven repository into your build.gradle 
  2. Add ‘Aspose.PDF for Android via Java’ JAR as a dependency
 // 1. Add maven repository into your build.gradle 

repositories {

    mavenCentral()

    maven { url "http://repository.aspose.com/repo/" }

}


// 2. Add 'Aspose.PDF for Android via Java' JAR as a dependency

dependencies {

    ...

    ...

    compile (group: 'com.aspose', name: 'aspose-pdf', version: '18.6', classifier: 'android.via.java')

}