• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Random lags and crashes on Android 5 with LibGDX

Hello. I am developing a mobile game - Spatium - it is already on the Play Store.
The game is made via LibGDX. I have porblems on Android 5 (Lollipop): The game randomly stops drawing for 2-3 seconds. The biggest problem is the "Native crash at /system/lib/libc.so" - the app just gets killed in time - sometimes I can play for minutes, other times - it just crashes after seconds.

I am testing on Samsung Galaxy S2 (cyanogenmod 12 - AOSP 5.0.2). I thought that the problem is that I am not using the licensed firmware but no - the problem is the same on Nexus 5 and HTC (both with Android 5.0.1 and 5.0.2).

Here is the full crash from LogCat in debug mode: http://jpst.it/xLgY

I have 2 crash reports on my Developer Console: http://jpst.it/xLhV

I saw that the new GC is called all the time on my S2 and then I put largeHeap="true" in the manifest but nothing changed.
Here is small log from the GC - http://jpst.it/xLi2

I thought that I have to compile it with the new SDK and the latest version of LibGDX - last night i updated my SDK (via SDK manager) and updated the LibGDX project version but nothing changed...

I am browsing the internet for fix since 5 days and I didn't found anything, so I hope that someone will help me here.

Thank you!
 
Back
Top Bottom