Android API 30 leads black screen

Hello!

Yesterday I have updated my game with an increase in the api version to 30 and many of my players only started seeing black screens instead of playing.

I found this thread with a similar problem https://community.stencyl.com/index.php?issue=1996.0, but if I understood correctly, then there is no solution. Please, help.

You can try the workaround. Adding in AndroidManifest.xml android:allowNativeHeapPointerTagging="false" as it explain here : https://source.android.com/devices/tech/debug/tagged-pointers

In OpenFL you should copy AndroidManifest.xml in your project and after that in project.xml to set this tag : <template path="AndroidManifest.xml" rename="app/src/main/AndroidManifest.xml" /> with the path ot the AndroidManifest.xml

I suggest to copy original manifest file from the Lime , example here : https://github.com/haxelime/lime/blob/develop/templates/android/template/app/src/main/AndroidManifest.xml

I used the AndroidManifest by your link and the problem was partially solved, but it seems that the game opens in portrait mode, although I specified landscape in the manifest android:screenOrientation=“sensorLandscape”.
On other API versions everything still works correctly. What could be the reason?

I’m not sure. Did you try to set only landscape , not sensorLandscape ?