Skip to content
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

error: cannot find symbol import com.applovin.sdk.AppLovinAdContentRating #51

Open
UzverNumber47 opened this issue Apr 2, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@UzverNumber47
Copy link

MAX Plugin Version

1.1.4

Cordova Version

12.0.1

Device/Platform Info

Android 12

Current Behavior

error: cannot find symbol import com.applovin.sdk.AppLovinAdContentRating

Expected Behavior

Should compile

How to Reproduce

Simply add a plugin
cordova plugin add cordova-plugin-applovin-max

Additional Info

This is probably somehow connected with the latest release of applovin

Could please suggest a quick workaround?

@UzverNumber47 UzverNumber47 added the bug Something isn't working label Apr 2, 2024
@UzverNumber47
Copy link
Author

error: cannot find symbol com.applovin.sdk.AppLovinGender
Is also affected.

However other sdk imports below are fine

import com.applovin.sdk.AppLovinMediationProvider; import com.applovin.sdk.AppLovinPrivacySettings; import com.applovin.sdk.AppLovinSdk; import com.applovin.sdk.AppLovinSdkConfiguration; import com.applovin.sdk.AppLovinSdkSettings; import com.applovin.sdk.AppLovinSdkUtils;

@UzverNumber47
Copy link
Author

Yes, the new Android SDK release is the issue.

The quick workaround will be replacing
com.applovin:applovin-sdk:+
with
com.applovin:applovin-sdk:12.3.1

@thomasmso
Copy link
Member

Thanks for reporting this issue. This is due to Cordova plugin automatically pulling in our latest iOS/Android native SDKs. We'll have a fix out sometime today.

EMI-INDO added a commit to EMI-INDO/AppLovin-MAX-Cordova that referenced this issue Apr 3, 2024
Add example variable
cordova plugin add cordova-plugin-applovin-max --save --variable SDK_VERSION=12.3.1

fix AppLovin#51
@EMI-INDO
Copy link

EMI-INDO commented Apr 3, 2024

@thomasmso

I sent a pull request
I hope you also update the plugin version in npm

Thank you sir

@thomasmso
Copy link
Member

@EMI-INDO - Thanks for the PR, other priorities took precedence, I will check this out tomorrow.

@thomasmso
Copy link
Member

@EMI-INDO
Copy link

EMI-INDO commented Apr 4, 2024

Yes in the near future I will update the Android and iOS code which will work on the latest SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants