Moving to Android SDK 30

My android app works great when I target Android 29 SDK (version 10), but when I change the target to Android 30 SDK, I get crashes almost immediately. If I comment out most of the code (to suppress crashes) and try to display graphics, the screen is black when it shouldn’t be. Has anyone else run into this issue? I wouldn’t be changing the target except that Google now requires a target of version 11 for new apps (https://developer.android.com/distribute/best-practices/develop/target-sdk). Any help would be appreciated.

See this post, and the thread for more context. You need to add this to AndroidManifest.xml to disable tagged pointers. Perhaps this should be included by default until the issue is fixed.

2 Likes

Thanks Justin for your help. Adding

<application android:allowNativeHeapPointerTagging="false">

to my AndroidManifest.xml template fixed my problem.