First of all, I'm new to Android, and I'm using API 10 (Gingerbread).
I am developing a simple game with libgdx. But I just install everything to get started and ... in AndroidManifest.xml this line:
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
The following error appeared in the console: _
error: Error: String types not allowed (at 'configChanges' with value 'keyboard|keyboardHidden|orientation|screenSize').
I found this in the Stackoverflow answer, I switched to API 13 and it works ... but I think there should be a better solution than not making the application less compatible, because there is one line of code (there are many people who still use Gingerbread) . Is there another way to fix this?
android api android-manifest
Yavierre
source share