2017-10-13 11 views
0

비공개 Google Play Alpha에 출시 한 앱이 있습니다. 설치 내가Play 스토어 보고서 '사용중인 기기가이 버전과 호환되지 않습니다.'하지만 Android 에뮬레이터에서는 adb를 통해 정상적으로 설치됩니다.

있지만

귀하의 장치로이 동일한 에뮬레이터 표시되어 Google Play 스토어를 통해 ADB의 오후와 잘 내 안드로이드 에뮬레이터이 동일한 APK를 설치할 수 있습니다이 버전과 호환되지 않습니다 .

이것은 동일한 apk입니다. Play 스토어에서 호환되지 않는다고 생각하는 이유에 대한 정보를 얻는 방법을 알아낼 수 없습니다.

내 매니페스트는 다음과 같습니다

<?xml version="1.0" encoding="utf-8"?> 
<manifest 
xmlns:android="http://schemas.android.com/apk/res/android" 
android:versionCode="2" 
android:versionName="1.0" 
package="com.company.example" 
platformBuildVersionCode="26" 
platformBuildVersionName="8.0.0"> 

    <uses-sdk 
     android:minSdkVersion="17" 
     android:targetSdkVersion="26" /> 

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

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

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

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

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

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

    <uses-permission 
     android:name="com.android.vending.BILLING" /> 

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

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

    <permission 
     android:name="com.company.example.permission.C2D_MESSAGE" 
     android:protectionLevel="0x2" /> 

    <uses-permission 
     android:name="com.company.example.permission.C2D_MESSAGE" /> 

    <application 
     android:theme="@ref/0x7f0b01b8" 
     android:label="@ref/0x7f090022" 
     android:icon="@ref/0x7f030000" 
     android:allowBackup="true" 
     android:hardwareAccelerated="true" 
     android:supportsRtl="true"> 

     <meta-data 
      android:name="com.google.firebase.messaging.default_notification_icon" 
      android:resource="@ref/0x7f02005b" /> 

     <meta-data 
      android:name="com.google.firebase.messaging.default_notification_color" 
      android:resource="@ref/0x7f0e001d" /> 

     <service 
      android:name="com.company.example.MyFirebaseMessagingService"> 

      <intent-filter> 

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

     <receiver 
      android:name="com.company.example.FCMbroadcast" 
      android:permission="com.google.android.c2dm.permission.SEND"> 

      <intent-filter> 

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

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

       <category 
        android:name="com.servpro.activity" /> 
      </intent-filter> 
     </receiver> 

     <activity 
      android:name="com.company.example.SplashScreen"> 

      <intent-filter> 

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

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


     <service 
      android:name="com.google.firebase.messaging.FirebaseMessagingService" 
      android:exported="true"> 

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

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

     <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="com.company.example" /> 
      </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="com.company.example.firebaseinitprovider" 
      android:initOrder="100" /> 

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

내 에뮬레이터 버전은 안드로이드 8.0.0과 API가 내가 그렇게 내가 무선 랜이되지 않은 와이파이 기능 권한 에뮬레이터 사용되는 문제를 찾을 수 26

답변

0

입니다 wifi와 같은 다음 코드를 추가 할 필요가 없습니다. 강제로 내 문제를 해결했습니다.

<uses-feature android:name="android.hardware.wifi" android:required="false" /> 
    <uses-feature android:name="android.hardware.faketouch" android:required="false" />