FAQ
When synchronising the project, it does not resolve the dependencies and a 403 appears in the components.β
- Check the device connection.
- Check if you have correctly configured the TOKEN and USER of the Facephi repository in Gradle.
- Check the version of the embedded components
- Perform Invalidate Cache & Restart
- Try again
How do I fix the "Failed to transform bcprov-jdk18on-1.78.jar" error due to unsupported major class version 65?β
The error indicates that the bcprov-jdk18on-1.78.jar library was compiled using Java 17, which is incompatible with your project's current configuration or environment. To resolve this issue, you have several options:
-
Update the JDK: Ensure you are using Java 17 or higher. Update the JDK and configure Android Studio to use this version under File > Project Structure > SDK Location.
-
Configure compilation compatibility in Gradle:Add or adjust the following lines in your build.gradle file to specify the Java version:
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
}
- Verify and adjust the configuration of the Android Gradle Plugin (AGP) and JDK: Ensure that your AGP and JDK are correctly configured to support the Java version you require.
After making any changes, perform a clean and rebuild of the project with ./gradlew clean build to ensure all settings take effect.