apk上传显示0支持的设备

时间:2017-05-19 11:11:00

标签: android apk manifest

HY 在为我的程序上传更新时,我获得了0个受支持的设备,我尝试删除了其他帖子中建议的所有权限,但问题仍然存在。

请在下面找到使用的清单:

 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.companyname.appnameForAndroid"
android:versionCode="4031"
android:versionName="4.31" >

<uses-sdk android:minSdkVersion="21"/>

<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<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="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />

<application
    android:name="com.companyname.appnameForAndroid.appnameApp"
  android:icon="@drawable/icon"
  android:allowBackup="false"
    android:label="@string/app_name"
     >

    <activity
        android:name="com.companyname.appnameForAndroid.appname"
        android:configChanges="orientation"
        android:label="@string/app_name"
        android:hardwareAccelerated="true"
        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="com.companyname.appnameForAndroid.sampleBooksActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.companyname.appnameForAndroid.BookReader"
        android:configChanges="orientation"
        android:screenOrientation="portrait"
        android:hardwareAccelerated="true"
        android:theme="@style/AppTheme"
         />
    <activity
        android:name="com.companyname.appnameForAndroid.TOCTabLayout"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.companyname.appnameForAndroid.TOCActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.companyname.appnameForAndroid.HighlightsActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.companyname.appnameForAndroid.SearchActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait"
        android:theme="@android:style/Theme.Dialog" />
    <activity
        android:name="com.companyname.appnameForAndroid.BookmarksActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.companyname.appnameForAndroid.notesActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.companyname.appnameForAndroid.loadAllActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.companyname.appnameForAndroid.appnameLibrary"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.companyname.appnameForAndroid.loadBooksActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.companyname.appnameForAndroid.loadBooksActivityTest"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />

    <activity
        android:name="com.companyname.appnameForAndroid.settingActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />
     <activity
        android:name="com.companyname.appnameForAndroid.restoreBooksActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />

     <activity 
         android:name="com.companyname.appnameForAndroid.timerActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait"
         />

     <activity 
         android:name="com.companyname.appnameForAndroid.studentInfoActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait"
         />

     <activity 
         android:name="com.companyname.appnameForAndroid.searchListActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait"
         />

     <activity 
         android:name="com.companyname.appnameForAndroid.bookSettingsActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait"
         />

     <activity 
         android:name="com.companyname.appnameForAndroid.DictActivity"
         android:configChanges="orientation"
         android:screenOrientation="portrait"
         />

     <activity 
         android:name="com.companyname.appnameForAndroid.footNoteActivity"
         android:configChanges="orientation"
         android:screenOrientation="portrait"
         />

     <activity 
         android:name="com.companyname.appnameForAndroid.helpActivity"
         android:configChanges="orientation"
         android:screenOrientation="portrait"
         />
    <meta-data
        android:name="io.fabric.ApiKey"
        android:value="30c1eff5acac28fff9b34dd529486994ea12c4ea" />


    <activity
        android:name="com.twitter.sdk.android.core.identity.OAuthActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false" />
    <activity
        android:name="com.twitter.sdk.android.core.identity.ShareEmailActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false"
        android:icon="@drawable/tw__transparent"
        android:label="@string/kit_name" />
    <activity
        android:name="com.digits.sdk.android.PhoneNumberActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false"
        android:taskAffinity="com.digits.sdk.android"
        android:windowSoftInputMode="stateVisible" />
    <activity
        android:name="com.digits.sdk.android.ConfirmationCodeActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false"
        android:taskAffinity="com.digits.sdk.android"
        android:windowSoftInputMode="stateVisible" />
    <activity
        android:name="com.digits.sdk.android.LoginCodeActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false"
        android:launchMode="singleTop"
        android:taskAffinity="com.digits.sdk.android"
        android:windowSoftInputMode="stateVisible" />
    <activity
        android:name="com.digits.sdk.android.PinCodeActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false"
        android:launchMode="singleTop"
        android:taskAffinity="com.digits.sdk.android"
        android:windowSoftInputMode="stateVisible" />
    <activity
        android:name="com.digits.sdk.android.FailureActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false"
        android:taskAffinity="com.digits.sdk.android" />
    <activity
        android:name="com.digits.sdk.android.ContactsActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false" />
    <activity
        android:name="com.digits.sdk.android.PhoneNumberActionBarActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false"
        android:taskAffinity="com.digits.sdk.android"
        android:windowSoftInputMode="stateVisible" />
    <activity
        android:name="com.digits.sdk.android.ConfirmationCodeActionBarActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false"
        android:taskAffinity="com.digits.sdk.android"
        android:windowSoftInputMode="stateVisible" />
    <activity
        android:name="com.digits.sdk.android.LoginCodeActionBarActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false"
        android:launchMode="singleTop"
        android:taskAffinity="com.digits.sdk.android"
        android:windowSoftInputMode="stateVisible" />
    <activity
        android:name="com.digits.sdk.android.FailureActionBarActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false"
        android:taskAffinity="com.digits.sdk.android" />
    <activity
        android:name="com.digits.sdk.android.ContactsActionBarActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false" />
    <activity
        android:name="com.digits.sdk.android.PinCodeActionBarActivity"
        android:configChanges="orientation|screenSize"
        android:excludeFromRecents="true"
        android:exported="false"
        android:launchMode="singleTop"
        android:taskAffinity="com.digits.sdk.android"
        android:windowSoftInputMode="stateVisible" />

    <service
        android:name="com.digits.sdk.android.ContactsUploadService"
        android:enabled="true"
        android:exported="false" />

    <activity
        android:name="com.companyname.appnameForAndroid.reviewBook"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />

    <activity
        android:name="com.companyname.appnameForAndroid.bookInfoReview"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />

    <activity
        android:name="com.companyname.appnameForAndroid.appnameLibrarysub"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />

    <activity
        android:name="com.companyname.appnameForAndroid.subscriptionsActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />

    <activity
        android:name="com.companyname.appnameForAndroid.subscriptionsDetailsActivity"
        android:configChanges="orientation"
        android:screenOrientation="portrait" />

</application>

</manifest>

请注意,当我提交时,表明我使用了以下功能:

    android.hardware.FAKETOUCH
    android.hardware.screen.PORTRAIT

以及以下权限:

    android.permission.ACCESS_NETWORK_STATE
    android.permission.INTERNET
    android.permission.READ_EXTERNAL_STORAGE
    android.permission.READ_PHONE_STATE
    android.permission.VIBRATE
    android.permission.WAKE_LOCK
    android.permission.WRITE_EXTERNAL_STORAGE
    com.google.android.c2dm.permission.RECEIVE
    com.companyName.appNameForAndroid.permission.C2D_MESSAGE

知道在我的Android清单中,某些权限不存在且我没有使用任何功能。

2 个答案:

答案 0 :(得分:1)

这实际上是Google Play的问题,可能会在几天后修复。

答案 1 :(得分:1)

至于清单中未列出的额外功能和权限,可能来自您的依赖项(支持库,Play服务,Firebase等)。