Google TV:支持的Android设备0设备

时间:2012-12-24 14:01:10

标签: android android-manifest google-play google-tv

apk 0 devices http://s9.postimage.org/54vilhlf3/apk.png image link

这是我在谷歌播放结束时上传的谷歌电视应用程序清单我收到消息“0设备被支持”有人可以告诉我我做错了什么 (我想定位googleTV设备)

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="*******"
    android:versionCode="12"
    android:versionName="1.081" >

    <uses-sdk
        android:minSdkVersion="3"
        android:targetSdkVersion="17" 
        android:maxSdkVersion="17"/>

    <uses-feature android:name="android.hardware.touchscreen" android:required="false"/> 
    <uses-feature android:name="com.google.android.tv" android:required="true"/> 


    <application
        android:name=".App"
        android:icon="@drawable/logo_min"
        android:label="@string/app_name" >
        <activity
            android:name=".WelcomeActivity"
            android:label="@string/title_activity_main" > 
            <!-- android:screenOrientation="landscape" -->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

2 个答案:

答案 0 :(得分:2)

您可能希望使用“aapt dump badging”来查看,但看起来您的APK中的某些内容正在请求本机工具(图表中的原生平台) - 可能是您包含的库?

当然,使用原生内容可以防止您在Google TV上看到。

我也有点关注功能中的大写电视。

答案 1 :(得分:1)

我认为你的minSdkVersion必须是11。

参考: https://developers.google.com/tv/android/docs/gtv_market_publishing_checklist