我知道這個問題已被問了很多次,我試圖從其他類似的問題應用所有修復,仍然無法使應用程序工作在Nexus 7中選項卡並僅適用於手機。這裏是我用於免費應用程序的Manifest。應用程序沒有顯示在谷歌播放商店的Nexus 7
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.&&&&%%$%#.*****"
android:versionCode="8"
android:versionName="1.7">
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="18" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<!-- android:debuggable should be set false for the google store apk -->
<application
android:name="com.$%#$%#$%#$%[email protected]#[email protected]#[email protected]"
android:allowBackup="true"
android:icon="@drawable/icon"
android:label="@!#@[email protected]#@"
android:debuggable="false"
android:theme="@style/[email protected]#[email protected]#[email protected]#$" >
<activity
android:uiOptions="splitActionBarWhenNarrow"
android:name="com.*#$#*$.app.activities.MainActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@#[email protected]#[email protected]#[email protected]#$"
android:screenOrientation="portrait" >
<!-- this needs to be set 1 if this is a new app, otherwise set it to the db version that was in CopyDatabaseHelper or increase it by one if you want to update the DB -->
<meta-data android:name="dbVersion" android:value="4" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.google.zxing.client.android.CaptureActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" />
</application>
正如你所看到的,我加了兼容的屏幕,也適用於Nexus 7,改變權限相機的功能。儘管一件小事情是,我的應用程序是否通過Playstore進行了篩選,因爲權限未被刪除但已被註釋掉。
編輯 - 我沒有在開發者控制檯中的7英寸或10英寸平板電腦的屏幕截圖,這會是一個問題嗎?
編輯2 - 明確添加屏幕截圖力量的幫助。
編輯3 - 編輯清單與目前我部署出於測試原因。我發現這個應用程序不支持「Nexus 7 - 羅非魚」和「Nexus 7 - 石斑魚」。我現在試圖找出爲什麼它不支持這些。當我不排除像自動對焦和前置攝像頭等其他相機相關的東西時,即使將相機指定爲功能也是一個問題?
我同意這很可能是問題+1 – tpbapp
我之前沒有「兼容屏幕」,後來在絕望嘗試中加入了它。當我從android studio直接將應用程序啓動到Nexus 7時,該應用程序運行良好。雖然在發佈後,當我在Nexus 7中搜索應用程序時,Play商店並未顯示出來。 – vickzzzzz
@vickzzzzz只有一個其他明顯的設備要求,相機,但它被設置爲'required = false'。從工作室開始沒有任何區別。如果Google Play不兼容,Google Play會過濾掉您的設備。嘗試去谷歌播放鉻。它應該在列表中顯示您的設備(如果已登錄)並告訴您它不兼容。 – Doomsknight