I'm trying to update my android application on google play store and I got the error saying that:
Your APK cannot be analyzed using aapt. Error output:
Interrupted while waiting for aapt dump badging to finish.
I read from this and this posts but still couldn't understand the reason.
This is the error I'm getting from play store.
Update 1:
My App Manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="19" />
<permission
android:name="com.example.StaySecure.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.example.StaySecure.permission.C2D_MESSAGE" />
<!-- Custom permission for maps -->
<permission
android:name="com.example.StaySecure.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="com.example.StaySecure.permission.MAPS_RECEIVE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<uses-feature
android:name="android.hardware.telephony"
android:required="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application
android:name="com.example.StaySecure.AppController"
android:allowBackup="true"
android:debuggable="false"
android:icon="#drawable/ic_logo"
android:label="StaySecure"
android:theme="#style/AppTheme" >
<activity
android:name=".SplashScreen"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/FullscreenTheme" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.example.StaySecure.MainActivity"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.EditGeofenceActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.AddGeofenceActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.EditProfileActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.ImageSelectionActivity"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Translucent.NoTitleBar" >
</activity>
<activity
android:name="com.example.StaySecure.SelectCountryCode"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.selectContactActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name=".ViewPagerActivity"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name=".RegisterActivity"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.UserInTroubleActivity"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<activity
android:name=".FakeSwitchOffActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.FakeSwitchOff" >
</activity>
<activity
android:name="com.example.StaySecure.ParticipationCheck"
android:excludeFromRecents="true"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent" >
</activity>
<activity
android:name="com.example.StaySecure.UserIsParticipantActivity"
android:label="StaySecure"
android:noHistory="true"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<activity android:name="com.example.StaySecure.LoadImageFromServer" >
</activity>
<activity
android:name="com.example.StaySecure.CounterActivity"
android:excludeFromRecents="true"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent" >
</activity>
<activity
android:name="com.example.StaySecure.SafetyTipActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.TrackMeActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.GetHelpOrCloseTrackMeActivity"
android:excludeFromRecents="true"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent" >
</activity>
<activity android:name="com.example.StaySecure.GetHelpOrStopGeofenceService"
android:excludeFromRecents="true"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent">
</activity>
<service android:name="com.example.StaySecure.IntentService_UploadImage" >
</service>
<service android:name=".CheckScreenOnOffService" >
</service>
<service android:name=".BlockSystemPopUp" >
</service>
<service android:name=".SendSmsService" >
</service>
<service android:name=".LocationUpdateService" >
</service>
<service android:name=".TrackingUser" >
</service>
<service android:name=".GCMIntentService" >
</service>
<service android:name=".RemindRegistration" >
</service>
<service android:name=".PowerBtnPressedServiceForActivation" >
</service>
<service android:name=".UpdateMarkerService" >
</service>
<service android:name=".TrackMeUpdateLocationService" >
</service>
<service android:name="com.example.StaySecure.GeofenceLocationService" />
<service android:name="com.example.StaySecure.StaySecureLocationService" />
<!-- Geofence BroadCast Receiver -->
<receiver
android:name="com.example.StaySecure.GeofenceBroadcastReceiver"
android:exported="false" >
<intent-filter>
<action android:name="com.example.StaySecure.ACTION_GEOFENCE_RECEIVE" />
</intent-filter>
</receiver>
<receiver android:name="PowerBtnPressedReceiver" >
<intent-filter>
<action android:name="android.intent.action.SCREEN_ON" />
<action android:name="android.intent.action.SCREEN_OFF" />
<action android:name="android.Intent.ACTION_USER_PRESENT" />
</intent-filter>
</receiver>
<receiver android:name="PowerBtnPressedReceiverForActivation" >
<intent-filter>
<action android:name="android.intent.action.SCREEN_ON" />
<action android:name="android.intent.action.SCREEN_OFF" />
<action android:name="android.Intent.ACTION_USER_PRESENT" />
</intent-filter>
</receiver>
<receiver android:name="MyMessageReceiver" >
<intent-filter>
<action android:name="com.example.staysecure.incomingmsg" />
</intent-filter>
</receiver>
<!-- App Admin Receiver -->
<receiver
android:name="MyAdminReceiver"
android:permission="android.permission.BIND_DEVICE_ADMIN" >
<meta-data
android:name="android.app.device_admin"
android:resource="#xml/admin" />
<intent-filter>
<action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
</intent-filter>
</receiver>
<receiver
android:name="com.google.android.gcm.GCMBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<!-- Receives the actual messages. -->
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<!-- Receives the registration id. -->
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.example.StaySecure" />
</intent-filter>
</receiver>
<receiver android:name=".AutoReceive" >
<intent-filter>
<action android:name="android.intent.action.PHONE_STATE" />
</intent-filter>
</receiver>
<!-- BootUpReceiver -->
<receiver
android:name="BootupReceiver"
android:permission="android.permission.RECEIVE_BOOT_COMPLETED" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<!-- BootUpReceiver -->
<receiver android:name="SimMismatchedReceiver" >
<intent-filter>
<action android:name="com.example.StaySecure.SimMismatched" />
</intent-filter>
</receiver>
<!-- For fetching current location -->
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<!-- Google Api Key for maps -->
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="AIzaSyC6umJJ2DmCBxOl2fdTjOGfwiWQ8vcFen4" />
<provider
android:name="InternalStorageContentProvider"
android:authorities="com.example.StaySecure"
android:exported="true" />
</application>
Related
I know this questions has been asked a lot but I really don't get any answer
My app is not compatible with any phone:
Developer console
this is my android manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="amaigh.biolotel">
<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" />
<application
android:allowBackup="true"
android:icon="#drawable/ico"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity
android:name=".FullscreenActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="#string/app_name"
android:theme="#style/FullscreenTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".MainActivity"
android:label="#string/app_name"
android:theme="#style/AppTheme.NoActionBar">
</activity>
<activity android:name=".Settings" />
<activity android:name=".Chooser" />
<activity android:name=".PdfReader"></activity>
</application>
</manifest>
When I Analyze my app with android studio I get this manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="3"
android:versionName="1.0"
package="amaigh.biolotel"
platformBuildVersionCode="25"
platformBuildVersionName="7.1.1">
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="25" />
<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.WAKE_LOCK" />
<uses-permission
android:name="com.google.android.c2dm.permission.RECEIVE" />
<permission
android:name="amaigh.biolotel.permission.C2D_MESSAGE"
android:protectionLevel="0x2" />
<uses-permission
android:name="amaigh.biolotel.permission.C2D_MESSAGE" />
<application
android:theme="#ref/0x7f08003b"
android:label="#ref/0x7f06003d"
android:icon="#ref/0x7f02006d"
android:debuggable="true"
android:allowBackup="true"
android:supportsRtl="true">
<activity
android:theme="#ref/0x7f0800d7"
android:label="#ref/0x7f06003d"
android:name="amaigh.biolotel.FullscreenActivity"
android:configChanges="0x4a0">
<intent-filter>
<action
android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:theme="#ref/0x7f08003c"
android:label="#ref/0x7f06003d"
android:name="amaigh.biolotel.MainActivity" />
<activity
android:name="amaigh.biolotel.Settings" />
<activity
android:name="amaigh.biolotel.Chooser" />
<activity
android:name="amaigh.biolotel.PdfReader" />
<activity
android:theme="#ref/0x0103000f"
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="0xfb0" />
<activity
android:theme="#ref/0x7f080125"
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="amaigh.biolotel" />
</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="amaigh.biolotel.firebaseinitprovider"
android:initOrder="100" />
<meta-data
android:name="com.google.android.gms.version"
android:value="#ref/0x7f0a0006" />
</application>
</manifest>
Don't use this code in manifest.. if you are using android studio
just check in your app.gridle file min and target SDK api no
I've tried to add Firebase Cloud Messaging and Google/Firebase Analytics in my Application.
AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.Web"
android:permission="android.permission.RECEIVE_BOOT_COMPLETED"
android:versionCode="26"
android:versionName="1.2.60">
<uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="24" />
<application
android:name=".AnalyticsTracker"
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/MyMaterialTheme">
<activity
android:name="com.example.Login"
android:configChanges="orientation|keyboardHidden"
android:label="#string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service
android:exported="false"
android:name=".FirebaseMessage">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
<service
android:exported="false"
android:name=".FirebaseInstanceID">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
</intent-filter>
</service>
</application>
Running Services
Any thoughts what's causing this?
This "MeasurementBrokerService" leaks a lot of memory in my Application for no reason at all. There was a similar post but no solution was found.
I run the latest Google Play Services so nothing is outdated
UPDATED i got the \app\build\intermediates\manifests\full\debug\AndroidManifest.xml
It contains quite a lot "services" and declares, more than the AndroidManifest.xml in the android studio.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.web"
android:versionCode="26"
android:versionName="1.2.60" >
<uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="24" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<permission
android:name="com.example.web.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.example.web.permission.C2D_MESSAGE" />
<application
android:name="com.example.web.AnalyticsTracker"
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/MyMaterialTheme" >
<meta-data
android:name="com.samsung.android.sdk.multiwindow.enable"
android:value="true" />
<meta-data
android:name="com.samsung.android.sdk.multiwindow.multiinstance.enable"
android:value="false" />
<meta-data
android:name="com.sec.android.multiwindow.STYLE"
android:value="fixedRatio" />
<meta-data
android:name="com.sec.android.support.multiwindow"
android:value="true" />
<activity
android:name="com.example.web.MainActivity"
android:configChanges="orientation|keyboardHidden"
android:label="#string/app_name" />
<activity
android:name="com.example.web.Login"
android:configChanges="orientation|keyboardHidden"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service
android:name="com.example.web.FirebaseMessage"
android:exported="false" >
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<receiver android:name="com.example.web.Autostart" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
<service
android:name="com.fexample.web.FirebaseInstanceID"
android:exported="false" >
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service>
<activity
android:name="com.google.android.gms.common.api.GoogleApiActivity"
android:exported="false"
android:theme="#android:style/Theme.Translucent.NoTitleBar" />
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<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.firebase.iid.FirebaseInstanceIdReceiver"
android:exported="true"
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.example.web" />
</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:authorities="com.example.web.firebaseinitprovider"
android:exported="false"
android:initOrder="100" />
<service
android:name="com.google.firebase.crash.internal.service.FirebaseCrashReceiverService"
android:process=":background_crash" />
<service
android:name="com.google.firebase.crash.internal.service.FirebaseCrashSenderService"
android:process=":background_crash" />
<receiver
android:name="com.google.android.gms.measurement.AppMeasurementReceiver"
android:enabled="true" >
<intent-filter>
<action android:name="com.google.android.gms.measurement.UPLOAD" />
</intent-filter>
</receiver>
<service
android:name="com.google.android.gms.measurement.AppMeasurementService"
android:enabled="true"
android:exported="false" />
<activity
android:name="com.google.android.gms.appinvite.PreviewActivity"
android:exported="true"
android:theme="#style/Theme.AppInvite.Preview" >
<intent-filter>
<action android:name="com.google.android.gms.appinvite.ACTION_PREVIEW" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:theme="#android:style/Theme.Translucent" />
<activity
android:name="com.google.android.gms.ads.purchase.InAppPurchaseActivity"
android:theme="#style/Theme.IAPTheme" />
<activity
android:name="com.google.android.gms.auth.api.signin.internal.SignInHubActivity"
android:excludeFromRecents="true"
android:exported="false"
android:theme="#android:style/Theme.Translucent.NoTitleBar" />
<service
android:name="com.google.android.gms.auth.api.signin.RevocationBoundService"
android:exported="true"
android:permission="com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION" />
</application>
I want some assistance on Icons showing for my application, there are two icons one for my Library Project FBReader and one for my own launcher app. I make all changes as suggested on different web portals and StackOverflow but didn't get success. Please suggest me any solution regarding the same.
AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.handygo.rockasap"
android:installLocation="auto"
android:versionCode="70"
android:versionName="4.3.3" >
<!-- android:maxSdkVersion="17" max version create problem in Reader -->
<uses-sdk android:minSdkVersion="9" />
<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" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.READ_SYNC_STATS" />
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<!--
<permission
android:name="com.handygo.rockasap.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
-->
<uses-permission android:name="com.handygo.rockasap.permission.C2D_MESSAGE" />
<!-- This app has permission to register and receive data message. -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<!-- <uses-feature
android:name="android.permission.ACCESS_FINE_LOCATION"
android:required="false" />
<uses-feature
android:name="android.permission.ACCESS_COARSE_LOCATION"
android:required="false" />
<uses-feature
android:name="android.permission.SEND_SMS"
android:required="false" />
<uses-feature
android:name="android.hardware.location"
android:required="false" />
<uses-feature
android:name="android.hardware.location.network"
android:required="false" />
<uses-feature
android:name="android.hardware.location.gps"
android:required="false" />-->
<uses-feature
android:name="android.hardware.telephony"
android:required="false" >
</uses-feature>
<!-- Version check the WIFI and Location permission -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY" />
**<application
tools:replace="android:icon, android:label, android:name, android:theme"
android:allowBackup="true"
android:icon="#mipmap/app_icon"
android:label="#string/app_name"
android:largeHeap="true"
android:name=".RockstandApplication"
android:theme="#style/AppTheme" >**
<!-- MOBIKWIK Activity Files -->
<activity
android:name="com.mobikwik.sdk.MobikwikSDK"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="MobiKwik"
android:theme="#style/MKSDKTransparent"
android:windowSoftInputMode="stateHidden" >
</activity>
<!-- PayTM Activity -->
<activity
android:name="com.paytm.pgsdk.PaytmPGActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" >
</activity>
<activity
android:name="com.mobikwik.sdk.PGWebView"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="BankPage"
android:theme="#style/MKSDKTheme"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.mobikwik.sdk.PaymentOptions"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="#string/app_name"
android:theme="#style/MKSDKTheme"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.mobikwik.sdk.PaymentActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="#string/app_name"
android:theme="#style/MKSDKTheme"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.mobikwik.sdk.GetUserDetailsActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="#string/app_name"
android:theme="#style/MKSDKTheme"
android:windowSoftInputMode="stateHidden" >
</activity>
<!-- multiwindow code -->
<meta-data
android:name="com.samsung.android.sdk.multiwindow.enable"
android:value="true" />
<meta-data
android:name="com.samsung.android.sdk.multiwindow.multiinstance.enable"
android:value="true" />
<meta-data
android:name="com.sec.android.multiwindow.STYLE"
android:value="fixedRatio" />
<meta-data
android:name="com.sec.android.support.multiwindow"
android:value="true" />
<service android:name="com.handygo.rockasap.apputils.GCMIntentService" />
<receiver
android:name="com.handygo.rockasap.apputils.GcmBroadcastReceiver"
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.handygo.rockasap" />
</intent-filter>
</receiver>
<provider
android:name="com.handygo.rockasap.DataProvider"
android:authorities="com.handygo.rockasap.DataProvider"
android:exported="true"
android:multiprocess="true" >
</provider>
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<activity
android:name="org.geometerplus.android.fbreader.crash.FixBooksDirectoryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":crash"
android:theme="#style/FBReader.Dialog" >
<intent-filter>
<action android:name="android.fbreader.action.CRASH" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="CachedCharStorageException" />
</intent-filter>
</activity>
<activity
android:name="org.geometerplus.android.fbreader.crash.MissingNativeLibraryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":crash"
android:theme="#style/FBReader.Dialog" >
<intent-filter>
<action android:name="android.fbreader.action.CRASH" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="ExceptionInInitializerError" />
</intent-filter>
</activity>
<service
android:name="org.geometerplus.android.fbreader.api.ApiService"
android:exported="false"
android:launchMode="singleTask" >
<intent-filter>
<action android:name="android.fbreader.action.API" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</service>
<activity
android:name="com.artifex.mupdfdemo.ScreenShotsActivity"
android:theme="#android:style/Theme.Translucent.NoTitleBar" >
</activity>
<activity
android:name="org.geometerplus.android.fbreader.SpeakActivity"
android:configChanges="orientation|keyboardHidden"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Light.Panel" />
**<activity
tools:replace="android:icon, android:label, android:name, android:theme"
android:name="org.geometerplus.android.fbreader.FBReader"
android:configChanges="orientation|keyboardHidden|screenSize"
android:icon="#mipmap/app_icon"
android:label="Rockstand"
android:launchMode="singleTask"
android:theme="#style/FBReader.Activity" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="#xml/searchable" />
</activity>**
<activity android:name="org.geometerplus.android.fbreader.DictionaryBrowser" />
<activity
android:name="org.geometerplus.android.fbreader.CancelActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.style.StyleListActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.style.EditStyleActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.image.ImageViewActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Activity" />
<!-- android:process=":imageView" -->
<service
android:name="org.geometerplus.android.fbreader.libraryService.LibraryService"
android:exported="false"
android:launchMode="singleTask"
android:process=":libraryService" >
<intent-filter>
<action android:name="android.fbreader.action.LIBRARY_SERVICE" />
</intent-filter>
</service>
<activity
android:name="org.geometerplus.android.fbreader.library.BookInfoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":library"
android:theme="#style/FBReader.Activity" />
<activity
android:name="org.geometerplus.android.fbreader.library.LibrarySearchActivity"
android:process=":library"
android:theme="#android:style/Theme.NoDisplay" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="#xml/searchable" />
</activity>
<activity
android:name="org.geometerplus.android.fbreader.library.LibraryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:launchMode="singleTask"
android:process=":library"
android:theme="#style/FBReader.Activity" >
<meta-data
android:name="android.app.default_searchable"
android:value="org.geometerplus.android.fbreader.library.LibrarySearchActivity" />
</activity>
<activity
android:name="org.geometerplus.android.fbreader.TOCActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Activity" />
<activity
android:name="org.geometerplus.android.fbreader.BookmarksActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Activity" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="#xml/searchable" />
</activity>
<activity
android:name="org.geometerplus.android.fbreader.BookmarkEditActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.preferences.PreferenceActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Activity" />
<activity
android:name="org.geometerplus.android.fbreader.preferences.EditBookInfoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":library"
android:theme="#style/FBReader.Activity" />
<activity
android:name="org.geometerplus.android.fbreader.network.BookDownloader"
android:process=":networkLibrary"
android:theme="#android:style/Theme.NoDisplay" >
</activity>
<service
android:name="org.geometerplus.android.fbreader.network.BookDownloaderService"
android:launchMode="singleTask"
android:process=":networkLibrary" />
<activity
android:name="org.geometerplus.android.fbreader.network.NetworkSearchActivity"
android:process=":networkLibrary"
android:theme="#android:style/Theme.NoDisplay" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="#xml/searchable" />
</activity>
<activity
android:name="org.geometerplus.android.fbreader.network.NetworkLibraryPrimaryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:launchMode="singleTask"
android:process=":networkLibrary"
android:theme="#style/FBReader.Activity" >
</activity>
<activity
android:name="org.geometerplus.android.fbreader.network.NetworkLibrarySecondaryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Activity" />
<activity
android:name="org.geometerplus.android.fbreader.network.AuthenticationActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.network.BuyBooksActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.network.AddCatalogMenuActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.network.AddCustomCatalogActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Dialog" >
</activity>
<activity
android:name="org.geometerplus.android.fbreader.network.AuthorizationMenuActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.network.TopupMenuActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.network.NetworkBookInfoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Activity" >
</activity>
<activity
android:name="com.artifex.mupdfdemo.MuPDFActivity"
android:configChanges="orientation"
android:label="#string/app_name"
android:theme="#android:style/Theme.Light.NoTitleBar.Fullscreen" >
</activity>
<receiver
android:name="org.geometerplus.android.fbreader.network.ListenerCallback"
android:process=":networkLibrary" >
<intent-filter>
<action android:name="android.fbreader.action.network.SIGNIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<!--
<activity
android:name="com.handygo.rockasap.screens.MainActivity"
android:screenOrientation="sensorPortrait"
android:theme="#style/AppTheme" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
-->
<activity
android:name=".SplashActivity"
android:launchMode="singleTask"
android:screenOrientation="sensorPortrait"
android:theme="#style/AppTheme"
android:windowSoftInputMode="adjustPan" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".RockstandFragmentScreenActivity"
android:configChanges="screenSize|keyboardHidden|orientation"
android:label="#string/title_activity_filters"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize|adjustPan"></activity>
<!-- The authenticator service -->
<receiver
android:name="com.handygo.rockasap.services.ReferralReceiver"
android:enabled="true"
android:exported="true"
android:permission="android.permission.INSTALL_PACKAGES" >
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
<service
android:name="com.handygo.rockasap.services.AuthenticationService"
android:exported="false" >
<intent-filter>
<action android:name="android.accounts.AccountAuthenticator" />
</intent-filter>
<meta-data
android:name="android.accounts.AccountAuthenticator"
android:resource="#xml/authenticator" />
</service>
<!--<receiver
android:name="com.handygo.rockasap.UpdatePaymentSuccess">
<intent-filter>
<action android:name="update_paytm" />
</intent-filter>
</receiver>-->
</application>
</manifest>
Because you put two intent filters,remove one
<activity
android:name="org.geometerplus.android.fbreader.crash.FixBooksDirectoryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":crash"
android:theme="#style/FBReader.Dialog" >
<intent-filter>
<action android:name="android.fbreader.action.CRASH" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="CachedCharStorageException" />
</intent-filter>
</activity>
<activity
android:name="org.geometerplus.android.fbreader.crash.MissingNativeLibraryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":crash"
android:theme="#style/FBReader.Dialog" >
<intent-filter>
<action android:name="android.fbreader.action.CRASH" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="ExceptionInInitializerError" />
</intent-filter>
</activity>
Thats because you have 2 LAUNCHER activities in your manifest
<activity
android:name=".SplashActivity"
android:launchMode="singleTask"
android:screenOrientation="sensorPortrait"
android:theme="#style/AppTheme"
android:windowSoftInputMode="adjustPan" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity>
The 2 line
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
are both launchers. Remove 1
The other answers are correct, either remove the intentfilters or set the category of either to android.intent.category.DEFAULT
Note that if you dont declare it to DEFAULT, the compiler does it for you automatically.
When the gcm push notification is sent, response shows successful, but at that time app was in stopped mode so msg must be queued, but when I restart the app gcm notification does'nt get received
Manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<permission
android:name="com.example.gcm.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.example.gcm.permission.C2D_MESSAGE" />
<uses-feature
android:name="android.hardware.telephony"
android:required="false" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<!--
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
Google Maps Android API v2, but are recommended.
-->
<application
android:allowBackup="true"
android:icon="#mipmap/ic_resqlife_logo"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<activity
android:name=".SplashScreen"
android:label="#string/app_name"
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=".UserChoice"
android:label="#string/title_activity_user_choice"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".RegFormActivity"
android:label="#string/title_activity_reg_form"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".OTPVerificationActivity"
android:label="#string/title_activity_otpverification"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".MainActivity"
android:label="#string/app_name"
android:launchMode="singleTask"
android:screenOrientation="portrait" >
</activity>
<service
android:name=".GcmIntentService"
android:exported="true" >
</service>
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="#string/google_maps_key" />
<activity
android:name=".MapsActivity"
android:label="#string/title_activity_maps"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".GooglePlayServicesActivity"
android:label="#string/title_activity_google_play_services"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".ContactsListActivity"
android:label=""
android:screenOrientation="portrait" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<receiver
android:name=".GcmBroadcastReceiver"
android:enabled="true"
android:exported="true" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.example.gcm" />
</intent-filter>
</receiver>
<activity
android:name=".AlertActivity"
android:configChanges="orientation|keyboardHidden|keyboard"
android:label="#string/title_activity_alert"
android:screenOrientation="portrait" >
</activity>
<service
android:name=".LocationService"
android:exported="true" >
</service>
<activity
android:name=".NetworkActivity"
android:label="#string/title_activity_network"
android:screenOrientation="portrait" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name=".UpdateNetworkActivity"
android:label="#string/title_activity_update_network" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".NetworkActivity" />
</activity>
<receiver
android:name=".ReregisterGCMReceiver"
android:enabled="true"
android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.PACKAGE_REPLACED" />
<data
android:path="com.tpl.arpitgoyal.resqlife"
android:scheme="package" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<activity
android:name=".UpdateProfile"
android:label="#string/title_activity_update_profile" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name=".NoInternetActivity"
android:label="#string/title_activity_no_internet"
android:launchMode="singleTask" >
</activity>
<activity
android:name=".InviteActivity"
android:label="#string/title_activity_invite" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name=".CoordinatesActivity"
android:label="#string/title_activity_coordinates" >
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="maps.google.com" />
<data android:scheme="https" />
<data android:pathPattern="/.*" />
</intent-filter>
</activity>
<!--
<receiver
android:name=".UnInstallReceiver"
android:enabled="true"
android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.PACKAGE_REMOVED" />
<data
android:path="com.tpl.arpitgoyal.resqlife"
android:scheme="package" />
</intent-filter>
</receiver>
-->
<activity
android:name=".SliderButtonActivity"
android:label="#string/title_activity_slider_button" >
</activity>
<service
android:name=".VibratorService"
android:exported="true" >
</service>
<activity
android:name=".SmsOTPVerificationActivity"
android:label="#string/title_activity_sms_otpverification" >
</activity>
<service
android:name=".OnLineService"
android:enabled="true"
android:exported="false" >
</service>
</application>
I am getting a weird error when I ran the aapt dump badging command on my signed apk.
This is what I get:
W/zipro ( 9829): Buffer too short, requires 1073 bytes for entry name
E/asset ( 9829): ARGH: name too long?
W/zipro ( 9829): Buffer too short, requires 1605 bytes for entry name
E/asset ( 9829): ARGH: name too long?
W/zipro ( 9829): Buffer too short, requires 964 bytes for entry name
E/asset ( 9829): ARGH: name too long?
W/zipro ( 9829): Buffer too short, requires 1234 bytes for entry name
Because of this I am not able to upload it on play store.
I get the following error on play store
My manifest file is as follow:
<?xml version="1.0" encoding="utf-8"?>
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="19" />
<permission
android:name="com.iriemo.StaySecure.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.iriemo.StaySecure.permission.C2D_MESSAGE" />
<!-- Custom permission for maps -->
<permission
android:name="com.iriemo.StaySecure.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="com.iriemo.StaySecure.permission.MAPS_RECEIVE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<uses-feature
android:name="android.hardware.telephony"
android:required="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application
android:name="com.iriemo.StaySecure.AppController"
android:allowBackup="true"
android:debuggable="false"
android:icon="#drawable/ic_logo"
android:label="StaySecure"
android:theme="#style/AppTheme" >
<activity
android:name=".SplashScreen"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/FullscreenTheme" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.iriemo.StaySecure.MainActivity"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.iriemo.StaySecure.EditGeofenceActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.iriemo.StaySecure.AddGeofenceActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.iriemo.StaySecure.EditProfileActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.iriemo.StaySecure.ImageSelectionActivity"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Translucent.NoTitleBar" >
</activity>
<activity
android:name="com.iriemo.StaySecure.SelectCountryCode"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.iriemo.StaySecure.selectContactActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name=".ViewPagerActivity"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name=".RegisterActivity"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.iriemo.StaySecure.UserInTroubleActivity"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<activity
android:name=".FakeSwitchOffActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.FakeSwitchOff" >
</activity>
<activity
android:name="com.iriemo.StaySecure.ParticipationCheck"
android:excludeFromRecents="true"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent" >
</activity>
<activity
android:name="com.iriemo.StaySecure.UserIsParticipantActivity"
android:label="StaySecure"
android:noHistory="true"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<activity android:name="com.iriemo.StaySecure.LoadImageFromServer" >
</activity>
<activity
android:name="com.iriemo.StaySecure.CounterActivity"
android:excludeFromRecents="true"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent" >
</activity>
<activity
android:name="com.iriemo.StaySecure.SafetyTipActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.iriemo.StaySecure.TrackMeActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.iriemo.StaySecure.GetHelpOrCloseTrackMeActivity"
android:excludeFromRecents="true"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent" >
</activity>
<activity android:name="com.iriemo.StaySecure.GetHelpOrStopGeofenceService"
android:excludeFromRecents="true"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent">
</activity>
<service android:name="com.iriemo.StaySecure.IntentService_UploadImage" >
</service>
<service android:name=".CheckScreenOnOffService" >
</service>
<service android:name=".BlockSystemPopUp" >
</service>
<service android:name=".SendSmsService" >
</service>
<service android:name=".LocationUpdateService" >
</service>
<service android:name=".TrackingUser" >
</service>
<service android:name=".GCMIntentService" >
</service>
<service android:name=".RemindRegistration" >
</service>
<service android:name=".PowerBtnPressedServiceForActivation" >
</service>
<service android:name=".UpdateMarkerService" >
</service>
<service android:name=".TrackMeUpdateLocationService" >
</service>
<service android:name="com.iriemo.StaySecure.GeofenceLocationService" />
<service android:name="com.iriemo.StaySecure.StaySecureLocationService" />
<!-- Geofence BroadCast Receiver -->
<receiver
android:name="com.iriemo.StaySecure.GeofenceBroadcastReceiver"
android:exported="false" >
<intent-filter>
<action android:name="com.iriemo.StaySecure.ACTION_GEOFENCE_RECEIVE" />
</intent-filter>
</receiver>
<receiver android:name="PowerBtnPressedReceiver" >
<intent-filter>
<action android:name="android.intent.action.SCREEN_ON" />
<action android:name="android.intent.action.SCREEN_OFF" />
<action android:name="android.Intent.ACTION_USER_PRESENT" />
</intent-filter>
</receiver>
<receiver android:name="PowerBtnPressedReceiverForActivation" >
<intent-filter>
<action android:name="android.intent.action.SCREEN_ON" />
<action android:name="android.intent.action.SCREEN_OFF" />
<action android:name="android.Intent.ACTION_USER_PRESENT" />
</intent-filter>
</receiver>
<receiver android:name="MyMessageReceiver" >
<intent-filter>
<action android:name="com.iriemo.staysecure.incomingmsg" />
</intent-filter>
</receiver>
<!-- App Admin Receiver -->
<receiver
android:name="MyAdminReceiver"
android:permission="android.permission.BIND_DEVICE_ADMIN" >
<meta-data
android:name="android.app.device_admin"
android:resource="#xml/admin" />
<intent-filter>
<action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
</intent-filter>
</receiver>
<receiver
android:name="com.google.android.gcm.GCMBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<!-- Receives the actual messages. -->
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<!-- Receives the registration id. -->
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.iriemo.StaySecure" />
</intent-filter>
</receiver>
<receiver android:name=".AutoReceive" >
<intent-filter>
<action android:name="android.intent.action.PHONE_STATE" />
</intent-filter>
</receiver>
<!-- BootUpReceiver -->
<receiver
android:name="BootupReceiver"
android:permission="android.permission.RECEIVE_BOOT_COMPLETED" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<!-- BootUpReceiver -->
<receiver android:name="SimMismatchedReceiver" >
<intent-filter>
<action android:name="com.iriemo.StaySecure.SimMismatched" />
</intent-filter>
</receiver>
<!-- For fetching current location -->
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<!-- Google Api Key for maps -->
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="AIzaSyC6umJJ2DmCBxOl2fdTjOGfwiWQ8vcFen4" />
<provider
android:name="InternalStorageContentProvider"
android:authorities="com.iriemo.StaySecure"
android:exported="true" />
</application>
It looks like there are files included in your APK file that have a very long file-name and/or file path. Check it and rename the files and directories so that the resulting file path inside the APK is shorter.
If I interpret the AOSP source correct the maximum file path inside the APK file is 256 characters.