Game does not start in Xiaomi Redmi 4A
Hi, I am a beginner developer, developing my first Unity game (using latest Unity 2017.3). So far I was testing the game without any issue on my Samsung Galaxy Tab 8, but since it is intended for phones as well, I purchased a midsize smartphone Xiaomi Redmi 4A to test on smaller form factor. It has Android 6.0.1 on it. I transfer and install the APK on the device, however, when I start the game I can just see the "Made with Unity" logo for a second or two and than just black screen. After a while I get an error message: "GAME isn't responding, Do you want to close it?"
I tried to collect some logcat error log in Android Studio, from all the stuff, this seems to be relevant:
12-30 16:20:07.321 1448-1463/? E/ActivityManager: ANR in com.RRCreations.PerimeterDefense (com.RRCreations.PerimeterDefense/com.unity3d.player.UnityPlayerActivity) PID: 14156 Reason: Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 6. Wait queue head age: 5793.5ms.) Load: 4.36 / 4.36 / 4.39 CPU usage from 82747ms to 161ms ago:
Any help would be much appreciated!
Thanks Robert