Skip to content
Guides

How to Make an Android App in Kotlin with ComPDFKit Conversion SDK

  1. Open Android Studio, then click File -> New -> New Project. As shown in Figure 2-1, select Empty Views Activity.

image-20230419165235343

  1. Choose the project name, package name, desired location, and the corresponding minimum SDK version, then click Finish.

  2. Copy all files from the "lib" folder to your project's "app/main" directory.

  3. Add the following line to the dependencies block in "app/build.gradle.kts":

kotlin
...

dependencies {
    ...
    implementation(files("lib/ComPDFKitConversion-release.aar"))
    ...
}
  1. Sync the Gradle configuration to ensure the ComPDFKit Conversion SDK is added to the project.