Google Playstore中支持零的设备(支持的设备部分)

时间:2016-06-20 08:03:17

标签: android google-play

“Google Play商店显示零支持的设备,我不知道为什么。我搜索了所有地方,但没有得到答案。”

“我上传了它的ALPHA版本,我在其中包含了测试人员列表。”

“我在我的三星上测试了它并显示错误:app与此版本不兼容,没有理由与每个Android设备不兼容。”

##这是我的清单文件:##

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


            <uses-permission android:name="android.permission.INTERNET" />
            <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
            <uses-permission android:name="android.permission.WAKE_LOCK" />
            <uses-permission android:name="android.permission.GET_ACCOUNTS" />
            <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
            <uses-permission android:name="com.android.vending.BILLING" />
            <permission
                android:name="com.raphapp.tulyu.permission.C2D_MESSAGE"
                android:protectionLevel="signature" />

            <uses-permission android:name="com.raphapp.tulyu.permission.C2D_MESSAGE" />
            <uses-permission android:name="vibrate" />
            <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
            <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
            <!-- FOR Storage -->
            <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
            <uses-permission android:name="android.permission.CLEAR_APP_CACHE" />
            <!-- FOR Camera -->
            <uses-permission android:name="android.permission.CAMERA" />
            <uses-permission android:name="android.permission.FLASHLIGHT" />
            <uses-permission android:name="android.permission.SEND_SMS" />
            <uses-permission android:name="android.permission.VIBRATE" />
            <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
            <uses-permission android:name="android.permission.BILLING" />
            <uses-permission android:name="android.permission.READ_PHONE_STATE" />

            <!-- Don't require camera, as this requires a rear camera. This allows it to work on the Nexus 7 -->
            <uses-feature
                android:name="android.hardware.camera"
                android:required="false" />
            <uses-feature
                android:name="android.hardware.camera.front"
                android:required="false" />
            <uses-feature
                android:name="android.hardware.camera.autofocus"
                android:required="false" />
            <uses-feature
                android:name="android.hardware.camera.flash"
                android:required="false" />
            <uses-permission android:name="android.permission.READ_CONTACTS"
                />

            <application
                android:name="com.raphapp.tulyu.app.AppController"
                android:allowBackup="true"
                android:icon="@mipmap/ic_launcher"
                android:label="@string/app_name"
                android:largeHeap="true"
                android:screenOrientation="portrait"
                android:supportsRtl="true"
                android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen" >
                <activity
                    android:name="com.raphapp.tulyu.activity.Activity_SplashScreen"
                    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.raphapp.tulyu.activity.Activity_SignUp"
                    android:configChanges="orientation|screenLayout|screenSize|keyboardHidden"
                    android:screenOrientation="portrait"
                    android:windowSoftInputMode="adjustPan" >
                </activity>
                <activity
                    android:name="com.raphapp.tulyu.activity.Activity_Loading"
                    android:configChanges="orientation|screenLayout|screenSize|keyboardHidden"
                    android:screenOrientation="portrait"
                    android:windowSoftInputMode="adjustPan" >
                </activity>
                <activity
                    android:name="com.raphapp.tulyu.activity.Activity_SignIn"
                    android:screenOrientation="portrait" >
                </activity>
                <activity
                    android:name="com.raphapp.tulyu.activity.Activity_FirstScreen"
                    android:screenOrientation="portrait" >
                </activity>
                <activity
                    android:name="com.raphapp.tulyu.fragments.Fragment_Activity"
                    android:screenOrientation="portrait" >
                </activity>
                <activity
                    android:name="com.raphapp.tulyu.activity.Activity_ContactDetails"
                    android:screenOrientation="portrait" />
                <activity
                    android:name="com.raphapp.tulyu.activity.Tos"
                    android:screenOrientation="portrait" />
                <activity
                    android:name="com.yalantis.ucrop.UCropActivity"
                    android:configChanges="orientation"
                    android:label="@string/app_name"
                    android:screenOrientation="portrait" />

                <service android:name="com.parse.PushService" />

                <receiver
                    android:name="com.raphapp.tulyu.receiver.CustomPushReceiver"
                    android:exported="false" >
                    <intent-filter>
                        <action android:name="android.intent.action.BOOT_COMPLETED" />
                        <action android:name="android.intent.action.USER_PRESENT" />
                        <action android:name="com.parse.push.intent.RECEIVE" />
                        <action android:name="com.parse.push.intent.DELETE" />
                        <action android:name="com.parse.push.intent.OPEN" />
                    </intent-filter>
                </receiver>
                <receiver
                    android:name="com.parse.GcmBroadcastReceiver"
                    android:permission="com.google.android.c2dm.permission.SEND" >
                    <intent-filter>
                        <action android:name="com.google.android.c2dm.intent.RECEIVE" />
                        <action android:name="com.google.android.c2dm.intent.REGISTRATION" />

                        <!-- IMPORTANT: Change "com.parse.starter" to match your app's package name. -->
                        <category android:name="com.raphapp.tulyu" />
                    </intent-filter>
                </receiver>

                <meta-data
                    android:name="io.fabric.ApiKey"
                    android:value="xxxxxx" />

                <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>


                <!-- Optionally, register AnalyticsReceiver and AnalyticsService to support background
              dispatching on non-Google Play devices -->
                <receiver android:name="com.google.android.gms.analytics.AnalyticsReceiver"
                    android:enabled="true">
                    <intent-filter>
                        <action android:name="com.google.android.gms.analytics.ANALYTICS_DISPATCH" />
                    </intent-filter>
                </receiver>
                <service android:name="com.google.android.gms.analytics.AnalyticsService"
                    android:enabled="true"
                    android:exported="false"/>

                <!-- Optionally, register CampaignTrackingReceiver and CampaignTrackingService to enable
                     installation campaign reporting -->
                <receiver android:name="com.google.android.gms.analytics.CampaignTrackingReceiver"
                    android:exported="true">
                    <intent-filter>
                        <action android:name="com.android.vending.INSTALL_REFERRER" />
                    </intent-filter>
                </receiver>
                <service android:name="com.google.android.gms.analytics.CampaignTrackingService" />


            </application>

        </manifest>

