アプリを公開しようとしていますが、デベロッパーコンソールで何を試みても、サポートされているデバイスがゼロであることが報告されています。 Google Playストアでサポート対象の端末がゼロになっていますが、理由はわかりません。どこでも検索しましたが、回答が得られませんでした 私はマニフェストを変更しようとしました。 誰かが私を助けることができますか?Google Play - ゼロ対応デバイス
<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'
}
は、誰かが私を助けることができますか?
UPDATE このライブラリは、このライブラリは、問題のコンパイル「を引き起こし
あなたの設定を変更しようとしましたか?たとえば 'compileSdkVersion 25/buildToolsVersion" 25.0.2 "' –
問題が解決しました。これは問題をコンパイルする 'org.apache.directory.studio:org.apache.commons.io:2.4' –
あなた自身の質問に答えることができ、将来これを他の人を助けるために答えたことができます。 – gonczor