How to Fix App Crash on Android 12 and 13?

  • Replies:5
Bella Daines
  • Forum posts: 3

Feb 23, 2025, 10:08:22 PM via Website

Issue: My app crashes on Android 12 and 13, but it works fine on older versions.
Details:

The error log mentions permission and background process issues.
The app requests permissions dynamically.
No issues were found during testing on Android 10 and 11.
Has anyone successfully fixed such compatibility issues?

Reply
James Watson
  • Forum posts: 1,602

Mar 1, 2025, 12:41:40 PM via Website

The Android platform has introduced Scoped Storage to enhance user privacy by reducing the blanket permissions apps could previously request. In addition, starting with API 33 (Android 13), Google introduced additional media-focused permissions to further refine access control. Transitioning to scoped storage and implementing detailed permissions frameworks are essential steps every Android developer should take to prepare their applications for Android 12 and 13.

Download size < 0.12 MB. But also accurate enough, ad-free & free.
The minimalist app available on Play Store: https://goo.gl/ws42fN
Your 5-star is appreciated. Blog: https://okblackcafe.blogspot.com

Reply
Deborah Mattews
  • Forum posts: 1

Mar 8, 2025, 5:32:53 AM via Website

Clear cache [how to set up hp scan to email][1] data, update the app, check for Android/System WebView updates, and restart your device.

Reply
john pinero
  • Forum posts: 1

Mar 13, 2025, 10:56:47 AM via Website

To fix app crashes on Android 12 and 13, clear the app cache, update the app, and check for system updates. Running these steps on a device with a topcpu ensures smoother performance and faster troubleshooting.

Reply
Steven
  • Forum posts: 123

Apr 9, 2025, 9:09:36 AM via Website

Your app crashing on Android 12 and 13 could be due to stricter permission and background process restrictions introduced in these versions. Starting from Android 11, apps can no longer access entire external storage with READ_EXTERNAL_STORAGE permission.

Instead, you need to use the Storage Access Framework (SAF) to request access to specific files or directories. To fix this, update your app to use SAF for file access and ensure you handle permissions dynamically.

Also, check if your app is targeting the latest SDK version and update it if necessary. This should help resolve the crashes on Android 12 and 13 while maintaining compatibility with older versions.

Reply
Ana Maria
  • Forum posts: 2

Apr 15, 2025, 9:33:31 AM via Website

Hello member

Try my method, hope it works for you

Reply