我正在尝试发布应用程序,但无论我尝试什么,开发人员控制台都会报告支持的设备数为零。 Google Play 商店显示支持的设备为零,我不知道为什么。我到处寻找但没有得到答案 我尝试更改 list 。 有人可以帮助我吗?
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".MainActivity" android:screenOrientation="portrait">a <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".InfoActivity" android:screenOrientation="portrait"></activity> </application> </manifest>
GRADLE
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "24.0.0"
defaultConfig {
applicationId "com.allegretti.countrypowerstation"
minSdkVersion 18
targetSdkVersion 23
versionCode 4
versionName "1.0.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
useLibrary 'org.apache.http.legacy'
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'org.apache.directory.studio:org.apache.commons.io:2.4'
testCompile 'junit:junit:4.12'
}
有人可以帮助我吗?
更新 这个库导致了这个问题 编译 'org.apache.directory.studio:org.apache.commons.io:2.4'
最佳答案
尝试更改 -> 编译 'org.apache.directory.studio:org.apache.commons.io:2.4' 到 编译'commons-io:commons-io:2.4'
关于java - Google Play - 零支持的设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43550415/