Trying to do a little demo game, which would be ran on desktop and android. The problem is that when I try to run the game on android emulator, I get OpenGL ES 2.0 is not supported on your device error in logcat. I’m using eclipse. I did some googling and found that I need to put this code into my manifest file:
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
Now my manifest file looks like this, but I still get the same error.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cig.dreams.android"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" />
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/GdxTheme" >
<activity
android:name="com.cig.dreams.android.AndroidLauncher"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Any suggestions? (I’m going to sleep in a few minutes, so don’t expect me to reply for 8 hours.)