I keep getting the following error when I upload an apk to the store:
"Apk error: package must accept one OUYA intent: tv.ouya.intent.category.GAME or tv.ouya.intent.category.APP"
I originally had it as ouya.intent.category.GAME, which seemed to work fine before the patch for getting the game listed under "Games". I changed it to have the tv. bit on the front, but I still get the error. I've tried with an exported/signed apk and the one I ripped straight out of the android bin folder in my eclipse project
I've had problems in the past with android manifest files refusing to update, so might just be that.
This is what my manifest file looks like:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="
http://schemas.android.com/apk/res/android"
package="com.crystallinegreen.executivestar.alpha"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/ExecutiveStarTheme" >
<activity
android:name="com.crystallinegreen.executivestar.Launcher"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="tv.ouya.intent.category.GAME"/>
</intent-filter>
</activity>
<activity
android:name="com.crystallinegreen.iridian.graphics.IridianGraphicsActivity">
<intent-filter>
<category android:name="tv.ouya.intent.category.GAME"/>
</intent-filter>
</activity>
<activity
android:name="com.crystallinegreen.executivestar.TestGameActivity">
<intent-filter>
<category android:name="tv.ouya.intent.category.GAME"/>
</intent-filter>
</activity>
<activity
android:name="com.crystallinegreen.executivestar.TutorialActivity">
<intent-filter>
<category android:name="tv.ouya.intent.category.GAME"/>
</intent-filter>
</activity>
</application>
</manifest>
Comments
Website
Website
<activity
android:name="com.crystallinegreen.iridian.graphics.IridianGraphicsActivity">
<intent-filter>
<category android:name="tv.ouya.intent.category.GAME"/>
</intent-filter>
</activity>
My TutorialActivity and TestGameActivity extend this class. It is my graphics engine, which is in the form of a jar file under libs in my project
Website
Website
The Executive Star app uploaded fine this time round and I can see it in store. But I already had it installed when I went to play it the first time (as I'd side loaded it). I uninstalled via console/adb shell and selected to download it from store. The download got half way through before saying "unfortunately could not install the application." Tried again a couple of times more, but the download bar stayed at zero, with me selecting "cancel". Then about a minute later, I get two pop up notifications saying the "unfortunately could not install", one after another. At which point I tried fiddling with my ethernet plug, causing me to accidentally knock out the power lead and reset the OUYA (doh!)
Tried again after the OUYA booted up again and it worked fine, installed and plays! \o/
Also just as a note, when a game has just installed, neither of the "Done" or "Open" buttons are in focus / highlighted. I had to hit down on the left stick to get one of them to highlight
Website
Website
Aw man, I finally got my game uploaded (took a half hour on my crappy internet) and my icon is in the wrong folder, though it works on the hardware in the Games list, so now I get to do it again. Damn you drawable-xhdpi!
Note, this is exactly the kind of thing that happens when uploading to Apple's app store, something *always* goes wrong on the first try (and second, and third...)
Website
How long did yours take to get approved? I had figured it would be instant since they aren't doing reviews yet, but nope, not instant, my status is still "Submitted"
Website
Website