这是我的build.gradle文件:

    buildscript 
    {
        repositories {
            maven { url 'https://maven.fabric.io/public' }
        }
        dependencies {
            classpath 'io.fabric.tools:gradle:1.+'
        }
    }
    apply plugin: 'com.android.application'
    apply plugin: 'io.fabric'
    apply plugin: 'com.google.gms.google-services'
    repositories 
    {
        maven 
    { url 'https://maven.fabric.io/public' }
        mavenCentral()
    }
    android {
        compileSdkVersion 23
        buildToolsVersion "23.0.2"
        defaultConfig {
            applicationId "com.raphapp.tulyu"
            minSdkVersion 19
            targetSdkVersion 23
            versionCode 2
            versionName "1.0"
        }
        buildTypes {
            release {
                minifyEnabled false
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
        }
    }
    dependencies
     {
        compile fileTree(include: ['*.jar'], dir: 'libs')
        testCompile 'junit:junit:4.12'
        compile 'com.google.android.gms:play-services-analytics:9.0.0'
        compile 'com.android.support:appcompat-v7:23.2.0'
        compile 'com.yalantis:ucrop:1.2.+'
        compile 'com.android.support:multidex:1.0.1'
        compile fileTree(include: 'Parse-*.jar', dir: 'libs')
        compile 'com.parse.bolts:bolts-android:1.+'
        compile 'com.github.bumptech.glide:glide:3.6.1'
        compile 'com.anjlab.android.iab.v3:library:1.0.+'
        compile 'com.baoyz.swipemenulistview:library:1.3.0'
        compile('com.crashlytics.sdk.android:crashlytics:2.5.6@aar') {
            transitive = true;
        }
        compile 'com.facebook.android:facebook-android-sdk:4.+'
    }

3 个答案:

答案 0 :(得分:1)

似乎使用功能区分大小写。

您在清单中写了两个功能:

第一个是好的。你想使用相机,但这不是必需的。

问题是第二个需要android.hardware.CAMERA,这在任何Android设备中都不存在。他们有相机,而不是相机。

我希望这可以帮到你。 希望你接受这个答案;)

答案 1 :(得分:0)

uses-feature区分大小写

使用

        android:name="android.hardware.CAMERA"

而不是

        android:name="android.hardware.camera"

答案 2 :(得分:-1)

<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="23"/>

您需要将其添加到清单文件