Play商店说我的应用程序支持0个设备 - 没有设备与我的应用程序兼容 [英] Play store says my app is supported by 0 devices - no devices are compatible with my app
问题描述
我最近完成了我的第一个android应用程序的构建。我今天发布了它到商店,但它说它支持0个设备。这是我的清单文件
I have recently finished building my first android app. I published it to the store today but it says it supports 0 devices. Here is my manifest file
<?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文件:
This is my build.grade file:
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 galaxy上测试过这个应用程序,它工作的很好
I tried looking this problem up online but I couldn't find a problem similar to mine. Most apps have no supported devices because they use features that are only available in some or in no devices. I just can't figure out what's wrong in mine. I've actually tested this app on my samsung galaxy and it worked fine
推荐答案
我有同样的问题,我正在改变
I had this same problem, what fixed it for me was changing
compile 'org.apache.directory.studio:org.apache.commons.io:2.4'
in build.gradle to
in build.gradle to
compile 'commons-io:commons-io:2.4'
这篇关于Play商店说我的应用程序支持0个设备 - 没有设备与我的应用程序兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!