-
Notifications
You must be signed in to change notification settings - Fork 287
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
AppLovinFlutterMediationExtras Class not found error [Android] #1170
Comments
Hi @theLee3 what version of AppLovin are you using? |
@malandr2 1.2.0 |
@theLee3 are you using |
@malandr2 My apologies for the incorrect info in the edit. I am using |
FTR, I just tested with Logs
|
Hi @theLee3, I'm not able to reproduce a crash. I added
to the I'm using Can you try this? |
@malandr2 I am using the same versions of everything. I tried with both the Any idea what would lead to the class not found error I am seeing? The only difference I noted was my project using newer Java/Kotlin versions, newer versions of some plugins/libraries, and the newer declarative Gradle plugin approach as opposed to imperative. However, after rolling all of those things back, the issue persists. |
It appears that the issue was due to the JDK version that was being used. Somehow it had changed in the project's gradle settings in Android Studio from JAVA 17 to the system installed version (22). Thanks for your feedback. |
Please re-open this issue. @malandr2 I was incorrect. The problem occurs when run in release mode. I have tested with the |
A ProGuard rule is needed to preserve the This can be accomplished with a single
Then adding the following line in the consumerProguardFiles 'proguard-rules.pro' |
Plugin Version
gma: 5.1.0
gma_mediation_applovin: 1.2.0
flutter: 3.24.2
The problem
AppLovin mediation throws class not found error on Android, followed by a null pointer exception when working with mediations extras.
Steps to Reproduce
AppLovinMediationExtras
object.AppLovinMediationExtras
object toAdRequest
viamediationExtras
.Expected results: Able to pass extras to ad request for AppLovin mediation network.
Actual results: Error occurs preventing the ad request from being made.
Logs
The text was updated successfully, but these errors were encountered: