-
Notifications
You must be signed in to change notification settings - Fork 13
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
Comments
However other sdk imports below are fine
|
Yes, the new Android SDK release is the issue. The quick workaround will be replacing |
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. |
Add example variable cordova plugin add cordova-plugin-applovin-max --save --variable SDK_VERSION=12.3.1 fix AppLovin#51
I sent a pull request Thank you sir |
@EMI-INDO - Thanks for the PR, other priorities took precedence, I will check this out tomorrow. |
Fixed it in v1.1.5: https://github.com/AppLovin/AppLovin-MAX-Cordova/releases/tag/release_1_1_5. |
Yes in the near future I will update the Android and iOS code which will work on the latest SDK. |
Problem up again , it somehow connected to [13.0.1] SDK release? How Build now? |
The latest version of our Cordova Plugin depends on v12.3.1 native SDKs (https://github.com/AppLovin/AppLovin-MAX-Cordova/releases). Thus, you need to ensure that your Podfiles and build.gradle files hardcode to version 12.3.1. You can see that is what we did in our https://github.com/AppLovin/AppLovin-MAX-Cordova/blob/master/plugin/plugin.xml#L26 |
Did something potentially change recently? iOS build works fine. Android build fails. This is the output log:
|
@kreso22 - looks like you are bundling the latest version of our Android SDK v13.0.0 which do not have those APIs anymore. Our latest Cordova plugin supports up to native Android and iOS SDKs v12.3.1: https://github.com/AppLovin/AppLovin-MAX-Cordova/releases. |
I'm not trying to 'do' anything. I am using latest 1.1.5 (with 12.3.1), and have been using it. iOS works. I can't trace where the problem is coming from. I run
|
For Google, can you hardcode to version 23.3.0.0, and for UnityAds can you hardcode to 4.12.2.0? |
Yes! That worked. |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 5 days since being marked as stale. |
but if we use |
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?
The text was updated successfully, but these errors were encountered: