2014-02-19 2 views
0

내 앱이 GoogleTV에서 실행되어야하지만 GoogleTV 기기의 좋은 부분이 Android 매니페스트에 어떤 도움을 주든 지원되지 않는 것 같습니다. 어쨌든 내가 뭘 잘못하고 있는지 또는 앱이 특정 기기에 대해 거부당하는 이유를 알아낼 수 있습니까? 적어도 소니 NSZ-GS7/GX70에서 작동시킬 수 있다면, 나는 아주 행복 할 것이다. 다음은 apk 용 aapt 덤프 복사본입니다.Android 마켓에서 Google TV 호환성 문제

package: name='HarshMarshmallow.app' versionCode='2' versionName='1.0.1' 
sdkVersion:'11' 
targetSdkVersion:'17' 
uses-feature-not-required:'android.hardware.touchscreen' 
uses-permission:'android.permission.INTERNET' 
uses-permission:'android.permission.ACCESS_NETWORK_STATE' 
uses-permission:'android.permission.ACCESS_WIFI_STATE' 
application-label:'HarshMarshmallow' 
application-icon-120:'res/drawable-ldpi/ic_launcher.png' 
application-icon-160:'res/drawable-mdpi/ic_launcher.png' 
application-icon-240:'res/drawable-hdpi/ic_launcher.png' 
application-icon-320:'res/drawable-xhdpi/ic_launcher.png' 
application-icon-480:'res/drawable-xxhdpi/ic_launcher.png' 
application: label='HarshMarshmallow' icon='res/drawable-mdpi/ic_launcher.png' 
launchable-activity: name='HarshMarshmallow.app.activityMain' label='' icon='' 
uses-feature:'android.hardware.wifi' 
uses-implied-feature:'android.hardware.wifi','requested android.permission.ACCES 
S_WIFI_STATE, android.permission.CHANGE_WIFI_STATE, or android.permission.CHANGE 
_WIFI_MULTICAST_STATE permission' 
uses-feature:'android.hardware.screen.landscape' 
uses-implied-feature:'android.hardware.screen.landscape','one or more activities 
have specified a landscape orientation' 
main 
other-activities 
other-services 
supports-screens: 'small' 'normal' 'large' 'xlarge' 
supports-any-density: 'true' 
locales: '--_--' 
densities: '120' '160' '240' '320' '480' 
native-code: 'armeabi' 'armeabi-v7a' 'mips' 'x86' 

편집 :

<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
package="HarshMarshmallow" 
android:versionCode="3" 
android:versionName="1.0.2" > 

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

<uses-feature android:name="android.hardware.touchscreen" android:required="false"/> 
<uses-permission android:name="android.permission.INTERNET"/> 
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 

<application 
    android:name="applicationGlobalVars" 
    android:allowBackup="true" 
    android:icon="@drawable/ic_launcher" 
    android:label="@string/app_name" 
    android:theme="@android:style/Theme.Light.NoTitleBar"> 
    <service android:name="com.paypal.android.sdk.payments.PayPalService" android:exported="false"/> 
    <activity android:name="com.paypal.android.sdk.payments.PaymentActivity" /> 
    <activity android:name="com.paypal.android.sdk.payments.LoginActivity" /> 
    <activity  android:name="com.paypal.android.sdk.payments.PaymentMethodActivity" /> 
    <activity android:name="com.paypal.android.sdk.payments.PaymentConfirmActivity" /> 
    <activity 
     android:name="io.card.payment.CardIOActivity" 
     android:configChanges="keyboardHidden|orientation" /> 
    <activity android:name="io.card.payment.DataEntryActivity" /> 
    <activity 
     android:name="HarshMarshmallow.activityMain" 
     android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 
     android:screenOrientation="landscape" > 
     <intent-filter> 
      <action android:name="android.intent.action.MAIN" /> 
      <category android:name="android.intent.category.LAUNCHER" /> 
     </intent-filter> 
    </activity> 
    <activity android:name="activityAddChannel" 
     android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 
     android:screenOrientation="landscape"></activity> 
    <activity android:name="activityCurrentChannels" 
     android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 
     android:screenOrientation="landscape"></activity> 
    <activity android:name="activityCurrentShows" 
     android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 
     android:screenOrientation="landscape"></activity> 
    <activity android:name="activityDeleteFromChannel" 
     android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 
     android:screenOrientation="landscape"></activity> 
    <activity android:name="activityLoadingScreen" 
     android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 
     android:screenOrientation="landscape"> 
    </activity> 
    <activity android:name="activityMediaPlayer" 
     android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 
     android:screenOrientation="landscape"></activity> 
    <activity android:name="activityNameChannel" 
     android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 
     android:screenOrientation="landscape"></activity> 
    <activity android:name="activityNetworkSettings" 
     android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 
     android:screenOrientation="landscape"></activity> 
    <activity android:name="activityTutorial" 
     android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 
     android:screenOrientation="landscape"> 
    </activity> 
    <activity android:name="activityHelp" 
     android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 
     android:screenOrientation="landscape"></activity> 
</application> 

</manifest> 

편집 2 :

그래서 난 그냥 구글에서 다시 회신을 받았는데

다음

내 매니페스트의 복사본입니다.

Google Play 개발자 지원팀에 문의 해 주셔서 감사합니다. 귀하가보고 한 행동으로 을 조사한 결과, 귀하의 앱이 다음과 충돌하여 이 NSZGS7과 호환되지 않는다고 밝혀졌습니다 : none 지정된 기본 플랫폼 (armeabi, armeabi-v7a, mips, x86) 장치에서 지원됩니다. 죄송하지만 자세한 분석을 제공 할 수 없습니다.

내 응용 프로그램에 포함 된 라이브러리에 기본 플랫폼이 연결되어 있습니까? 아니면 해제하는 것을 잊어 버린 일종의 기본 설정이 있습니까? 나는 ADT와 함께 일식을 사용하고있다.

+0

Manifest.xml은 어떻습니까? – Jorgesys

+0

게시물에 매니페스트를 추가했습니다. – HarshMarshmallow

+0

소니 Google TV는 Android 버전 3.2 또는 API 레벨 13에 있습니다. – HarshMarshmallow

답변

1

그래서 나는이 질문에 답하기 위해 여기에 왔습니다. 왜냐하면 다른 사람들이 앞으로이 문제에 어려움을 겪을 것이라고 확신하기 때문입니다. 문제는 aapt 덤프 하단의 기본 코드 행과 관련이 있습니다. 개인 googletv에서 완벽하게 작동 할 수도 있지만 google은 상점에서 호환되지 않는다고 주장합니다.

Eclipse에서 문제를 해결하려면 먼저 프로젝트를 클릭하고 libs 섹션으로 이동하십시오. 이 섹션의 폴더에 항목이 있으면 GoogleTV에서 작동하지 않습니다. 폴더를 삭제하고 빌드 경로에서 라이브러리를 제거한 다음 코드 및 안드로이드 매니페스트에서 참조 (있는 경우)를 삭제하십시오. 내 문제는 페이팔 라이브러리의 포함에서 왔지만,이 문제를 해결하는 일반적인 방법이어야합니다.

희망이 도움이됩니다. 주의 사항 :

1) 당신은 당신이를 추가 할 필요가

2) Google TV에서와 세로 방향 가질 수 없습니다 :

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

에 당신의 AndroidManifest를 당신은 가질 수 없습니다

3) aapt 덤프 맨 아래의 원시 코드 줄.그러면 GoogleTV가 필터링됩니다.

0

일부 Sony 장치는 매니페스트에서 uses-library 태그가 필요합니다. 이 중 하나인지 확실하지 않지만 애플리케이션 태그 아래에 다음이 필요할 수 있습니다.

<uses-library android:name="com.sony.tablet" /> 
0

오리엔테이션 코드가 변경되지 않았는지 확인하십시오. TV이기 때문에 앱은 어떤 방향의 물건도 실제로 사용할 수 없습니다.

+0

휴대 전화 또는 GoogleTV에 관계없이 응용 프로그램에 대해 항상 인스턴스화 할 방향 프리젠 테이션이 필요합니다. 매니페스트에서 풍경을 선포하면 GoogleTV 장치가 작동하지 않게됩니까? – HarshMarshmallow

+0

나는 그것에 확신하지 못한다. 내 앱에 대해 매니페스트의 방향을 엉망으로 만든 다음 Google TV가 더 이상 지원되지 않는다는 것을 안다. 시도해 볼 가치가 있습니다. – reidisaki