flutter_applovin_max
flutter_applovin_max copied to clipboard
AppLovinPrivacySettings error on android
AppLovinPrivacySettings error on android
Output: `/Users/hanzla/Development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_applovin_max-2.1.2/android/src/main/java/dev/iori/flutter_applovin_max/FlutterApplovinMaxPlugin.java:80: error: cannot find symbol AppLovinPrivacySettings.setHasUserConsent( call.argument("HasConsent"), context ); ^ symbol: variable AppLovinPrivacySettings location: class FlutterApplovinMaxPlugin /Users/hanzla/Development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_applovin_max-2.1.2/android/src/main/java/dev/iori/flutter_applovin_max/FlutterApplovinMaxPlugin.java:81: error: cannot find symbol AppLovinPrivacySettings.setIsAgeRestrictedUser( call.argument("IsAgeRestricted"), context ); ^ symbol: variable AppLovinPrivacySettings location: class FlutterApplovinMaxPlugin /Users/hanzla/Development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_applovin_max-2.1.2/android/src/main/java/dev/iori/flutter_applovin_max/FlutterApplovinMaxPlugin.java:82: error: cannot find symbol AppLovinPrivacySettings.setDoNotSell( call.argument("DoNotSell"), context ); ^ symbol: variable AppLovinPrivacySettings location: class FlutterApplovinMaxPlugin Note: /Users/hanzla/Development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_applovin_max-2.1.2/android/src/main/java/dev/iori/flutter_applovin_max/FlutterApplovinMaxPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 3 errors
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':flutter_applovin_max:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details. `
** AppLovinPrivacySettings throwing error on android but working fine on iOS** How do we have to solve this ?
yes, I've got this issue too. Don't know how this happened. please help to fix this.
yes, I've got this issue too. anyone know solution how to resolve?
Feel free to migrate over to the official plugin: https://github.com/AppLovin/AppLovin-MAX-Flutter
Thanks @thomasmso for your response. I used thhis official plugin. but i am facing one issue like when i use banner image it's not showing in column. it's showing on screen like top,bottom and center. i want to use in column. so you have idea?
Sorry, but we don't support displaying banner vertically.
Fix this issue please 🙏 . The official plugin is not working properly.
Facing the same issue.
I have fixed the error by doing the below steps:
- "flutter clean"
- "flutter pub get"
- Open the android folder in the new android studio window
- Now run the app and you will get an error
- I just rich out the line at error
- you just need to change three lines of code(cross-check with the below image)
- or try out the suggestion. it's the same as in flutter.
- and I am good to go running the app.
I think this one is a temporary solution but working for me.