上传apk 0支持的设备

时间:2016-05-18 12:26:28

标签: android apk

我正在尝试向Play商店发布我的应用程序的一个版本,但我得到了0个受支持的设备,这令人沮丧,因为我不明白为什么。 该应用程序在我测试的Android手机上工作正常,但我通过Android工作室部署并手动通过将apk复制到手机。 我也签了APK,以防万一有人问。 Google Play商店本身不会报告任何内容,我可以点击“在商店中查看”链接。它存在,但没有工作,因为它认为没有支持的设备。 我在这里看到了类似的问题和不同的API,所以我尝试根据这些提示进行调整但没有运气,所以我提出了自己的问题。

这是我的清单:

<?xml version="1.0" encoding="utf-8"?>
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.chubb.carecall">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.FLASHLIGHT" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

    <supports-screens
    android:smallScreens="true"
    android:normalScreens="true"
    android:largeScreens="true"
    android:xlargeScreens="true"
    android:anyDensity="true"
    />

    <uses-feature android:name="android.hardware.Camera" />
    <uses-feature
        android:name="android.hardware.bluetooth_le"
        android:required="false" />

    <application
        android:name="com.chubb.carecall.CareCallApplication"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:fullBackupContent="false"
        android:theme="@style/AppTheme" >

        <service android:name="com.chubb.carecall.CareCallService" />

        <service
            android:name="com.chubb.carecall.bleviawifi.CommCareBeaconService"

             >
            <intent-filter>
                <action android:name="com.chubb.carecall.bleviawifi.CommCareBeaconService" />
            </intent-filter>
        </service>

        <!-- Jaalee service responsible for scanning beacons. -->
        <service
            android:name="com.jaalee.sdk.service.BeaconService"
            android:exported="false"
             >
        </service>

        <receiver android:name="com.chubb.carecall.bleviawifi.BootReceiver" >
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />

                <category android:name="android.intent.category.DEFAULT" />

                <action android:name="com.chubb.carecall.CareCallService" />
            </intent-filter>
        </receiver>

        <!--<receiver
            android:name="com.chubb.carecall.receivers.BootUpReceiver"
            android:enabled="true"
            android:exported="true" >
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
                <action android:name="android.intent.action.QUICKBOOT_POWERON" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </receiver>-->

        <activity
            android:name=".activities.DummyActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity
            android:name="com.chubb.carecall.activities.LoginActivity"
            android:label="@string/app_name"
            android:screenOrientation="portrait">
            <intent-filter>
                <category android:name="android.intent.category.LAUNCHER" />

                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity
            android:name=".activities.SlidingToolbarActivity"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.chubb.carecall.activities.MainActivity"
            android:label="@string/care_call_alarms"
            android:launchMode="singleTop"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.chubb.carecall.activities.AlarmActivity"
            android:label="@string/title_activity_alarm"
            android:parentActivityName="com.chubb.carecall.activities.MainActivity"
            android:screenOrientation="portrait" >
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="com.chubb.carecall.activities.MainActivity" />
        </activity>
        <activity
            android:name="com.chubb.carecall.activities.SettingsActivity"
            android:label="@string/title_activity_settings"
            android:screenOrientation="portrait"
            android:theme="@style/PreferenceTheme">
        </activity>
        <activity
            android:name="com.chubb.carecall.activities.MessageListActivity"
            android:label="@string/title_activity_messages"
            android:launchMode="singleTask"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:theme="@style/ActivityDialog"
            android:excludeFromRecents="true"
            android:name="com.chubb.carecall.activities.MessageActivity"
            android:label="@string/title_activity_message"
            android:parentActivityName="com.chubb.carecall.activities.MessageListActivity"
            android:screenOrientation="portrait" >
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="com.chubb.carecall.activities.MessageListActivity" />
        </activity>
        <activity
            android:name="com.chubb.carecall.activities.BreakActivity"
            android:label="@string/title_activity_break"
            android:screenOrientation="portrait"
            android:theme="@style/TransparentTheme">
        </activity>
        <activity
            android:name="com.chubb.carecall.activities.ContactsActivity"
            android:label="@string/title_activity_contacts"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.chubb.carecall.activities.CallActivity"
            android:label="@string/title_activity_call"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.chubb.carecall.activities.AboutActivity"
            android:label="@string/title_activity_about"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.chubb.carecall.activities.RecoverHolderActivity"
            android:label="@string/title_activity_recover_holder"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:theme="@style/ActivityDialog"
            android:excludeFromRecents="true"
            android:name="com.chubb.carecall.activities.LicensesActivity"
            android:screenOrientation="portrait" >
        </activity>
    </application>

</manifest>

这是我的build.gradle:

    apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.2"

    defaultConfig {
        applicationId "com.chubb.communitycare.carecall"
        minSdkVersion 17
        targetSdkVersion 23
        versionCode 4
        versionName "1.1.3"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')

    compile 'com.android.support:support-v13:23.1.1'
    compile 'com.android.support:appcompat-v7:23.1.1'
    compile group: 'com.github.shell-software', name: 'fab', version: '1.1.2'
}

任何帮助将不胜感激:)

尼克

1 个答案:

答案 0 :(得分:0)

更改

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

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

小写“c”

https://developer.android.com/guide/topics/manifest/uses-feature-element.html

  

描述符字符串值区分大小写。