昨天早上我在google playstore上发布了我的应用程序,直到现在它还没有出现在Playstore中。我发布了它虽然在开发者控制台上发表评论说我的应用程序得到了0个设备的支持。
我搜索了这个主题,发现它可能是开发者控制台的错误。但现在该应用程序无法在Playstore中找到。也许它不是一个错误它的一个功能:-)和我的应用程序上的东西是这个0支持设备的原因。我知道有这个问题的其他stackoverflow主题,但我找不到这些答案的解决方案
这是我的清单,这些0设备可能是什么原因
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.al.phaba.myApp"
android:installLocation="preferExternal"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<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" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-feature android:name="android.hardware.Location.network" />
<uses-permission android:name="android.permission.READ_LOGS" />
<application
android:name="de.al.phaba.myApp.AttachApplication"
android:icon="@drawable/camera"
android:label="@string/app_name"
android:largeHeap="false"
android:screenOrientation="nosensor"
android:theme="@style/AppTheme" >
<activity
android:name="de.al.phaba.myApp.activies.MainActivity"
android:label="@string/title_activity_main"
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="de.al.phaba.myApp.activies.ActionActivity"
android:screenOrientation="portrait" />
<activity
android:name="de.al.phaba.myApp.activies.FormSelectionActivity"
android:screenOrientation="portrait" />
<activity
android:name="de.al.phaba.myApp.activies.InstanceSelectionActivity"
android:screenOrientation="portrait" />
<activity
android:name="de.al.phaba.myApp.activies.CommentActivity"
android:screenOrientation="portrait" />
<activity
android:name="de.al.phaba.myApp.activies.MultiPhotoSelectActivity"
android:screenOrientation="portrait" />
<!-- <activity android:name="de.al.phaba.myApp.activies.Prefs" /> -->
<activity
android:name="de.al.phaba.myApp.activies.SettingsActivity"
android:screenOrientation="portrait" />
<activity
android:name="de.al.phaba.myApp.activies.InformationActivity"
android:screenOrientation="portrait" />
<service
android:name="de.al.phaba.myApp.services.AttachService"
android:icon="@drawable/loading_icon"
android:label="@string/attachServiceName"
android:process=":attachServiceBackground" />
<receiver
android:name="de.al.phaba.myApp.AttachmentStartupReceiver"
android:process=":attachServiceBackground" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<activity
android:name="org.acra.CrashReportDialog"
android:excludeFromRecents="true"
android:finishOnTaskLaunch="true"
android:launchMode="singleInstance"
android:theme="@android:style/Theme.Dialog" />
</application>
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
</manifest>
答案 0 :(得分:3)
试试这种方式。
我有同样的问题来解决这个问题
我在Manifest中添加了这么多行。
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:resizeable="true" />
<compatible-screens>
<!-- small size screens -->
<screen android:screenSize="small" android:screenDensity="ldpi" />
<screen android:screenSize="small" android:screenDensity="mdpi" />
<screen android:screenSize="small" android:screenDensity="hdpi" />
<screen android:screenSize="small" android:screenDensity="xhdpi" />
<!--Only hdpi and xhdpi for 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" />
<!-- all xlarge size screens -->
<screen android:screenSize="xlarge" android:screenDensity="ldpi" />
<screen android:screenSize="xlarge" android:screenDensity="mdpi" />
<screen android:screenSize="xlarge" android:screenDensity="hdpi" />
<screen android:screenSize="xlarge" android:screenDensity="xhdpi" />
<!-- Special case for Nexus 7 -->
<screen android:screenSize="large" android:screenDensity="213" />
</compatible-screens>
修改强> 我检查过这个标签是unusefull从你的清单中删除它。
<uses-feature android:name="android.hardware.Location.network" />