-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with "java.time.Duration" on Applovin adapter #15
Comments
Hi @sergip76, Unfortunately, this part of the code is not related to the CAS AppLovin Adapter, but rather to the AppLovin SDK, which we cannot modify. However, your issue seems to be related to the Java version. Although Android API 26 introduced the Please make sure that your app is using at least Java 1.8. To do so, the following lines should be defined in your app-level android {
// ...
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
} Let us know if you managed to resolve the issue. |
Yes. I was already using Java 1.8 with the code you wrote. It seems it doesn't solve the problem. |
@sergip76 - Same reported to Applovin, you may get fix soon. |
Thank you very much @balakumar-t. I hope Applovin will fix it quickly. |
It is not possible to use the SDK with API lower than 26 due to this problem:
It seems that the Applovin adapter uses the java.time.Duration class introduced in API 26.
The text was updated successfully, but these errors were encountered: