2017-04-08 13 views
1

Androidデベロッパーコンソールは、自分のアプリがすべてのデバイスと互換性がないと言います。しかし、それはなぜかぴったりです。私が読んだ記事によると、私のアンドロイドマニフェストからの可能性が高いのは、その理由がわかりやすいからです。しかし、私は理由を理解できないようです。私はすべてと互換性のあるアプリストアに別のアプリを持っています。だから何が問題なの?Android Appとすべてのデバイスとの互換性がありません

<?xml version="1.0" encoding="utf-8"?> 

<application 


    android:allowBackup="true" 
    android:icon="@mipmap/ic_launcher" 
    android:label="Writing Analyzer" 
    android:roundIcon="@mipmap/ic_launcher_round" 
    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> 
    </activity> 
    <activity android:name=".ResultsActivity"/> 

</application> 

編集:いくつかのより多くの情報 - 最小SDKは、OpenNLP

- 絵パート-Iは一つだけ外部ライブラリを使用しています15

ですOpenNLPの資産フォルダにモデルがあります

-IはBaseListAdapter

As shown here Nothing is supported

編集を拡張するクラスを持っている:ここでは完全なマージされたマニフェストです。申し訳ありませんが最初にそれが必要になることを認識していませんでした。

<?xml version="1.0" encoding="utf-8"?> 
<manifest 
xmlns:android="http://schemas.android.com/apk/res/android" 
android:versionCode="3" 
android:versionName="2.0" 
package="textsnoop.rddigi.com.textstats" 
platformBuildVersionCode="25" 
platformBuildVersionName="7.1.1"> 

<uses-sdk 
    android:minSdkVersion="15" 
    android:targetSdkVersion="25" /> 

<meta-data 
    android:name="android.support.VERSION" 
    android:value="25.3.0" /> 

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

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

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

<uses-permission 
    android:name="com.google.android.c2dm.permission.RECEIVE" /> 

<permission 
    android:name="textsnoop.rddigi.com.textstats.permission.C2D_MESSAGE" 
    android:protectionLevel="0x2" /> 

<uses-permission 
    android:name="textsnoop.rddigi.com.textstats.permission.C2D_MESSAGE" /> 

<application 
    android:theme="@ref/0x7f0800a3" 
    android:label="Writing Analyzer" 
    android:icon="@ref/0x7f030000" 
    android:allowBackup="true" 
    android:supportsRtl="true" 
    android:roundIcon="@ref/0x7f030001"> 

    <activity 
     android:name="textsnoop.rddigi.com.textstats.MainActivity"> 

     <intent-filter> 

      <action 
       android:name="android.intent.action.MAIN" /> 

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

    <activity 
     android:name="textsnoop.rddigi.com.textstats.ResultsActivity" /> 

    <activity 
     android:theme="@ref/0x0103000f" 
     android:name="com.google.android.gms.ads.AdActivity" 
     android:configChanges="0xfb0" /> 

    <activity 
     android:theme="@ref/0x7f080111" 
      android:name="com.google.android.gms.ads.purchase.InAppPurchaseActivity" /> 

    <activity 
     android:theme="@ref/0x01030010" 
     android:name="com.google.android.gms.common.api.GoogleApiActivity" 
     android:exported="false" /> 

    <receiver 
     android:name="com.google.android.gms.measurement.AppMeasurementReceiver" 
     android:enabled="true" 
     android:exported="false" /> 

    <receiver 
     android:name="com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver" 
     android:permission="android.permission.INSTALL_PACKAGES" 
     android:enabled="true"> 

     <intent-filter> 

      <action 
       android:name="com.android.vending.INSTALL_REFERRER" /> 
     </intent-filter> 
    </receiver> 

    <service 
     android:name="com.google.android.gms.measurement.AppMeasurementService" 
     android:enabled="true" 
     android:exported="false" /> 

    <receiver 
     android:name="com.google.firebase.iid.FirebaseInstanceIdReceiver" 
     android:permission="com.google.android.c2dm.permission.SEND" 
     android:exported="true"> 

     <intent-filter> 

      <action 
       android:name="com.google.android.c2dm.intent.RECEIVE" /> 

      <action 
       android:name="com.google.android.c2dm.intent.REGISTRATION" /> 

      <category 
       android:name="textsnoop.rddigi.com.textstats" /> 
     </intent-filter> 
    </receiver> 

    <receiver 
     android:name="com.google.firebase.iid.FirebaseInstanceIdInternalReceiver" 
     android:exported="false" /> 

    <service 
     android:name="com.google.firebase.iid.FirebaseInstanceIdService" 
     android:exported="true"> 

     <intent-filter 
      android:priority="-500"> 

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

    <provider 
     android:name="com.google.firebase.provider.FirebaseInitProvider" 
     android:exported="false" 
     android:authorities="textsnoop.rddigi.com.textstats.firebaseinitprovider" 
     android:initOrder="100" /> 

    <meta-data 
     android:name="com.google.android.gms.version" 
     android:value="@ref/0x7f0c0003" /> 
</application> 

+0

あなたはあなたのgradleを共有できますか?最低限のAPIレベルである –

+0

に問題がある可能性があります。最小値は15です。すべてがサポートされていない問題ではないかと思います。 – trinityalps

答えて

0

私は変更の原因を正確にはわかりませんが、lintを使ってプロジェクトを行ってきて、クリーニングしました。私はまた、アプリケーションからapacheコモンズioへの呼び出しを削除しました。私はその可能性が最も高いと思われる。

0

このための可能な理由は、あなたの最小APIレベルは、あなたのアプリが多くのデバイスと互換性があることにつながる、高いことです。チェックアウト: Changing API level Android Studio最小APIレベルを変更する場合は、

(私はアプリはそれらなしでは動作しません知っているが、ちょうどGoogle Playには、と言っている理由を考え出すのためにすべての権限を削除してください偽

に全ての用途・機能」 - タグを設定してみてくださいアプリは

+0

最小値はSDK 15なので、それほど高くありません。 – trinityalps

+0

あなたは正しいです、15は高くありません。私は答えを編集しました...これが役立つかどうかを見てください。 – Aryan

0

)0デバイスをサポートしていますが、例えば属性を必要としていた任意の特徴/許可を言及している場合は特に、マニフェストファイルにあなたの権限と機能を確認してください:。<

は、Androidの許可使用しています:名=」 android.permission.READ_PHONE_STATE "アンドロイド:required = "true" />

「アンドロイド:必須= true」の部分を削除すると、Playストアで問題なく動作します。

+0

事を見て、私はそれのようなものを持っていない、完全なマニフェストを参照してください – trinityalps

関連する問題