android - Play 商店说我的应用程序受 0 台设备支持 - 没有设备与我的应用程序兼容

标签 android android-gradle-plugin google-play

我最近完成了我的第一个 Android 应用程序的构建。我今天将它发布到商店,但它说它支持 0 台设备。这是我的 list 文件

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

    <application

        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="נחש את המילה"
        android:theme="@style/Theme.AppCompat.NoActionBar" >
        <activity
            android:name=".MainActivity"
            android:configChanges="orientation"
            android:label="נחש את המילה"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name=".GameActivity"
            android:configChanges="orientation"
            android:label="@string/title_activity_game"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name=".Splash"
            android:configChanges="orientation"
            android:label="נחש את המילה"
            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=".StoreActivity"
            android:label="@string/title_activity_store" >
        </activity>
        <activity
            android:name=".GameOverActivity"
            android:label="@string/title_activity_game_over" >
        </activity>
    </application>
    <supports-screens
        android:anyDensity="true"
        android:smallScreens="true"
        android:normalScreens="true"
        android:largeScreens="true"
        android:xlargeScreens="true"
        android:resizeable="true" />
    </manifest>

这是我的 build.grade 文件:

apply plugin: 'com.android.application'
android {
    compileSdkVersion 23
    buildToolsVersion "23.0.1"

    defaultConfig {
        applicationId "com.GuessTheWordZahal.guessit"
        minSdkVersion 10
        targetSdkVersion 23
        versionCode 2
        versionName "1.0.1"
    }
    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:23.0.1'
    compile 'org.apache.directory.studio:org.apache.commons.io:2.4'
    compile 'com.google.android.gms:play-services-ads:7.8.0'
}

我试着在网上查找这个问题,但找不到与我的问题类似的问题。大多数应用程序都没有受支持的设备,因为它们使用的功能仅在某些设备上可用或在所有设备上均不可用。我只是无法弄清楚我的问题是什么。我实际上已经在我的三星 galaxy 上测试了这个应用程序,它运行良好

最佳答案

我遇到了同样的问题,为我解决的问题正在改变

compile 'org.apache.directory.studio:org.apache.commons.io:2.4'

在 build.gradle 中

compile 'commons-io:commons-io:2.4'

关于android - Play 商店说我的应用程序受 0 台设备支持 - 没有设备与我的应用程序兼容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32747357/

相关文章:

android - 如果下载被取消,不保存文件

android - 使用 Phonegap 发送短信并显示在收件箱中

java - 在 Android 应用程序中使用处理程序的 ProgressBar 倒计时

php - 如何为我的 API 提供安全性

android - 将屏幕截图上传到 Google Play 时出错

Android: 属性 'rippleColor' 已经被定义

android - 在 Android 库项目中包含 AAR 依赖项

android - Android Studio 0.8-不再运行自定义任务

android - 是否可以同时跟踪 Android 和 iOS 应用程序的下载情况?

java - Android 在社交网络中共享 google play 安装 referrer url?