1

我正在努力寻找答案。我阅读了有关清单过滤(例如清单过滤)的 Google 文档,并且我还在论坛上发现了一些类似的问题,例如thisthis但到目前为止我在控制台上看到该应用程序受 0 个设备支持这是我的 AndroidMnifest.xml :

<?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="app.googledrive">
<uses-sdk
    android:minSdkVersion="17"
    android:targetSdkVersion="25" />

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

  <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>

  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

 <uses-permission android:name="android.permission.READ_CONTACTS"/>

 <uses-permission android:name="com.android.alarm.permission.SET_ALARM"/>
 <supports-screens
    android:resizeable="true"
    android:smallScreens="true"
    android:largeScreens="true"
    android:xlargeScreens="true"
    android:normalScreens="true"
    android:anyDensity="true"/>
<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="my contacts backup"
    android:supportsRtl="true"
    android:theme="@style/Theme.AppCompat.Light.NoActionBar"

    >

我的 build.gradle:

    apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion '25.0.2'

defaultConfig {
    applicationId "app.googledrive"
    minSdkVersion 14
    targetSdkVersion 25
    versionCode 6
    versionName "2.2.1"
    multiDexEnabled true
    vectorDrawables.useSupportLibrary = true
   }
    buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
}

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




compile 'com.android.support:appcompat-v7:25.0.0'
compile 'com.google.android.gms:play-services-drive:10.2.6'
compile 'com.google.android.gms:play-services-ads:10.2.6'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.github.angads25:filepicker:1.1.0'
compile 'com.android.support:support-v4:25.3.1'
compile 'com.android.support:support-vector-drawable:25.3.1'
compile 'com.google.android.gms:play-services-ads:10.2.4'
testCompile 'junit:junit:4.12'
}
4

0 回答 0