简体   繁体   English

我的android应用不支持任何设备

[英]No device supported for my android app

Yesterday morning I published my app on the google playstore, till now it does not occur in the playstore. 昨天早上,我在Google Play商店中发布了我的应用,到目前为止,它在Play商店中还没有出现。 I published it although there was a comment on the developer console that my app is supported by 0 devices. 我发布了它,尽管在开发者控制台上有一条评论说我的应用程序受0设备支持。

I searched about this topic and saw that it might be a bug of the developer console. 我搜索了这个主题,发现它可能是开发人员控制台的错误。 But now the app cannot be found in the playstore. 但是现在在Playstore中找不到该应用。 Maybe its not a bug its a feature :-) and something on my app is the reason for this 0 supported device. 也许不是它的错误是它的功能:-),而我的应用程序上的某些东西正是支持该0设备的原因。 I know that there are other stackoverflow topics with that issue but I could not find a solution with these answers 我知道该问题还有其他stackoverflow主题,但是我找不到这些答案的解决方案

Here is my manifest, what can be the reason for these 0 device 这是我的清单,这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>

Try this way. 尝试这种方式。

i have same issue to solve this issue 我有同样的问题来解决这个问题

i add this many lines in 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>

EDIT: i checked this tag is unusefull remove it from your Manifest. 编辑:我检查了这个标签是unusefull从您的清单中删除它。

<uses-feature android:name="android.hardware.Location.network" />

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM