2016-06-20 10 views
6

Mam problem z aplikacjami na Androida ... Działa doskonale na moim urządzeniu, ale w konsoli programisty będzie to 0.0 urządzenie wsparcia w Google Play Developer Console

To będzie mój AndroidManifest.xml. Sprawdziłem, czy nie ma błędu.

Nie mam pojęcia, gdzie szukać.

Czy ktoś może mi pomóc.

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

<uses-permission android:name="android.permission.WAKE_LOCK" /> 
<uses-permission android:name="xxx.permission.C2D_MESSAGE" /> 
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 
<uses-permission android:name="android.permission.INTERNET" /> 
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> 

<permission 
    android:name="xxx.permission.C2D_MESSAGE" 
    android:protectionLevel="signature" /> 

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

<application 
    android:allowBackup="true" 
    android:icon="@mipmap/ic_launcher" 
    android:label="@string/app_name" 
    android:supportsRtl="true" 
    android:theme="@style/AppTheme"> 
    <activity 
     android:name=".activities.SplashActivity" 
     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=".activities.MainActivity" 
     android:label="xxx" 
     android:screenOrientation="portrait"> 
    </activity> 

    <activity 
     android:name=".activities.ProfileCropImageActivity" 
     android:screenOrientation="portrait" /> 

    <receiver 
     android:name="com.google.android.gms.gcm.GcmReceiver" 
     android:exported="true" 
     android:permission="com.google.android.c2dm.permission.SEND"> 
     <intent-filter> 
      <action android:name="com.google.android.c2dm.intent.RECEIVE" /> 
      <category android:name="xxx.gcm" /> 
     </intent-filter> 
    </receiver> 

    <service 
     android:name="xxx.services.MyGcmListenerService" 
     android:exported="false"> 
     <intent-filter> 
      <action android:name="com.google.android.c2dm.intent.RECEIVE" /> 
     </intent-filter> 
    </service> 
    <service 
     android:name="xxx.services.MyInstanceIDListenerService" 
     android:exported="false"> 
     <intent-filter> 
      <action android:name="com.google.android.gms.iid.InstanceID" /> 
     </intent-filter> 
    </service> 
    <service 
     android:name="xxx.services.RegistrationIntentService" 
     android:exported="false"> 
    </service> 
</application> 

Poniżej znajduje się część build.gradle:

defaultConfig { 
    applicationId "xxx" 
    minSdkVersion 15 
    targetSdkVersion 23 
    versionCode 1 
    versionName "1.0.0" 
} 
+0

Jaki jest docelowy pakiet SDK? –

+0

proszę dodać build.gradle – USKMobility

+0

docelowy SDK będzie 23 I guess. – Ima

Odpowiedz

2

Wystarczy popatrzeć na this i this, myślę, że to może pomóc w rozwiązaniu problemu. Podsumowując, przyczyną może być niepoprawne nazewnictwo w uprawnieniach lub funkcjach użytkowania. Może to również być spowodowane używaną przez Ciebie biblioteką firmy zewnętrznej. Mam nadzieję że to pomoże!

+0

Dzięki za linki! Usunąłem linię "compile" org.apache.directory.studio:org.apache.commons.codec:1.8 '"i zadziałało! – Ima

+0

Nice! Cieszę się, że pomogło! –

Powiązane problemy