You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the android:exported property set. This file can't be installed on Android 12 or higher. I add android:exported on LAUNCHER too but still getting same warning while uploading app on playstore.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.skdevs.status">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application
android:name="com.skdevs.status.util.YouApplication"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:largeHeap="true"
android:requestLegacyExternalStorage="true"
android:roundIcon="#mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="#style/AppTheme"
android:usesCleartextTraffic="true">
<activity
android:name="com.skdevs.status.activity.WelcomeActivity"
android:label="#string/app_name"
android:theme="#style/AppTheme.NoActionBar"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.skdevs.status.activity.SplashScreen" />
<activity
android:name="com.skdevs.status.activity.MainActivity"
android:configChanges="orientation|screenLayout|screenSize"
android:screenOrientation="portrait"
android:exported="false"
tools:ignore="LockedOrientationActivity" />
<activity android:name="com.skdevs.status.activity.AboutUs" />
<activity android:name="com.skdevs.status.activity.PrivacyPolice" />
<activity android:name="com.skdevs.status.activity.Login" />
<activity android:name="com.skdevs.status.activity.Register" />
<activity android:name="com.skdevs.status.activity.ForgetPassword" />
<activity android:name="com.skdevs.status.activity.EnterReferenceCode"/>
<activity android:name="com.skdevs.status.activity.DeleteAccount" />
<activity android:name="com.skdevs.status.activity.RewardPointClaim" />
<activity android:name="com.skdevs.status.activity.Verification" />
<activity android:name="com.skdevs.status.activity.ContactUs" />
<activity android:name="com.skdevs.status.activity.Faq" />
<activity android:name="com.skdevs.status.activity.EarnPoint" />
<activity android:name="com.skdevs.status.activity.StatusDetail" />
<activity android:name="com.skdevs.status.activity.StatusSaver" />
<activity android:name="com.skdevs.status.activity.DownloadStatusDetail" />
<activity android:name="com.skdevs.status.activity.ViewImage" />
<activity
android:name="com.skdevs.status.activity.ImageUpload"
android:screenOrientation="portrait"
android:exported="false"
tools:ignore="LockedOrientationActivity" />
<activity
android:name="com.skdevs.status.activity.GIFUpload"
android:screenOrientation="portrait"
android:exported="false"
tools:ignore="LockedOrientationActivity" />
<activity
android:name="com.skdevs.status.activity.QuotesUpload"
android:screenOrientation="portrait"
android:exported="false"
tools:ignore="LockedOrientationActivity" />
<activity android:name="com.skdevs.status.activity.Language" />
<activity android:name="com.skdevs.status.activity.UploadStatus" />
<activity
android:name="com.skdevs.status.activity.VideoPlayer"
android:configChanges="orientation|screenLayout|screenSize"
android:screenOrientation="portrait"
android:exported="false"
tools:ignore="LockedOrientationActivity" />
<activity
android:name="com.skdevs.status.activity.VideoUpload"
android:screenOrientation="portrait"
android:exported="false"
tools:ignore="LockedOrientationActivity" />
<activity
android:name="com.skdevs.status.activity.AllComment"
android:screenOrientation="portrait"
android:exported="false"
tools:ignore="LockedOrientationActivity" />
<activity android:name="com.skdevs.status.activity.AVStatus" />
<activity android:name="com.skdevs.status.activity.Suspend" />
<activity android:name="com.skdevs.status.activity.AccountVerification" />
<activity android:name="com.skdevs.status.activity.Spinner" />
<activity android:name="com.skdevs.status.activity.TDView" />
<activity
android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
android:exported="false"
android:theme="#style/Base.Theme.AppCompat" /> <!-- Include the AdActivity configChanges and theme. -->
<activity
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:exported="false"
android:theme="#android:style/Theme.Translucent" />
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="#string/admob_id" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="#string/facebook_app_id" />
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:exported="false"
android:label="#string/app_name" />
<activity
android:name="com.facebook.CustomTabActivity"
android:exported="true">
<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="#string/fb_login_protocol_scheme" />
</intent-filter>
</activity>
<service
android:name="com.skdevs.status.util.NotificationExtenderExample"
android:exported="false"
android:permission="android.permission.BIND_JOB_SERVICE">
<intent-filter>
<action android:name="com.onesignal.NotificationExtender" />
</intent-filter>
</service>
<service
android:name="com.skdevs.status.service.VideoUploadService"
android:exported="false" />
<service
android:name="com.skdevs.status.service.DownloadVideoService"
android:exported="false" />
<service
android:name="com.skdevs.status.service.DownloadIGService"
android:exported="false" />
<service
android:name="com.skdevs.status.service.UIGService"
android:exported="false" />
</application>
</manifest>
you need to set android:exported="true" in your Launcher activity itself.
From Developer Guide:
so there must be android:exported="false" in your CustomTabActivity
add this line in your application tag; tools:replace="android:exported"
<application
tools:replace="android:exported" >
</application>
Related
Error:
Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined.
manifest
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.will_dev.vpn_app">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="com.android.vending.BILLING" />
<application
android:name="com.will_dev.vpn_app.YouApplication"
android:hardwareAccelerated="true"
android:icon="#drawable/logo"
android:label="#string/app_name"
android:roundIcon="#drawable/logo"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity
android:name="com.will_dev.vpn_app.view.MainActivity"
/>
<activity
android:name="com.will_dev.vpn_app.view.IntroActivity"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.Login"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.TDView"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.EnterReferenceCode"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.RewardPointClaim"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.Verification"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.Spinner"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.AboutUs"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.ContactUs"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.PrivacyPolice"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.Faq"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.EarnPoint"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.ForgetPassword"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.Register"
/>
<activity
android:name="com.will_dev.vpn_app.fromanother.activity.SplashScreen"
/>
<activity
android:name="com.will_dev.vpn_app.view.Servers"
/>
<activity
android:exported="true"
android:name="com.will_dev.vpn_app.fromanother.activity.WelcomeActivity"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="de.blinkt.openvpn.DisconnectVPNActivity"
android:excludeFromRecents="true"
android:noHistory="true"
android:taskAffinity=".DisconnectVPN"
android:theme="#style/blinkt.dialog" />
<service
android:name="de.blinkt.openvpn.core.OpenVPNService"
android:exported="true"
android:permission="android.permission.BIND_VPN_SERVICE">
<intent-filter>
<action android:name="android.net.VpnService" />
</intent-filter>
</service>
<activity
android:name="com.will_dev.vpn_app.view.PurchaseActivity"
/>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="#string/admob_app_id" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="#string/facebook_app_id" />
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:exported="true"
android:label="#string/app_name" />
<activity
android:name="com.facebook.CustomTabActivity"
android:exported="true">
<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="#string/fb_login_protocol_scheme" />
</intent-filter>
</activity>
</application>
i have added exported=true to launcher activity but still it failing
Try add android: exported to all of your activities if you are targeting android 12. Even if you don't want to export it add android: export = "false".
This issue can be with external libraries. Just wait when libraries will be updated or delete these libraries from project. Or you can try search in project and find which library uses intent. And use manifest merge attribute to add exported to external library.
https://android-doc.github.io/tools/building/manifest-merge.html
When people install my app, they get two apps (same app, two icons). Here's my AndroidManifest.xml file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.test.test">
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.INTERNET" />
<permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity
android:name=".SplashActivity"
android:theme="#style/AppTheme.SplashScreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".SettingsActivity" />
<activity android:name=".HistoryActivity" />
<activity
android:name=".PaymentActivity"
android:screenOrientation="portrait" />
<activity
android:name=".PlayerActivity"
android:screenOrientation="portrait" />
<activity
android:name=".SearchActivity"
android:screenOrientation="portrait" />
<activity android:name=".VideoActivity" />
<activity
android:name=".FacebookActivity"
android:screenOrientation="portrait" />
<activity
android:name=".HomeActivity"
android:screenOrientation="portrait" />
<activity
android:name=".LibraryActivity"
android:screenOrientation="portrait" />
<activity
android:name=".LoginActivity"
android:screenOrientation="portrait" />
<activity
android:name=".BookDetailActivity"
android:screenOrientation="portrait" />
<activity
android:name=".BookActivity"
android:screenOrientation="portrait" />
<activity
android:name=".CategoryActivity"
android:screenOrientation="portrait" />
<activity
android:name=".TextActivity"
android:screenOrientation="portrait" />
<activity
android:name=".MainActivity"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data
android:name="preloaded_fonts"
android:resource="#array/preloaded_fonts" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="#string/facebook_app_id" />
<service android:name="com.beraldo.playerlib.PlayerService" />
<receiver
android:name=".LaunchPlayerBroadcastReceiver"
android:exported="true">
<intent-filter>
<action android:name="com.beraldo.playerlib.LAUNCH_PLAYER_ACTIVITY" />
</intent-filter>
</receiver>
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="#string/app_name" />
</application>
</manifest>
Any help would be greatly appreciated.
You have:
<activity
android:name=".SplashActivity"
android:theme="#style/AppTheme.SplashScreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
and you have:
<activity
android:name=".MainActivity"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Both have the <intent-filter> that says you want those activities to have icons in the launcher. If that is not what you want, remove the <intent-filter> from one of them.
Error: Cannot find declaration of element manifest
I have the <manifest></manifest> element in my AndroidManifest.xml still I am getting the error.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.anupsaha.streammusic">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<application
android:name=".MyApplication"
android:allowBackup="true"
android:icon="#mipmap/app_icon_round"
android:label="#string/app_name"
android:roundIcon="#mipmap/app_icon_round"
android:supportsRtl="true"
android:largeHeap="true"
android:theme="#style/AppTheme"
android:usesCleartextTraffic="true">
<activity
android:name=".SplashActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".LoginActivity"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name=".MainActivity"
android:label="#string/title_activity_main"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity
android:name=".BaseActivity"/>
<activity
android:name=".RegisterActivity"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name=".ForgotPasswordActivity"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name=".ProfileActivity"
android:windowSoftInputMode="adjustPan|adjustNothing"/>
<activity
android:name=".ProfileEditActivity"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name=".ReportActivity"
android:windowSoftInputMode="adjustPan|adjustNothing"/>
<activity
android:name=".SuggestionActivity"
android:windowSoftInputMode="adjustPan|adjustNothing"/>
<activity android:name=".SongByCatActivity"
android:windowSoftInputMode="adjustPan|adjustNothing"/>
<activity android:name=".SongByServerPlaylistActivity"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity android:name=".SongByMyPlaylistActivity"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity android:name=".SongByOfflineActivity"
android:windowSoftInputMode="adjustPan|adjustNothing"/>
<activity android:name=".SongByOFFPlaylistActivity"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity android:name=".Add2OfflinePlaylistActivity"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity android:name=".SettingActivity"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity android:name=".AboutActivity"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity
android:name=".OfflineMusicActivity"
android:label="#string/title_activity_main2"
android:theme="#style/AppTheme"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity android:name=".SelectSongActivity"
android:windowSoftInputMode="adjustPan|adjustNothing"/>
<activity android:name=".MiniPlayer"
android:theme="#style/Theme.MiniPlayer"
android:launchMode="singleTask"
android:excludeFromRecents="true"
android:label="#string/app_name"
android:taskAffinity=""
android:windowSoftInputMode="adjustPan|adjustNothing">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.APP_MUSIC" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
<data android:mimeType="audio/*" />
</intent-filter>
</activity>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="#string/admob_app_id"/>
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<service
android:name=".PlayerService"
android:exported="false" />
<service
android:name="com.anupsaha.utils.NotificationExtenderExample"
android:exported="false"
android:permission="android.permission.BIND_JOB_SERVICE">
<intent-filter>
<action android:name="com.onesignal.NotificationExtender" />
</intent-filter>
</service>
<service
android:name=".DownloadService"
android:exported="false" />
<receiver android:name="com.anupsaha.utils.MediaButtonIntentReceiver">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>
</application>
</manifest>
AndroidManifest file link - here is link
I have a mobile app that needs to run on Android TV. I don't have a TV to test it, so I'm trying over an emulator.
The app works just fine on Android versions < 7 (Marshmallow, Lollipop). But when I open it in the emulator with Nougat on it, the app keeps crashing and I get an error that says: "Leanback Launcher keeps stopping".
I've read that I should put some things in Manifest, but I'm confused, why is it working on Android versions < 7?
This is my Manifest, so if you can take a quick look and advise me what to put inside to make it work?
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="------">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<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" />
<permission android:name="android.permission.REBOOT" />
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<uses-feature
android:name="android.hardware.camera"
android:required="true" />
<application
android:name="-----"
android:allowBackup="true"
android:icon="#drawable/ic_launcher_2"
android:label="#string/app_nameMain"
android:launchMode="singleTask"
android:theme="#style/AppTheme"
tools:replace="android:label">
<service android:name=".services.AutoUpdaterService" />
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<receiver
android:name="com.google.android.gms.gcm.GcmReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.codepath.gcmquickstart" />
</intent-filter>
</receiver>
<service
android:name=".services.ZipaGcmListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</service>
<service
android:name=".services.ZipaInstanceIDListenerService"
android:exported="false">
<!-- <intent-filter> -->
<!-- <action android:name="com.google.android.c2dm.intent.RECEIVE" /> -->
<!-- </intent-filter> -->
</service>
<receiver android:name=".broadcasts.ConnectionChangeReceiver">
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
<action android:name="android.net.wifi.WIFI_STATE_CHANGED" />
</intent-filter>
</receiver>
<activity
android:name=".activities.LauncherActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTask"
android:theme="#style/App.Theme.Translucent"
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".activities.AlarmTriggerActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:excludeFromRecents="true"
android:label=""
android:launchMode="singleInstance"
android:theme="#style/App.Theme.Translucent"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.LogInActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.BrowserManagerActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="#style/MyHomeCustomTheme"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.WizardActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.DeviceManagerActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustPan" />
<service android:name="com.zipato.mqtt.MqttService" />
<activity
android:name=".activities.RegisterActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustPan" />
<!-- <activity -->
<!-- android:name=".activities.ShakeSettingActivity" -->
<!-- android:configChanges="keyboardHidden|orientation|screenSize" -->
<!-- android:windowSoftInputMode="adjustPan"/> -->
<activity
android:name=".activities.PasswordRecoveryActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.CameraActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="CameraActivity"
android:launchMode="singleTop"
android:screenOrientation="landscape"
android:theme="#style/AppTheme"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.DiscoveryActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.ScreenShotActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.MjpegStreamActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="CameraActivity"
android:launchMode="singleTop"
android:screenOrientation="landscape"
android:theme="#style/AppTheme"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.ShowVCMenu"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
android:windowSoftInputMode="adjustPan">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".activities.BrowserManagerActivity" />
</activity>
<activity
android:name=".activities.ShowDialogActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="#style/App.Theme.Dialog"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.WidgetConfigSwitch"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="#style/App.Theme.Dialog"
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<activity
android:name=".activities.WidgetConfigLevel"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="#style/App.Theme.Dialog"
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<activity
android:name=".activities.WidgetConfigRGBW"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="#style/App.Theme.Dialog"
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<activity
android:name=".activities.WidgetConfigSecurity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="#style/App.Theme.Dialog"
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<activity
android:name=".activities.WidgetConfigThermostat"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="#style/App.Theme.Dialog"
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<activity
android:name=".activities.WidgetEventHandlerActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:excludeFromRecents="true"
android:label=""
android:launchMode="singleInstance"
android:theme="#style/App.Theme.Dialog"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.CreateWeatherActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:excludeFromRecents="true"
android:launchMode="singleInstance"
android:windowSoftInputMode="adjustPan" />
<receiver
android:name=".broadcasts.ThermostatWidgetProvider"
android:label="#string/zipato_thermostat_widget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="#xml/thermostat_appwidget_info" />
</receiver>
<receiver
android:name=".broadcasts.SecurityWidgetProvider"
android:label="#string/zipato_security_widget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="#xml/security_appwidget_info" />
</receiver>
<receiver
android:name=".broadcasts.SwitchWidgetProvider"
android:label="#string/zipato_switch_widget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="#xml/switch_appwidget_info" />
</receiver>
<receiver
android:name=".broadcasts.RGBWidgetProvider"
android:label="#string/zipato_rgb_widget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="#xml/rgb_appwiget_info" />
</receiver>
<receiver
android:name=".broadcasts.LevelWidgetProvider"
android:label="#string/zipato_level_widget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="#xml/level_appwidget_info" />
</receiver>
<receiver
android:name=".broadcasts.StartDevicesWidgetProvider"
android:label="#string/zipato_start_dev_widget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="#xml/start_dev_app_widget_info" />
</receiver>
<receiver
android:name=".broadcasts.StartRoomsWidgetProvider"
android:label="#string/zipato_start_rooms_widget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="#xml/start_room_app_widget_info" />
</receiver>
<receiver
android:name=".broadcasts.StartScenesWidgetProvider"
android:label="#string/zipato_start_scenes_widget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="#xml/start_scenes_app_widget_info" />
</receiver>
<receiver
android:name=".broadcasts.StartFavoriteWidgetProvider"
android:label="#string/zipato_start_fav_widget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="#xml/start_fav_app_widget_info" />
</receiver>
<service
android:name=".services.WidgetService"
android:exported="false">
<!-- <intent-filter> -->
<!-- <action android:name="com.google.android.c2dm.intent.RECEIVE" /> -->
<!-- </intent-filter> -->
</service>
<activity
android:name=".activities.WebViewActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.AccountSettingsActivity"
android:theme="#style/MyCustomTheme"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.AccountContactsActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="#style/MyCustomTheme"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.AccountContactsAddEdit"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="#style/MyCustomTheme"
android:windowSoftInputMode="stateHidden|adjustResize" />
<activity
android:name=".activities.ActivityUsers"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="#style/MyCustomTheme"
android:windowSoftInputMode="stateHidden|adjustResize" />
<activity
android:name=".activities.ActivityUsersEdit"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="#style/MyCustomTheme"
android:windowSoftInputMode="stateHidden|adjustResize" />
<activity
android:name=".activities.ActivityGeneralSettings"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="#style/MyCustomTheme"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activities.WalletActivity"
android:theme="#style/MyCustomTheme" />
<activity
android:name=".activities.WalletWebViewActivity"
android:theme="#style/MyCustomTheme" />
<activity
android:name=".activities.DeviceManActivity"
android:theme="#style/MyCustomTheme" />
<activity
android:name=".activities.DeviceEndpointsActivity"
android:theme="#style/MyCustomTheme" />
<activity
android:name=".activities.DeviceClusterEndpointActivity"
android:theme="#style/MyCustomTheme" />
</application>
LauncherActivity is my default launcher, should I add:
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
inside its intent filter? Also, I assume I should add this permission also:
<uses-feature android:name="android.software.leanback"
android:required="false" />
And this thing inside application tag:
android:banner="#drawable/banner"
Is there anything else or this is completely wrong?
This problem has been addressed in this google forum Why do Apps that stream live TV crash under Android 7.0 Nougat on Nexus 5x?. In summary, the app you're running haven't been updated/not-ready for Nougat - higher versions of Android. Other apps, which supported Nougat, seemed to work fine.
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.