Ich habe Probleme beim Hochladen meiner neuen App. Der Upload funktioniert einwandfrei, aber es heißt, dass 0 Geräte unterstützt werden. Ich habe versucht, Bibliotheken (Abhängigkeiten Gradle) zu entfernen und nutzt Berechtigungen, aber ich kann es einfach nicht funktionieren.0 Geräte unterstützt Google Play Store
Manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.southtune.smicker">
<uses-permission android:name="com.southtune.smicker.permission.MAPS_RECIEVE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="com.southtune.smicker.permission.C2D_MESSAGE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/Theme.App.Base">
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="******" />
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id" />
<meta-data
android:name="io.fabric.ApiKey"
android:value="******" />
<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="com.southtune.smicker" />
</intent-filter>
</receiver>
<service
android:name="com.southtune.smicker.gcm.MyGcmListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</service>
<service
android:name="com.southtune.smicker.gcm.MyInstanceIDListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.gms.iid.InstanceID" />
</intent-filter>
</service>
<activity
android:name="com.southtune.smicker.Activities.SignInActivity"
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="com.southtune.smicker.Activities.FullProfileMeActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan"/>
<activity android:name="com.android.camera.CropImage" />
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="@string/app_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<activity
android:name="com.southtune.smicker.Activities.MainActivity"
android:label="@string/main"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name="com.southtune.smicker.Activities.TagListActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name="com.southtune.smicker.Activities.ProfilePeekActivity"
android:windowSoftInputMode="adjustPan"
android:screenOrientation="portrait"/>
<activity
android:name="com.southtune.smicker.Activities.RegisterActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name="com.southtune.smicker.Activities.FullProfileActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan">
</activity>
<activity
android:name="com.southtune.smicker.Activities.RegisterFullProfileActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name="com.southtune.smicker.Activities.SettingsActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name="com.southtune.smicker.Activities.ChatActivity"
android:label="@string/title_activity_chat"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name="com.southtune.smicker.Activities.TagActivity"
android:label="@string/title_activity_tag"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name="com.southtune.smicker.Activities.TagListActivityNotTagged"
android:screenOrientation="portrait"
android:label="@string/title_activity_tag_list_activity_not_tagged"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name="com.southtune.smicker.Activities.EventMessageActivity"
android:screenOrientation="portrait"
android:label="@string/title_activity_event_message"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name="com.southtune.smicker.Activities.UpcomingEventActivity"
android:screenOrientation="portrait"
android:label="@string/title_activity_upcoming_event"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name="com.southtune.smicker.Activities.TagMainActivity"
android:screenOrientation="portrait"
android:label="@string/title_activity_tag_main"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name="com.southtune.smicker.Activities.ShowEventMessageActivity"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_event_message"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name="com.southtune.smicker.Activities.ChangeProfileActivity"
android:label="@string/title_activity_change_profile"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan"/>
</application>
</manifest>
Gradle:
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'io.fabric'
dependencies {
compile 'com.google.android.gms:play-services:8.1.0'
compile 'com.facebook.android:facebook-android-sdk:4.0.0'
compile 'com.rockerhieu.emojicon:library:1.3.3'
compile('org.apache.httpcomponents:httpmime:4.3.6') {
exclude module: 'httpclient'
}
compile 'org.apache.httpcomponents:httpclient-android:4.3.5'
compile 'com.google.code.gson:gson:2.3'
compile "com.google.android.gms:play-services:8.1.0"
compile 'com.android.support:appcompat-v7:22.2.1'
compile('com.crashlytics.sdk.android:crashlytics:[email protected]') {
transitive = true;
}
compile 'org.apache.commons:commons-lang3:3.4'
}
android {
compileSdkVersion 21
buildToolsVersion "23.0.0"
packagingOptions{
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
lintOptions {
disable 'MissingTranslation'
}
defaultConfig {
multiDexEnabled true
applicationId "com.southtune.smicker"
minSdkVersion 21
targetSdkVersion 21
versionCode 7
versionName "1.1"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
Was habe ich im Setup verpasst?
Haben Sie versucht zu entfernen - ''? –
Sie sollten immer die neueste Google Play Services-Bibliothek verwenden – Eenvincible
Ja, ich habe versucht, alle Berechtigungen ohne Glück zu entfernen. @ShadabAnsari – Sirena