I wanted to participate in the OUYA Winter Game Jam 2020, and I planned to use my favorite game framework, LÖVE. LÖVE supports Android, so I compiled my game and tried it out on my Ouya. And it segfaulted during startup. Thus I spent the first 5 days of the game jam porting LÖVE to the OUYA.1
It’s working now, and I’ve started making my game. Anyone else can now use LÖVE for their OUYA game. Here’s how:
-
Get love-android. My changes are merged upstream, so you don’t need to do anything special to get them.
-
Follow the directions in the README.
-
Open
app/src/main/AndroidManifest.xml
and delete the following line. If you don’t you’ll see an error likejava.lang.NoClassDefFoundError: android.bluetooth.BluetoothManager
2:android:installLocation="auto" xmlns:android="http://schemas.android.com/apk/res/android"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.VIBRATE" /> - <uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.RECORD_AUDIO" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="23" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="28" />
And that’s all!!!