Make OUYA games with LÖVE

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. :frowning_face: Thus I spent the first 5 days of the game jam porting LÖVE to the OUYA.1 :smile:

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:

  1. Get love-android. My changes are merged upstream, so you don’t need to do anything special to get them.

  2. Follow the directions in the README.

  3. Open app/src/main/AndroidManifest.xml and delete the following line. If you don’t you’ll see an error like java.lang.NoClassDefFoundError: android.bluetooth.BluetoothManager2:

       android:installLocation="auto" xmlns: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!!!


I’ll add this too from Missing Sentinel Software
(scroll for the part about LOVE on OUYA)
1 Like

Cool, I did not know about that at the time that I did my port. I knew it had worked in a really old version of LOVE and broken at some point in the last few years. Now I know who got it working first and why.

1 Like