I'd like to release my app on the google play store. Currently the app's name is shown right, but in the options to uninstall the app, it's full package name is shown and I'd like to avoid this and instead show the app's name there, too.
Is this possible and if so how would I accomplish it?
Here's my manifest file
<?xml version="1.0" encoding="utf-8"?>
<!--
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
Google Maps Android API v2, but you must specify either coarse or fine
location permissions for the 'MyLocation' functionality.
-->
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="com.sonyericsson.home.permission.BROADCAST_BADGE" />
<!-- GCM -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<application
android:icon="#drawable/ic_icon"
android:name="android.support.multidex.MultiDexApplication"
android:largeHeap="true"
android:label="#string/app_name"
android:screenOrientation="portrait"
android:theme="#style/Theme.AppCompat.Light.NoActionBar" >
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="#string/facebook_app_id" />
<provider
android:name="com.facebook.FacebookContentProvider"
android:authorities="com.facebook.app.FacebookContentProvider12345678"
android:exported="true" />
<activity
android:name=".SplashScreen"
android:label="#string/app_name" >
<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=".AddActivity"
android:label="#string/title_activity_add"
android:parentActivityName=".MainActivity"
android:theme="#style/AppTheme.NoActionBar" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.app.name.MainActivity" />
</activity>
<activity
android:name=".DiscoverActivity"
android:label="#string/title_activity_discover"
android:parentActivityName=".MainActivity"
android:theme="#style/AppTheme.NoActionBar" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.app.name.MainActivity" />
</activity>
<activity
android:name=".DetailActivity"
android:label="#string/title_activity_detail"
android:parentActivityName=".MainActivity"
android:theme="#style/Theme.AppCompat.Light.NoActionBar" >
</activity>
<activity
android:name=".ProfileActivity"
android:label="#string/title_activity_profile"
android:theme="#style/Theme.AppCompat.Light.NoActionBar" >
</activity>
<activity
android:name=".EditProfileActivity"
android:label="#string/title_activity_edit_profile"
android:parentActivityName=".ProfileActivity"
android:theme="#style/Theme.AppCompat.Light.NoActionBar" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.app.name.ProfileActivity" />
</activity>
<!--
The API key for Google Maps-based APIs is defined as a string resource.
(See the file "res/values/google_maps_api.xml").
Note that the API key is linked to the encryption key used to sign the APK.
You need a different API key for each encryption key, including the release key that is used to
sign the APK for publishing.
You can define the keys for the debug and release targets in src/debug/ and src/release/.
-->
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="#string/google_maps_key" />
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<activity
android:name=".MapsActivity"
android:label="#string/title_activity_maps"
android:screenOrientation="portrait" >
</activity>
<!-- FACEBOOK ACTIVITY -->
<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=".FriendsActivity"
android:label="#string/title_activity_friends"
android:theme="#style/Theme.AppCompat.Light.NoActionBar" >
</activity>
<activity
android:name=".RegisterActivity"
android:label="#string/title_activity_register"
android:theme="#style/Theme.AppCompat.Light.NoActionBar" >
</activity>
<activity
android:name=".NotificationsActivity"
android:label="#string/title_activity_notifications"
android:theme="#style/Theme.AppCompat.Light.NoActionBar" >
</activity>
<!-- GCM -->
<!-- [START gcm_receiver] -->
<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="gcm.play.android.samples.com.gcmquickstart" />
</intent-filter>
</receiver>
<service
android:name=".MyGcmListenerService"
android:exported="false" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</service>
<service
android:name=".MyInstanceIDListenerService"
android:exported="false" >
<intent-filter>
<action android:name="com.google.android.gms.iid.InstanceID" />
</intent-filter>
</service>
<service
android:name=".NotificationService"
android:exported="false" >
</service>
<!-- make API to register app to GCM available -->
<service
android:name=".RegistrationIntentService"
android:exported="false" >
<intent-filter>
<action
android:name="com.google.android.gms.iid.InstanceID"
android:permission="com.google.android.c2dm.permission.RECEIVE" />
</intent-filter>
</service>
<activity
android:name=".EditActivity"
android:label="#string/title_activity_edit"
android:theme="#style/Theme.AppCompat.Light.NoActionBar" >
</activity>
<activity
android:name=".BasesActivity"
android:label="#string/title_activity_bases"
android:theme="#style/Theme.AppCompat.Light.NoActionBar" >
</activity>
<activity
android:name=".SettingsActivity"
android:label="#string/title_activity_settings"
android:theme="#style/Theme.AppCompat.Light.NoActionBar" >
</activity>
</application>
android:label was missing in manifests application tag. When I added it first nothing changed but I tested it again today and the "error" is gone.
Just remove android:name="android.support.multidex.MultiDexApplication" from your application tag in AndroidManifest file ,it will definitely remove the problem.
Related
I've created a React Native and Expo app. I've ejected the app so I could add native SDKs. The app runs fine on iOS but on Android I get the error
'INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME' Invalid manifest package: must
have at least one '.' separator.
when running the app from Android Studio.
Here's my Android Manifest file:
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="host.exp.exponent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<permission
android:name="MyBet.permission.C2D_MESSAGE"
android:protectionLevel="signature"/>
<!-- These are required permissions to make the app run -->
<uses-permission android:name="MyBet.permission.C2D_MESSAGE" />
<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.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- ADD PERMISSIONS HERE -->
<!-- BEGIN OPTIONAL PERMISSIONS -->
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<!-- These require runtime permissions on M -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.WRITE_CALENDAR" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<!-- END OPTIONAL PERMISSIONS -->
<!-- ADD TEST PERMISSIONS HERE -->
<uses-feature android:glEsVersion="0x00030000" android:required="false" />
<application
android:name=".MainApplication"
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:largeHeap="true">
<activity
android:name=".LauncherActivity"
android:exported="true"
android:launchMode="singleTask"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Translucent.NoTitleBar">
<intent-filter>
<data android:scheme="exp94a58e9903bc4b1a995b011fd737bdc1"/>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
</intent-filter>
</activity>
<activity
android:name=".experience.ExperienceActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:theme="#style/Theme.Exponent.Light"
android:windowSoftInputMode="adjustResize">
</activity>
<activity
android:name=".MainActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:theme="#style/Theme.Exponent.Splash"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity
android:name=".experience.ShellAppActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:theme="#style/Theme.Exponent.Splash"
android:windowSoftInputMode="adjustResize">
<!-- ADD SHELL INTENT FILTERS HERE -->
</activity>
<activity
android:name=".experience.HomeActivity"
android:label="#string/app_name"
android:launchMode="singleTask"
android:screenOrientation="portrait"
android:theme="#style/Theme.Exponent.Light">
</activity>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity"/>
<!-- ADD DEV SETTINGS HERE -->
<activity android:name="abi25_0_0.com.facebook.react.devsupport.DevSettingsActivity"/>
<activity android:name="abi24_0_0.com.facebook.react.devsupport.DevSettingsActivity"/>
<activity android:name="abi23_0_0.com.facebook.react.devsupport.DevSettingsActivity"/>
<activity android:name="abi22_0_0.com.facebook.react.devsupport.DevSettingsActivity"/>
<activity android:name="abi21_0_0.com.facebook.react.devsupport.DevSettingsActivity"/>
<activity android:name="abi20_0_0.com.facebook.react.devsupport.DevSettingsActivity"/>
<activity android:name="abi19_0_0.com.facebook.react.devsupport.DevSettingsActivity"/>
<activity
android:name=".ExponentDevActivity"
android:exported="true"
android:label="#string/dev_activity_name"
android:screenOrientation="portrait"
android:theme="#style/Theme.Exponent.Dark"
android:windowSoftInputMode="adjustPan">
</activity>
<activity
android:name=".oauth.OAuthWebViewActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Exponent.Light">
</activity>
<activity
android:name="net.openid.appauth.RedirectUriReceiverActivity"
tools:node="replace">
<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:scheme="MyBet" android:path="oauthredirect"/>
</intent-filter>
</activity>
<activity
android:name=".oauth.OAuthResultActivity">
</activity>
<activity
android:name=".chrometabs.ChromeTabsManagerActivity">
</activity>
<activity
android:name=".experience.ErrorActivity"
android:theme="#style/Theme.Exponent.Dark"
android:screenOrientation="portrait">
</activity>
<activity
android:name=".experience.InfoActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Exponent.Light">
</activity>
<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"
tools:replace="android:theme" />
<activity
android:name="com.facebook.ads.InterstitialAdActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="#string/app_name"
android:theme="#android:style/Theme.Translucent.NoTitleBar" />
<service
android:name=".ExponentIntentService"
android:exported="false" />
<!-- Analytics -->
<receiver
android:name="host.exp.exponent.referrer.InstallReferrerReceiver"
android:exported="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
<!--
This crashes: https://code.google.com/p/analytics-issues/issues/detail?id=667
TODO: turn it back on when it's fixed
<service
android:name="com.google.android.gms.analytics.CampaignTrackingService"
android:enabled="true"
android:exported="false" />-->
<receiver android:name="com.google.android.gms.analytics.AnalyticsReceiver"
android:enabled="true">
<intent-filter>
<action android:name="com.google.android.gms.analytics.ANALYTICS_DISPATCH" />
</intent-filter>
</receiver>
<service android:name="com.google.android.gms.analytics.AnalyticsService"
android:enabled="true"
android:exported="false"/>
<!-- GCM -->
<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"/>
<action android:name="com.google.android.c2dm.intent.REGISTRATION"/>
<category android:name="MyBet"/>
</intent-filter>
</receiver>
<service
android:name=".gcm.ExponentGcmListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE"/>
</intent-filter>
</service>
<service
android:name=".gcm.ExponentInstanceIDListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.gms.iid.InstanceID"/>
</intent-filter>
</service>
<service
android:name=".gcm.RegistrationIntentService"
android:exported="false">
</service>
<!-- Emarsys Mobile Engage -->
<service android:name="com.emarsys.mobileengage.service.MobileEngageMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<service android:name="com.emarsys.mobileengage.service.MobileEngageInstanceIdService">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service>
<meta-data
android:name="com.emarsys.mobileengage.small_notification_icon"
android:resource="#mipmap/ic_launcher" />
<!-- ImagePicker native module -->
<activity
android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
android:theme="#style/Base.Theme.AppCompat">
</activity>
<!-- ADD FABRIC CONFIG HERE -->
<!-- BEGIN FABRIC CONFIG -->
<meta-data
android:name="io.fabric.ApiKey"
android:value="a25fafe9f9edee11a9882b32e0cd7a26df6e2c42"/>
<!-- END FABRIC CONFIG -->
<!-- ADD GOOGLE MAPS CONFIG HERE -->
<!-- BEGIN GOOGLE MAPS CONFIG -->
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyCPyKmt6in3JwAsogYikNNjor8qgU9stRQ"/>
<!-- END GOOGLE MAPS CONFIG -->
<!-- ADD BRANCH CONFIG HERE -->
<!-- The Facebook SDK runs FacebookInitProvider on startup and crashes if there isn't an ID here -->
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="fb0"/>
</application>
</manifest>
Does anyone have any idea what's causing this? My package name looks okay to me
I am creating a android app where i am using sync adapters and Firesbase Messaging Service. At a point everything worked fine and then suddenly now whenever i am trying to install my app on a device, it gives me a message "Installation Cancelled By User" and ERROR Installing app. I have tried doing every possible thing.
I changed my package name from com.example.raghav.AurinkoInfotech to com.example.raghav.aurinkoinfotech (Uppercase to lowercase), but that didn't work out.
I tried the option ("invalidate caches/Restart") in file menu of android studio.
Please help me.
Following is my manifest file......
<?xml version="1.0" encoding="utf-8"?>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<application
android:name="com.example.raghav.AurinkoInfotech.Global"
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<!--
The API key for Google Maps-based APIs is defined as a string resource.
(See the file "res/values/google_maps_api.xml").
Note that the API key is linked to the encryption key used to sign the APK.
You need a different API key for each encryption key, including the release key that is used to
sign the APK for publishing.
You can define the keys for the debug and release targets in src/debug/ and src/release/.
-->
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="#string/google_maps_key" />
<activity
android:name="com.example.raghav.AurinkoInfotech.EditProfile"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme">
</activity>
<activity
android:name="com.example.raghav.AurinkoInfotech.Login"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.example.raghav.AurinkoInfotech.MapsActivity"
android:label="#string/title_activity_maps"
android:noHistory="true"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme">
</activity>
<activity
android:name="com.example.raghav.AurinkoInfotech.DashboardActivity"
android:label="#string/title_activity_maps"
android:noHistory="true"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme">
</activity>
<activity android:name="com.example.raghav.AurinkoInfotech.GalleryUtil"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme">
</activity>
<activity android:name="com.example.raghav.AurinkoInfotech.ProjectOptions"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme">
</activity>
<activity android:name="com.example.raghav.AurinkoInfotech.Project_Operations"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme">
</activity>
<activity android:name="com.example.raghav.AurinkoInfotech.ChatActivity"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme">
</activity>
<activity android:name="com.example.raghav.AurinkoInfotech.ManageTeam"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme">
</activity>
<activity android:name="com.example.raghav.AurinkoInfotech.Project_options_recyclerviews"
android:windowSoftInputMode="adjustPan"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme1">
</activity>
<activity android:name="com.example.raghav.AurinkoInfotech.Discussion"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme">
</activity>
<activity android:name="com.example.raghav.AurinkoInfotech.Project_tasks"
android:windowSoftInputMode="stateAlwaysHidden|adjustResize"
android:screenOrientation="portrait"
android:theme="#style/AppTheme">
</activity>
<activity android:name="com.example.raghav.AurinkoInfotech.Checklist"
android:windowSoftInputMode="stateAlwaysHidden|stateHidden"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme">
</activity>
<activity android:name="com.example.raghav.AurinkoInfotech.Labels"
android:windowSoftInputMode="stateAlwaysHidden|stateHidden"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme">
</activity>
<activity android:name="com.example.raghav.AurinkoInfotech.TeamMembers"
android:windowSoftInputMode="stateAlwaysHidden|stateHidden"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme">
</activity>
<activity android:name="com.example.raghav.AurinkoInfotech.Calender"
android:windowSoftInputMode="stateAlwaysHidden|stateHidden"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme1">
</activity>
<provider
android:name="com.example.raghav.AurinkoInfotech.StubProvider"
android:authorities="com.example.raghav.AurinkoInfotech.provider"
android:exported="false"
android:syncable="true"/>
<service android:name="com.example.raghav.AurinkoInfotech.fcmInstanceIdService">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT"> </action>
</intent-filter>
</service>
<service android:name="com.example.raghav.AurinkoInfotech.FcmMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"> </action>
</intent-filter>
</service>
<service
android:name="com.example.raghav.AurinkoInfotech.AuthenticatorService">
<intent-filter>
<action
android:name="android.accounts.AccountAuthenticator"/>
</intent-filter>
<meta-data
android:name="android.accounts.AccountAuthenticator"
android:resource="#xml/authenticator" />
</service>
<service
android:name="com.example.raghav.AurinkoInfotech.SyncService"
android:exported="true"
android:process="sync">
<intent-filter>
<action android:name="android.content.SyncAdapter"/>
</intent-filter>
<meta-data android:name="android.content.SyncAdapter"
android:resource="#xml/syncadapter" />
</service>
</application>
I am a novice trying to figure out the error. But I have reached upon no solution even after trying it several times.
I am sharing the android-manifest.xml file code. More details are after this code.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.home.timestopper" >
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity
android:name=".StopwatchActivity"
android:label="#string/app_name"
android:theme="#style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data android:name="com.applozic.application.key"
android:value="API_KEY" /> <!-- Applozic Application Key -->
<meta-data android:name="com.applozic.mobicomkit.notification.icon"
android:resource="#drawable/mobicom_ic_launcher" /> <!-- Launcher Icon -->
<meta-data android:name="com.applozic.mobicomkit.notification.smallIcon"
android:resource="YOUR_LAUNCHER_SMALL_ICON" /> <!-- Launcher white Icon -->
<meta-data android:name="share_text"
android:value="Talk about time!..the essence of life." /> <!-- Invite Message -->
<meta-data android:name="main_folder_name"
android:value="#string/default_media_location_folder" /> <!-- Attachment Folder Name -->
<meta-data android:name="com.google.android.geo.API_KEY"
android:value="GEO_KEY" /> <!--Replace with your geo api key from google developer console -->
<!-- For testing purpose use
To disable the location sharing via map add this line ApplozicSetting.getInstance(context).disableLocationSharingViaMap(); in onSuccess of Applozic UserLoginTask -->
<meta-data android:name="activity.open.on.notification"
android:value="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity" /> <!-- NOTE : Do NOT change this value -->
<meta-data android:name="com.package.name"
android:value="${applicationId}" /> <!-- NOTE: Do NOT change this, it should remain same i.e 'com.package.name' -->
<receiver android:name="com.applozic.mobicomkit.uiwidgets.notification.MTNotificationBroadcastReceiver">
<intent-filter>
<action android:name="${applicationId}.send.notification" />
</intent-filter>
</receiver>
<activity android:name="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="#string/app_name"
android:parentActivityName=".StopwatchActivity"
android:theme="#style/ApplozicTheme"
android:launchMode="singleTask" >
<!-- Parent activity meta-data to support API level 7+ -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".StopwatchActivity" />
</activity>
<activity android:name="com.applozic.mobicomkit.uiwidgets.people.activity.MobiComKitPeopleActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="#string/activity_contacts_list"
android:parentActivityName="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity"
android:theme="#style/Applozic.People.Theme"
android:windowSoftInputMode="adjustResize">
<!-- Parent activity meta-data to support API level 7+ -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity" />
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="#xml/searchable_contacts" />
</activity>
<activity android:name="com.applozic.mobicomkit.uiwidgets.conversation.activity.FullScreenImageActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="Image"
android:parentActivityName="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity"
android:theme="#style/Applozic_FullScreen_Theme">
<!-- Parent activity meta-data to support API level 7+ -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity" />
</activity>
<activity
android:name="com.applozic.mobicomkit.uiwidgets.conversation.activity.ContactSelectionActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
android:parentActivityName="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity"
android:theme="#style/ApplozicTheme">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity" />
</activity>
<activity
android:name="com.applozic.mobicomkit.uiwidgets.conversation.activity.ChannelCreateActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
android:parentActivityName="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity"
android:theme="#style/ApplozicTheme">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity" />
</activity>
<activity android:name="com.applozic.mobicomkit.uiwidgets.conversation.activity.ChannelNameActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
android:parentActivityName="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity"
android:theme="#style/ApplozicTheme">
</activity>
<activity android:name="com.applozic.mobicomkit.uiwidgets.conversation.activity.ChannelInfoActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
android:parentActivityName="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity"
android:theme="#style/ApplozicTheme">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity" />
</activity>
<activity
android:name="com.applozic.mobicomkit.uiwidgets.conversation.activity.MobiComAttachmentSelectorActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
android:parentActivityName="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity"
android:theme="#style/ApplozicTheme"
android:windowSoftInputMode="stateHidden|adjustResize">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity" />
</activity>
<activity android:name="com.applozic.mobicomkit.uiwidgets.conversation.activity.MobicomLocationActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:parentActivityName="com.applozic.mobicomkit.uiwidgets.conversation.activity.ConversationActivity"
android:theme="#style/ApplozicTheme"
android:windowSoftInputMode="adjustResize">
</activity>
<service android:name="com.applozic.mobicomkit.api.conversation.MessageIntentService"
android:exported="false" />
<service android:name="org.eclipse.paho.android.service.MqttService" />
<service android:name="com.applozic.mobicomkit.api.conversation.ApplozicIntentService"
android:exported="false" />
<service android:name="com.applozic.mobicomkit.api.conversation.ApplozicMqttIntentService"
android:exported="false" />
<receiver android:name="com.applozic.mobicomkit.broadcast.TimeChangeBroadcastReceiver">
<intent-filter>
<action android:name="android.intent.action.TIME_SET" />
<action android:name="android.intent.action.TIMEZONE_CHANGED" />
</intent-filter>
</receiver>
<receiver android:name="com.applozic.mobicomkit.broadcast.ConnectivityReceiver"
android:exported="true" android:enabled="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
<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="<APP_PKG_NAME>" />
</intent-filter>
</receiver>
<service android:name=".pushnotification.ApplozicGcmListenerService">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</service>
<service android:name=".pushnotification.GcmInstanceIDListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.gms.iid.InstanceID" />
</intent-filter>
</service>
</application>
<uses-permission android:name="com.example.home.timestopper.pushnotification.permission.C2D_MESSAGE" />
<uses-permission android:name="com.example.home.timestopper.pushnotification.permission.MAPS_RECEIVE" />
<permission android:name="com.example.home.timestopper.pushnotification.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<permission android:name="com.example.home.timestopper.pushnotification.permission.MAPS_RECEIVE" android:protectionLevel="signature" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<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.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
</manifest>
So, what I am trying to do here is to integrate a chat feature in a small time-stopper app that I just created for the learning purpose and I am integrating it also for the learning purpose.
When I build gradle,Result shows Error:The value of attribute "android:name" associated with an element type "null" must not contain the '<' character.
and
Error:Cannot read packageName from C:\Users\APnaturals\AndroidStudioProjects\TimeStopper\app\src\main\AndroidManifest.xml
When I replace APP_PKG_NAME with the one mentioned in here
manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.home.timestopper"
Gradle Build fails again without giving any cause.
<category android:name="<APP_PKG_NAME>" />
Looks like you forgot to configure your package name in this element.
Simply remove the APP_PKG_NAME from metadata and put your package name or ID, as in androidmanifest.xml not allow <>.
I am a game designer and unity developer, i rarely do any android native development and i was hoping that you guys can help me with this, in this manifest, what is the main Activity?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" android:theme="#android:style/Theme.NoTitleBar" package="com.juiceglobal.lines" android:versionName="1.0" android:versionCode="1">
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
<application android:icon="#drawable/app_icon" android:label="#string/app_name" android:debuggable="true" android:name="com.soomla.SoomlaApp">
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:launchMode="singleTask" android:label="#string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:screenOrientation="portrait">
</activity>
<activity android:name="com.unity3d.player.UnityPlayerNativeActivity" android:launchMode="singleTask" android:label="#string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:screenOrientation="portrait">
<meta-data android:name="android.app.lib_name" android:value="unity" />
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
</activity>
<activity android:name=".Main" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:label="#string/app_name">
</activity>
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
<activity android:name="com.unity3d.player.UnityPlayerProxyActivity" android:launchMode="singleTask" android:label="#string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:screenOrientation="landscape">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
</activity>
<!-- Google Play -->
<!-- -->
<!-- -->
<meta-data android:name="billing.service" android:value="google.GooglePlayIabService" />
<meta-data android:name="com.google.android.gms.version" android:value="#integer/google_play_services_version" />
<!-- End Google Play -->
<!-- -->
<!-- -->
<!-- -->
<!-- -->
<!-- voluum -->
<receiver android:exported="true" android:name="com.voluum.sdk.VoluumForwardingBroadcastReceiver">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
<!-- End voluum -->
<!-- -->
<!-- -->
<!-- HeyZap -->
<activity android:name="com.heyzap.sdk.ads.HeyzapInterstitialActivity" android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize" />
<activity android:name="com.heyzap.sdk.ads.HeyzapVideoActivity" android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize" />
<activity android:name="com.heyzap.sdk.ads.HeyzapProxyActivity" />
<!--<activity android:name="com.heyzap.sdk.ads.VASTActivity" />-->
<receiver android:name="com.heyzap.sdk.ads.PackageAddedReceiver">
<intent-filter>
<data android:scheme="package" />
<action android:name="android.intent.action.PACKAGE_ADDED" />
</intent-filter>
</receiver>
<!-- End HeyZap -->
<!-- -->
<!-- -->
<!-- Others -->
<activity android:name="com.mobilefuel.sdk.AdInterstitialActivity" android:configChanges="orientation|keyboardHidden|screenSize" android:label="AD" android:exported="false" />
<activity android:name="com.soomla.store.billing.google.GooglePlayIabService$IabActivity" android:theme="#android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
<activity android:name="com.facebook.unity.FBUnityLoginActivity" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:theme="#android:style/Theme.Translucent.NoTitleBar.Fullscreen">
</activity>
<activity android:name="com.facebook.unity.FBUnityDialogsActivity" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:theme="#android:style/Theme.Translucent.NoTitleBar.Fullscreen">
</activity>
<activity android:name="com.facebook.LoginActivity" android:configChanges="keyboardHidden|orientation" android:theme="#android:style/Theme.Translucent.NoTitleBar.Fullscreen">
</activity>
<activity android:name="com.facebook.unity.FBUnityDeepLinkingActivity" android:exported="true">
</activity>
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="\ 503591776472556" />
<!--End Others -->
<!-- TrialPay activities -->
<activity android:name="com.trialpay.android.views.webcontainer.WebContainerActivity" android:hardwareAccelerated="true" android:launchMode="singleTop" android:windowSoftInputMode="adjustResize" android:theme="#android:style/Theme.NoTitleBar" android:screenOrientation="fullSensor" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale">
<meta-data android:name="android.app.lib_name" android:value="unity" />
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
</activity>
<activity android:name="com.trialpay.android.views.webcontainer.WebContainerPopupActivity" android:hardwareAccelerated="true" android:launchMode="singleTop" android:windowSoftInputMode="adjustResize" android:theme="#android:style/Theme.Translucent.NoTitleBar" android:screenOrientation="fullSensor" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale">
<meta-data android:name="android.app.lib_name" android:value="unity" />
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
</activity>
<activity android:name="com.trialpay.android.views.videocontainer.VideoContainerActivity" android:hardwareAccelerated="true" android:theme="#android:style/Theme.NoTitleBar.Fullscreen" android:screenOrientation="fullSensor" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale">
<meta-data android:name="android.app.lib_name" android:value="unity" />
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
</activity>
<!--End TrialPay activities -->
</application>
<uses-feature android:glEsVersion="0x00020000" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<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="com.android.vending.BILLING" />
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
</manifest>
i need it in the initialization of another "plugin", i tried :
com.unity3d.player.UnityPlayer
com.unity3d.player.UnityPlayerActivity
com.unity3d.player.UnityPlayerProxyActivity
com.soomla.SoomlaApp
And i always get the same error :
AndroidJavaException: java.lang.NoSuchFieldError: no static field with name='one.of.the.package.above' signature='Ljava/lang/Object;' in class Lcom/unity3d/player/UnityPlayer;
EDIT
i can't share the entire class because it's not mine but this is the initialization that gives the error :
private const string MainActivityName = "com.unity3d.player.UnityPlayerProxyActivity";
public void ReportConversion(string payload)
{
using (AndroidJavaClass cls_UnityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer"))
{
using (AndroidJavaObject obj_Activity = cls_UnityPlayer.GetStatic<AndroidJavaObject>(MainActivityName))
{
AndroidJavaClass cls_MainActivity = new AndroidJavaClass("com.companyName.voluum.Main");
cls_MainActivity.CallStatic("ReportConversion", obj_Activity, payload);
}
}
}
Thank you
com.unity3d.player.UnityPlayerProxyActivity is the main Activity in your app. The activity with the android.intent.category.LAUNCHER in the manifest file is always the main activity (starting activity).
Using currentActivity fixed the problem (literally typing currentActivity) when I do this call
private const string MainActivityName = "currentActivity";
using (AndroidJavaObject obj_Activity = cls_UnityPlayer.GetStatic<AndroidJavaObject>(MainActivityName)) ;
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.