ForgeRock SDKs

Configure Android compile options

The ForgeRock Android SDK uses Java 8 (v1.8). You must configure the compile options in your project to use this version of Java.

  1. In the Project tree view of your Android Studio project, open the app/build.gradle file for the module.

  2. In the android section, make sure the project has the following compile options:

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
Copyright © 2010-2022 ForgeRock, all rights reserved.