APK marks no compatible device in Google Play Developer Console

I just published my first app on the play store, but it tells me that no device supports my APK.

I have been reading and the documentation indicates that the problem is in the Manifest file.XML. I have already made modifications but it still does not accept me devices. Annex the contents of the Manifest file.xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="edmx.apptaxipassenger">
    <uses-sdk android:minSdkVersion="9" />

    <uses-library
        android:name="org.apache.directory.studio:org.apache.commons.io:2.4"
        android:required="false" />

    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
    <uses-permission android:name="android.permission.INTERNET" />

    <uses-feature
        android:name="android.hardware.location"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.location.gps"
        android:required="false" />

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:launchMode="singleTop"
        android:persistent="true"
        android:screenOrientation="portrait"
        android:theme="@style/AppTheme">

        <!--
             The API key for Google Maps-based APIs is defined as a string resource.
             (See the file "res/values/google_maps_api.xml").
             Note that the API key is linked to the encryption key used to sign the APK.
             You need a different API key for each encryption key, including the release key that is used to
             sign the APK for publishing.
             You can define the keys for the debug and release targets in src/debug/ and src/release/. 
        -->
        <meta-data
            android:name="com.google.android.geo.API_KEY"
            android:value="@string/google_maps_key" />

        <activity
            android:name=".MainActivity"
            android:label="@string/app_name"
            android:screenOrientation="portrait"
            android:persistent="true"
            android:windowSoftInputMode="stateAlwaysHidden">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".Activity.ErrorActivity"
            android:screenOrientation="portrait" />

        <service
            android:name=".BGService.WaitingService"
            android:enabled="true"
            android:icon="@drawable/icon_sync"
            android:label="@string/waiting_service">
            <intent-filter android:label="@string/waiting_service">
                <action android:name="edmx.apptaxidriver.BGService.WaitingService" />
            </intent-filter>
        </service>

        <activity
            android:name=".MapsActivitytmp"
            android:label="@string/title_activity_maps_activitytmp"></activity>
    </application>
</manifest>

Also this is the contents of the build file.gradle: apply plugin: 'com.android.application '

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.2"

    defaultConfig {
        applicationId "edmx.apptaxipassenger"
        minSdkVersion 9
        targetSdkVersion 23
        versionCode 2
        versionName "1.01"
    }
    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.android.support:appcompat-v7:23.1.1'
    compile 'com.google.android.gms:play-services:8.4.0'
    compile 'org.apache.directory.studio:org.apache.commons.io:2.4'
    compile 'com.android.support:support-v4:23.1.1'
}
 2
Author: jasilva, 2016-06-14

1 answers

Using apache libraries is the only problem that could cause your application to not be supported.

<uses-library
        android:name="org.apache.directory.studio:org.apache.commons.io:2.4"
        android:required="false" />

You can fix your problem by adding as dependency commons-io inside your file build.gradle:

dependencies {
    compile 'commons-io:commons-io:2.4'
    ...
    ...
    ...
    }

Update:

I found the same problem on the site in English you can see the link here. There are some Apache classes that are obsolete , I would recommend checking if Apache Commons IO so is it for you to consider making the change.

 1
Author: Jorgesys, 2017-05-23 12:39:20