簡體   English   中英

Play商店中的設備兼容性問題

[英]Device compatibility issue on the Play Store

關於在Google Play商店中發布Android應用程序,我有一個奇怪的問題。 問題是有0個設備兼容,因此我們無法發布它。

以下是清單文件的樣子:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.xxx"
    android:installLocation="auto"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="15" />

    <uses-permission android:name="android.permission.INTERNET" />

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

    <uses-permission android:name="android.permission.READ_CONTACTS" />

    <supports-screens
        android:largeScreens="true"
        android:normalScreens="true"
        android:xlargeScreens="true" >
    </supports-screens>

    <application
        android:name=".application.xxx"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@android:style/Theme.NoTitleBar">

        <!--  To use google maps -->
        <uses-library android:name="com.google.android.maps" /> 
             <!-- activities/services defined here -->
    </application>
</manifest>

正如你所看到的,這里沒什么特別之處。 我甚至試圖發布具有0權限的應用程序,只是為了看看會發生什么,我仍然遇到相同的兼容性問題。

我應該提幾件事:

  • 我嘗試使用0權限發布,仍然是同樣的問題。
  • 我已經嘗試將minSdkVersion設置為13,仍然是同樣的問題。
  • 我正在使用Antant clean release )構建。 該應用程序在我們的任何設備上運行良好( Galaxy SII with 2.3HTC Sensation with 2.3Galaxy Spica with 2.1Nexus S with 4.1.1 )。
  • 在我的代碼中的某些時候,我使用的是特定於API 13及更高版本的功能,但我在運行時檢查API級別,並將該功能替換為與舊版本兼容的另一個功能。

任何的想法?

謝謝!

編輯

輸出: aapt dump badging是:

package: name='com.myapp' versionCode='1' versionName='1.0'
sdkVersion:'7'
uses-permission:'android.permission.INTERNET'
uses-permission:'android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission:'android.permission.ACCESS_FINE_LOCATION'
uses-permission:'android.permission.ACCESS_NETWORK_STATE'
uses-permission:'android.permission.READ_CONTACTS'
application-label:'MyApp'
application-label-fr:'MyApp'
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: label='MyApp' icon='res/drawable-mdpi/ic_launcher.png'
uses-library:'com.google.android.maps'
launchable-activity: name='com.myapp.activities.SplashScreenActivity'  label='MyApp' icon=''
uses-permission:'android.permission.READ_EXTERNAL_STORAGE'
uses-implied-permission:'android.permission.READ_EXTERNAL_STORAGE','requested WRITE_EXTERNAL_STORAGE'
uses-permission:'android.permission.READ_CALL_LOG'
uses-implied-permission:'android.permission.READ_CALL_LOG','targetSdkVersion < 16 and requested READ_CONTACTS'
uses-feature:'android.hardware.location'
uses-implied-feature:'android.hardware.location','requested a location access permission'
uses-feature:'android.hardware.location.gps'
uses-implied-feature:'android.hardware.location.gps','requested android.permission.ACCESS_FINE_LOCATION permission'
uses-feature:'android.hardware.touchscreen'
uses-implied-feature:'android.hardware.touchscreen','assumed you require a touch screen unless explicitly made optional'
uses-feature:'android.hardware.screen.portrait'
uses-implied-feature:'android.hardware.screen.portrait','one or more activities have specified a portrait orientation'
main
other-activities
other-services
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--' 'fr'
densities: '120' '160' '240' '320'

坦率地說,Google Play搞砸了。 我有三個已發布的應用程序,它們與0個設備兼容,但卻擁有數千個用戶。 甚至更奇怪的是,Google Play為我提供了這些應用的統計信息,向全世界的用戶展示。

所以我會說繼續發表它。 有時可能需要一段時間才能顯示,但一旦顯示,您應該能夠在設備上安裝它並確認用戶可以下載它,盡管控制台顯示0兼容設備。

我有同樣的問題,但是一旦我發布它,它顯示我兼容的設備數量。 所以不要擔心發布你的申請。

原來它沒有任何問題! apk剛剛沒有激活,錯誤消息誤導(說no compatible devices而不是: 0 apks activated )。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM