在 Playstore 上发布我的第一个 Android 应用程序支持的 Android 设备 0 [英] Publishing my first android app Supported Android devices 0 on playstore
本文介绍了在 Playstore 上发布我的第一个 Android 应用程序支持的 Android 设备 0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在 Android Studio 中开发了我的第一个 Android 应用.我开发了一个简单的 flashLight 应用程序.它在多个设备上运行良好,但是当我将其发布到 Playstore 时存在兼容性问题.请帮帮我.
I have developed my first android app in Android Studio. I have developed a simple flashLight app. It is working well on multiple devices, but when I publish it to the playstore there is a compatibility issue. Please help me out.
支持的 Android 设备 = 0 台设备
Supported Android devices = 0 Devices
Mainfest.xml 文件
Mainfest.xml file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.dhairya.fastflashlight">
<uses-permission android:name="android.permission.CAMERA"></uses-permission>
<uses-feature android:name="android.hardware.Camera"></uses-feature>
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:requiresSmallestWidthDp="720"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_flash"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name="dc.suvy.dhairya.fastflashlight.Flashlight">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
构建 Gradle
android {
compileSdkVersion 23
buildToolsVersion "24.0.0"
defaultConfig {
applicationId "dc.suvy.dhairya.fastflashlight"
minSdkVersion 9
targetSdkVersion 9
versionCode 2
versionName '2.0'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'commons-io:commons-io:2.4'
}
推荐答案
有时是因为您引用了第三方库.如果你能找到它是哪一个,如果你能去掉它,你就可以解决问题.
Sometimes the reason for this is a third party library that you have referenced. If you can find which one is it and if you can remove it you can solve the problem.
尝试删除
compile 'commons-io:commons-io:2.4'
这篇关于在 Playstore 上发布我的第一个 Android 应用程序支持的 Android 设备 0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文