Android 发布后的应用程序与我的设备不兼容
我最近在google play store上发布了我的第一个应用程序,当我想在手机上下载它时,我开发了它,该商店说该设备不受支持。当我查看支持的设备列表时,所有设备都是平板电脑,没有手机 这是我的舱单:Android 发布后的应用程序与我的设备不兼容,android,google-play,google-play-developer-api,Android,Google Play,Google Play Developer Api,我最近在google play store上发布了我的第一个应用程序,当我想在手机上下载它时,我开发了它,该商店说该设备不受支持。当我查看支持的设备列表时,所有设备都是平板电脑,没有手机 这是我的舱单: <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" package="com.th
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
package="com.thejuanandonly.schoolapp">
<supports-screens android:requiresSmallestWidthDp="480" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:theme="@style/Widget.AppCompat.PopupWindow">
</uses-permission>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_pls"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/DefaultTheme"
android:hardwareAccelerated="true"
android:largeHeap="true">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
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=".ScheduleActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/AppTheme"
android:label="@string/app_name"
android:excludeFromRecents="true">
</activity>
<activity
android:name=".TaskAdder"
app:theme="@style/ToolBarStyle"
android:label="@string/app_name"
android:excludeFromRecents="true">
</activity>
<activity android:name=".SubjectDetailActivity"
android:label="@string/app_name"
android:excludeFromRecents="true"
android:screenOrientation="portrait">
</activity>
<activity android:name=".PictureGroupActivity"
android:label="@string/app_name"
android:excludeFromRecents="true">
</activity>
<activity android:name=".NotesDetailActivity"
android:label="@string/app_name"
android:excludeFromRecents="true">
</activity>
<receiver android:process=":remote" android:name=".NotificationRecieverActivity"></receiver>
<activity android:name=".LoginActivity"
android:label="@string/app_name"
android:excludeFromRecents="true">
</activity>
<activity android:name=".GridViewPager"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/Theme.Transparent"
android:label="@string/app_name"
android:excludeFromRecents="true">
</activity>
</application>
</manifest>
在那种情况下看起来肯定不好
以下是Android文档对此的说明:
从HONEYCOMB_MR2开始,这是指定
应用程序兼容的最小屏幕大小。这个属性
提供所需的最小“最小屏幕宽度”(根据
-swNNNdp资源配置),应用程序可以在其上运行。例如,典型的手机屏幕是320、7英寸平板电脑600和10英寸
第720页。如果设备的最小屏幕宽度低于
此处提供的值,则认为应用程序不兼容
用那个装置。如果未提供,则任何旧的小屏幕,
将使用normalScreens、largeScreens或xlargeScreens属性
相反
必须是整数值,例如“100”
这也可能是对资源的引用(在
“@[package:]type:name”)或主题属性(格式为
“?[package:[type:]name”)包含此类型的值
常量值:16843620(0x01010364)
如果您还想支持电话,您应该删除此行。谢谢,我将删除它,看看是否有帮助!请告诉我们更多关于你手机的细节好吗
<supports-screens android:requiresSmallestWidthDp="480" />