我已经制作并在app商店发布了应用程序。我还为sw600dp(平板电脑7")制作了布局,但在某些设备中,如LENEVO K3 note和AMAZON OnePlus,它没有下载。两者都是5.5英寸的设备。 请告诉我可能存在的问题。
清单文件
<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-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<!--
不需要使用ACCESS_COARSE / FINE_LOCATION权限 Google Maps Android API v2,但建议使用。 - &GT;
<compatible-screens>
<!--no small size screens -->
<!--all normal size screens -->
<screen android:screenSize="normal" android:screenDensity="ldpi" />
<screen android:screenSize="normal" android:screenDensity="mdpi" />
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
<!-- all large size screens -->
<screen android:screenSize="large" android:screenDensity="ldpi" />
<screen android:screenSize="large" android:screenDensity="mdpi" />
<screen android:screenSize="large" android:screenDensity="hdpi" />
<screen android:screenSize="large" android:screenDensity="xhdpi" />
<!-- Special case for Nexus 7 -->
<screen android:screenSize="large" android:screenDensity="213" />
</compatible-screens>
<application
android:name=".Application.MyApplication"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:theme="@style/AppTheme">
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id" />
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="@string/app_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<activity
android:name=".Activity.StartUpScreen"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Activity.Login"
android:label="@string/title_activity_login"
android:screenOrientation="portrait">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Activity.StartActivity" />
</activity>
<activity
android:name=".Activity.Signup"
android:label="@string/title_activity_signup"
android:screenOrientation="portrait">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Activity.StartActivity" />
</activity>
<activity
android:name=".Activity.Home"
android:launchMode="singleTop"
android:screenOrientation="portrait">
<meta-data
android:name="android.app.default_searchable"
android:value=".Search" />
</activity>
<activity android:name=".Activity.Search"
android:windowSoftInputMode="adjustNothing|adjustPan"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="@xml/searchable" />
</activity>
<activity
android:name=".Activity.Brands"
android:screenOrientation="portrait">
android:label="@string/title_activity_brands">
</activity>
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="api_key" />
<activity
android:name=".Activity.Stores"
android:label="@string/title_activity_stores"
android:screenOrientation="portrait">
</activity>
<activity
android:name=".Activity.ProductRow"
android:screenOrientation="portrait"></activity>
<activity
android:name=".Activity.ProductDetails"
android:screenOrientation="portrait"></activity>
<activity
android:name=".Activity.UserProfile"
android:label="@string/title_activity_user_profile"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Filter"
android:label="@string/title_activity_filter"
android:screenOrientation="portrait">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Activity.StartUpScreen" />
</activity>
<activity
android:name=".Activity.BrandsGrid"
android:label="@string/title_activity_brands_grid"
android:screenOrientation="portrait">
</activity>
<activity
android:name=".Activity.StartActivity"
android:label="@string/title_activity_start"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.ProductStoreCollections"
android:label="@string/title_activity_product_collections"></activity>
</application>
答案 0 :(得分:0)
尝试从AndroidManifest中删除compatible-screen。
Android系统无法读取清单 element(既不在安装时也不在运行时)。这个元素是 仅供参考,可由外部服务使用(例如 Google Play)可以更好地了解应用程序的兼容性 特定的屏幕配置并为用户启用过滤。任何 未在此元素中声明的屏幕配置是一个屏幕 与应用程序不兼容的。因此,外部服务 (例如Google Play)不应向设备提供应用程序 有这样的屏幕。