2017-09-04 11 views
1


アンドロイドアプリを開発し、Google Playで公開しました。何らかの理由で
、アプリページでは店舗に、この次のメッセージが表示される:「。このアプリは、お使いのデバイスと互換性がありません」
誰もがなぜ知っていると私はのためにこのメッセージを削除するために必要なもの
マイ?アプリべきインターネットを持つ任意の携帯電話用の仕事の私build.gradeファイルから自分のAndroidアプリと端末との互換性がありません

<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
package="com.eilamshapira.routeburntracker"> 

<uses-permission android:name="android.permission.INTERNET" /> 

<compatible-screens> 
    <!-- all small size screens --> 
    <screen android:screenSize="small" android:screenDensity="ldpi" /> 
    <screen android:screenSize="small" android:screenDensity="mdpi" /> 
    <screen android:screenSize="small" android:screenDensity="hdpi" /> 
    <screen android:screenSize="small" android:screenDensity="xhdpi" /> 
    <screen android:screenSize="small" android:screenDensity="xxhdpi" /> 
    <screen android:screenSize="small" android:screenDensity="xxxhdpi" /> 
    <!-- all normal size screens --> 
    <screen android:screenSize="normal" android:screenDensity="ldpi" /> 
    <screen android:screenSize="normal" android:screenDensity="mdpi" /> 
    <screen android:screenSize="normal" android:screenDensity="hdpi" /> 
    <screen android:screenSize="normal" android:screenDensity="xhdpi" /> 
    <screen android:screenSize="normal" android:screenDensity="xxhdpi" /> 
    <screen android:screenSize="normal" android:screenDensity="xxxhdpi" /> 
    <!-- all large size screens --> 
    <screen android:screenSize="large" android:screenDensity="ldpi" /> 
    <screen android:screenSize="large" android:screenDensity="mdpi" /> 
    <screen android:screenSize="large" android:screenDensity="hdpi" /> 
    <screen android:screenSize="large" android:screenDensity="xhdpi" /> 
    <screen android:screenSize="large" android:screenDensity="xxhdpi" /> 
    <screen android:screenSize="large" android:screenDensity="xxxhdpi" /> 
    <!-- all xlarge size screens --> 
    <screen android:screenSize="xlarge" android:screenDensity="ldpi" /> 
    <screen android:screenSize="xlarge" android:screenDensity="mdpi" /> 
    <screen android:screenSize="xlarge" android:screenDensity="hdpi" /> 
    <screen android:screenSize="xlarge" android:screenDensity="xhdpi" /> 
    <screen android:screenSize="xlarge" android:screenDensity="xxhdpi" /> 
    <screen android:screenSize="xlarge" android:screenDensity="xxxhdpi" /> 
</compatible-screens> 



<application 
    android:allowBackup="true" 
    android:icon="@mipmap/ic_launcher" 
    android:label="@string/app_name" 
    android:roundIcon="@mipmap/ic_launcher_round" 
    android:supportsRtl="true" 
    android:theme="@style/AppTheme"> 

    <activity android:name=".MainActivity"> 
     <intent-filter> 
      <action android:name="android.intent.action.MAIN"/> 

      <category android:name="android.intent.category.LAUNCHER"/> 
     </intent-filter> 
     <intent-filter> 
      <action android:name="MAINACTIVITY"></action> 
      <category android:name="android.intent.category.DEFAULT"></category> 
     </intent-filter> 
    </activity> 


    <activity 
     android:name=".DisplayMessageActivity" 
     android:parentActivityName=".MainActivity"> 

     <!-- The meta-data tag is required if you support API level 15 and lower --> 
     <meta-data 
      android:name="android.support.PARENT_ACTIVITY" 
      android:value=".MainActivity" /> 
    </activity> 

    <activity 
     android:name=".ReferralPage" 
     android:parentActivityName=".MainActivity"> 

     <meta-data 
      android:name="android.support.PARENT_ACTIVITY" 
      android:value=".MainActivity" /> 

     <intent-filter> 
      <action android:name="OPENMILFORD"></action> 
      <category android:name="android.intent.category.DEFAULT"></category> 
     </intent-filter> 
    </activity> 


    <service 
     android:name=".FirebaseMessagingService"> 
     <intent-filter> 
      <action android:name="com.google.firebase.MESSAGING_EVENT"/> 
     </intent-filter> 
    </service> 

    <service 
     android:name=".MyFirebaseInstanceIDService"> 
     <intent-filter> 
      <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/> 
     </intent-filter> 
    </service> 

    <meta-data 
     android:name="com.google.firebase.messaging.default_notification_color" 
     android:resource="@color/colorAccent" /> 
</application> 

:。

android { 
compileSdkVersion 26 
buildToolsVersion "26.0.0" 
defaultConfig { 
    applicationId "com.eilamshapira.routeburntracker" 
    minSdkVersion 15 
    targetSdkVersion 26 
    versionCode 1 
    versionName "1.0" 
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 
} 
buildTypes { 
    release { 
     minifyEnabled false 
     proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
    } 
} 

答えて

1

理由は、おそらくbuild.gradleファイルで指定した最小APIレベルになります。デバイスのAndroidバージョンと同等またはそれ以下のAPIレベルをターゲットに設定するようにしてください。また、たとえばAndroid 7.0を使用していて、最小APIとしてAPIレベル24を指定していても、Androidバージョン(APIレベル)の低いデバイスも互換性がないことに注意してください。

あなたはまた、すべての数値screenDensity値を追加する必要があり、APIレベルとAndroidのバージョンhere

+0

私は今build.gradeファイルを追加しています。私は私の携帯電話でSDKのレベル24、およびアプリケーションは、レベル15に適している... –

関連する問題