AppLovin / AppLovin-MAX-SDK-Android

Other
210 stars 95 forks source link

There is a bug in the latest my target version. #669

Open omeratesss opened 1 month ago

omeratesss commented 1 month ago

MAX SDK Version

12.5.0

Device/Platform Info

Xiaomi 13 lite - android 14

Current Behavior

I updated Max SDK to the latest version and updated My Target to the latest version (5.20.1.0). The application crashes when it is first opened.

Expected Behavior

I should not crash in the latest Max SDK and the latest My Target version.

How to Reproduce

If MAX SDK has version 12.3.1 and My Target has version 5.20.0.0, there is no crash. If you want to get Crash, MAX SDK should be 12.5.0 and My Target should be 5.20.1.0.

Note: This error is only received in release mode. Dexguard is used in my project.

Additional Info

This is my crash log: Ekran Resmi 2024-05-22 02 31 57

This is my Sdk initialize code block: ` val initConfig = AppLovinSdkInitializationConfiguration .builder(applovinAppId, getApplicationContext()) .setMediationProvider("max") .build()

    AppLovinSdk.getInstance(getApplicationContext()).initialize(initConfig) {
        Log.i(TAG, "Applovin onInitCompleted")
    }`
thomasmso commented 1 month ago

@jplianghu - could you investigate?

jplianghu commented 1 month ago

@omeratesss It seems that the myTarget SDK is attempting to access a resource that is missing in MIUI (Xiaomi's UI system). This likely explains why we can not reproduce it. To resolve this issue, myTarget should review their updates in version 5.20.1 and ensure that all required resources are available in MIUI as well. Could you please reach out to myTarget regarding this matter?