-
Notifications
You must be signed in to change notification settings - Fork 105
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
ANR increase #714
Comments
@Shekhanzai - Please provide the following information:
|
"I've been experiencing this issue for the past two weeks as well. The crash rate has significantly increased due to Applovin, with crashes occurring at a rate of 2% to 4%. |
Can you provide the Full crash/ANR reports with all stack traces and the Crash count or % of users affected, split by device and OS version |
While it is difficult to look into the issue without the full stack trace, the Can you provide the full stack trace of the ANR so we can better understand the ANR you are experiencing and look into solutions? |
63 ANRs because of waiting for threads to be finished, I'm passing the main activity context for initializing sdk I think the user when close the app which the main thread is finished but waiting for the applovin sdk created threads to be finished , all the threads,workers should be cancelled when users close the app |
@Shekhanzai, can you provide the full stack trace in a TXT file? Screenshots of certain aspects of the ANR stack trace do not help, as the full stack trace contains more important information to identify the issue. Can you also share what SDK versions this ANR is happening with? |
@applovinAsh Sorry for the late reply,
I'm using the Sdk Version: 12.6.1 |
I'm using the new beta api for Initializing sdk maybe it's a case |
Thank you for providing that information. This appears to happen when the application is being shut down due to memory allocation issues. Could you check for any memory-related issues, such as potential memory leaks, in your app? |
There isn't any memory leak in the app. When I integrate other ad network SDKs, such as AdMob, Yandex, or InMobi, the app runs without ANRs. However, when I integrate AppLovin into my app, ANRs start appearing on Android versions 14 and 12. |
@Shekhanzai - few more questions for you:
|
After integrating Applovin on my app the ANR increased from 0.5% to 2.5%
I also moved the applovin initialization to the background thread but it didn't help
The text was updated successfully, but these errors were encountered: