Quantcast
Channel: ODK (OUYA Developer Kit) - OUYA Developer Forums
Viewing all articles
Browse latest Browse all 36

[Store] Intent Filter Error

$
0
0
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>

Viewing all articles
Browse latest Browse all 36

Trending Articles