In order to create a OUYA emulator, you might need to define a new device "definition" (see the docs for info, resolution etc)
Then there are a couple things to be aware:
1. When creating the avd emulator, you need to make sure to enable the "use of host GPU".
2.
There is actually a bug in the android emulator that prevents the use of the following configuration check:
"final boolean supportsEs2 = configurationInfo.reqGlEsVersion >= 0x20000;"
The above line apparently always resolve to false. It drove me nuts earlier tonight. So if you have been using tutorials, make sure not to use the above check or you will never make any progress
:). It is not needed for OUYA anyway as you can safely assume that OpenGL ES 2.0 is indeed supported. (Android supports it since 2.2)
Found this info at:
http://www.learnopengles.com/android-emulator-now-supports-native-opengl-es2-0/I am now successfully running OpenGL ES 2.0 successfully on Android OUYA like emulator on Mac OS X and Windows 8 both with HAXM enabled.
~ Happy New Year! (Japan Time)
Comments
I have a MacBook Air with only 2GB, set HAXM with 512MB, and set the x86 4.1.2 emulator RAM to 512MB as well. (apparently there is a problem/bug using 1024MB, it probably wouldnt run as well with only 2GB anyway).
I recently upgraded my PC to Windows 8 and installed Hyper-V so I had to create a new boot entry/option to boot without Hyper-V enabled in order to install HAXM. I explained this here:http://forums.ouya.tv/discussion/82/windows-8-how-to-install-intel-haxm-after-installing-hyper-v.
My PC has a lot more RAM (8GB) but same problem with the emulator RAM size. It does not run with 1024, and it is unstable above 768 MB.
1. Unfortunately, unless you have a lot of RAM and a super good CPU, the only way to get descent performance is to run the intel emulator with HAXM installed.
2. I've asked myself the same question. Unfortunately, the answer is emulators DO NOT support USB at all, meaning it wont recognize anything in the emulator, controller and what not. So the only way is to simulate buttons with the keyboard.
My thoughts
- libusb (exists for win32 as well)
- xboxdrv
Mixing them up to work/map to something like an OUYA controller...