My native Android app has multiple instances on some phones (Samsung galaxy note 2 – android 5.0 Samsung galaxy note 4 – android xx Xiaomi Redmi 4x – android 7.1.2.). On most other phones it is ok. The app consumes quite a lot of memory and CPU so I can not have the multiple instances running, otherwise it is very slow.
I tried to use android:launchMode="singleInstance" in my Manifest in every Activity. But this is not helping. I attache the Manifest file and screenshot.
I would be very happy if you could help me. Cheers.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="pekostudio.dogtrace">
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-feature android:name="android.hardware.location.gps" />
<uses-feature android:name="android.hardware.bluetooth_le" />
<application
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:largeHeap="true"
android:roundIcon="#mipmap/ic_launcher"
android:supportsRtl="true"
android:launchMode="singleInstance"
android:resizeableActivity="false"
android:theme="#style/AppTheme">
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="#string/google_maps_key" />
<receiver
android:name=".Bluetooth.GetAllCollarsService$GetRawBluetoothDataReceiver"
android:enabled="true">
<intent-filter>
<action android:name="pekostudio.dogtrace.BLUETOOTH_RAW_DATA" />
</intent-filter>
</receiver>
<service
android:name=".Utils.LocationFinder"
android:exported="false" />
<service
android:name=".Bluetooth.GetAllCollarsService"
android:exported="false" />
<service
android:name=".Bluetooth.BluetoothLeService"
android:enabled="true"
android:stopWithTask="true" />
<service
android:name=".MapDownload.DownloadService"
android:enabled="true"
android:exported="true" />
<activity
android:name=".Activities.GoogleMapActivity"
android:configChanges="orientation"
android:label="#string/app_name"
android:launchMode="singleInstance"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".Activities.SplashActivity"
android:configChanges="orientation"
android:screenOrientation="portrait"
android:theme="#style/SplashTheme"
android:launchMode="singleInstance">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Activities.OfflineMap"
android:configChanges="orientation"
android:launchMode="singleInstance"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".Activities.CompassActivity"
android:configChanges="orientation"
android:launchMode="singleInstance"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".Activities.AnimalDetailActivity"
android:configChanges="orientation"
android:launchMode="singleInstance"
android:parentActivityName=".Activities.GoogleMapActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar"/>
<activity
android:name=".Activities.SettingsActivity"
android:configChanges="orientation"
android:launchMode="singleInstance"
android:parentActivityName=".Activities.GoogleMapActivity"
android:screenOrientation="portrait">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="pekostudio.dogtrace.Activities.GoogleMapActivity" />
</activity>
<activity
android:name=".Activities.EditAnimalsActivity"
android:configChanges="orientation"
android:launchMode="singleInstance"
android:screenOrientation="portrait" />
<activity
android:name=".Activities.EditAnimalActivity"
android:configChanges="orientation"
android:launchMode="singleInstance"
android:screenOrientation="portrait" />
<activity
android:name=".Activities.DeviceScanActivity"
android:configChanges="orientation"
android:screenOrientation="portrait"
android:launchMode="singleInstance"
android:theme="#style/AppTheme.NoActionBar" />
<activity android:name=".Activities.AvailableMapsListActivity"
android:configChanges="orientation"
android:launchMode="singleInstance"
android:screenOrientation="portrait"/>
<activity android:name=".Activities.AboutActivity"
android:configChanges="orientation"
android:launchMode="singleInstance"
android:screenOrientation="portrait"/>
<activity android:name=".Activities.CalibrateActivity"
android:configChanges="orientation"
android:launchMode="singleInstance"
android:screenOrientation="portrait"/>
<activity
android:name=".Activities.MapMarkerPreview"
android:configChanges="orientation"
android:launchMode="singleInstance"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
</application>
Related
Am facing this issue and am at beginner lever. Please look the code and help me.
Check the image for reference https://ibb.co/HnZtNPz
I had removed one file from the Onesignal notifications, https://ibb.co/PDwC1BZ . I can give you my pc remote access if you want to check the code.
I even tried adding android:exported:true/false in evey activity but it didn't helped me out
Here is my AndroidMainfest.xml https://pastebin.com/UiCbLnuj
<?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.divinetechs.quiz">
<uses-feature
android:name="android.hardware.camera2.full"
android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-feature
android:name="android.hardware.camera.flash"
android:required="false" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="29" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-feature
android:name="android.hardware.wifi"
android:required="true" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<application
android:name=".Util.MyApp"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:requestLegacyExternalStorage="true"
android:roundIcon="#mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="#style/AppTheme"
android:usesCleartextTraffic="true"
tools:replace="android:allowBackup,android:label">
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="#string/admob_main_id" />
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" /> <!-- TODO: Replace with your real AdMob app ID -->
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="#string/facebook_app_id" />
<provider
android:name="com.facebook.FacebookContentProvider"
android:authorities="com.facebook.FacebookContentProvider${applicationId}"
android:exported="true" />
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
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>
<activity
android:name=".Activity.SplashScreen"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:theme="#style/WelcomeTheme"
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=".Activity.WelcomeActivity"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:label="#string/welcome_slides"
android:screenOrientation="portrait"
android:theme="#style/WelcomeTheme" />
<activity
android:name=".Activity.MainActivity"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Login"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustPan" />
<activity
android:name=".Activity.Registration"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustPan" />
<activity
android:name=".OTPLogin.SendOTP"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustPan" />
<activity
android:name=".OTPLogin.OTPVerification"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustPan" />
<activity
android:name=".Activity.PermissionActivity"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Instruction"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Notifications"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.AboutUs"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.DailyLoginChallenge"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.SpinAndWin"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.QuestionAnswer"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.AddQuestion"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Category"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.LevelResult"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.LevelSelection"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.PractiseQuiz.PractiseByLevel"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.PractiseQuiz.PractiseQueAns"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.PractiseQuiz.PractiseLeaderBoard"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.LeaderBoardActivity"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Profile"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.ProfileUpdate"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:theme="#style/Base.Theme.AppCompat"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".Activity.WalletActivity"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.WithdrawHistory"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.WithdrawRequest"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.ReferAndEarn"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Settings"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Statistics"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Contest.Contests"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Contest.ContestUpcoming"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Contest.ContestQueAns"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Contest.ContestQueReview"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Contest.ContestLeaderBoard"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.UserLeaderBoard"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.ForgotActivity"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustPan" />
<activity
android:name=".Activity.Subscriptions"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<!--
<service
android:name=".PushNotification.NotificationExtenderExample"
android:permission="android.permission.BIND_JOB_SERVICE"
android:exported="false">
<intent-filter>
<action android:name="com.onesignal.NotificationExtender" />
</intent-filter>
</service>
<service android:name=".PushNotification.MyFirebaseMessagingService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<service android:name=".PushNotification.MyFirebaseInstanceIDService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service> Firebase Notifications -->
<meta-data
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="Description" />
<!-- ./Firebase Notifications -->
<!--Change package name in file_paths.xml file in res ==> xml ==> file_paths.xml-->
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="#xml/file_paths" />
</provider>
</application>
<!--Add below queries for Android 11-->
<queries>
<package android:name="com.facebook.katana" />
</queries>
<queries>
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
</queries>
</manifest>
Thank You
The problem is when i close my app (Not destroy, but its in recents apps) and when i reopen my app from the recents it's like there are 2 activities, 1 that's open the app and 1 is slide to the left behind the other 1. But if i open recent apps again there is only 1. It happens only when click on the app inside recent apps.
I can't find the problem.
Someone knows what cause this problem. If you need more info, let me know, hope someone has seen this before.
See image.
Im tying to get adb shell dumpsys SurfaceFlinger soon, im new to that.
See manifest below.
<?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="nl.bouwman.syntess">
<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.WAKE_LOCK" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
tools:remove="android:maxSdkVersion"
tools:ignore="ScopedStorage" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="com.android.vending.BILLING" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<application
android:name=".App"
android:allowBackup="true"
android:fullBackupContent="#xml/dkc_backup_rules"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:theme="#style/DKCTheme"
android:networkSecurityConfig="#xml/network_security_config"
android:requestLegacyExternalStorage="true"
android:roundIcon="#mipmap/ic_launcher_round"
android:supportsRtl="true"
android:largeHeap="true"
tools:replace="android:supportsRtl"
android:usesCleartextTraffic="true"
tools:ignore="UnusedAttribute">
<meta-data
android:name="com.google.android.gms.vision.DEPENDENCIES"
android:value="barcode" />
<activity
android:name=".StartActivity"
android:label="#string/app_name"
android:noHistory="true"
android:configChanges="orientation|screenSize|locale"
android:hardwareAccelerated="true"
android:screenOrientation="sensor">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".activity.MainActivity"
android:configChanges="locale|orientation|screenSize"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme"
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".activity.SettingsActivity"
android:theme="#style/FlashTheme.Settings">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>
<activity
android:name=".chat.MainChatActivity"
android:configChanges="locale|orientation|screenSize"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:label="#string/app_name"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme"
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".chat.ChattyActivity"
android:configChanges="locale|orientation|screenSize"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTop"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme"
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".chat.SettingsChatActivity"
android:configChanges="locale|orientation|screenSize"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTop"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme"
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".activity.ProfileActivity"
android:configChanges="locale|orientation|screenSize"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTop"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme"
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".chat.FindFriendsActivity"
android:configChanges="locale|orientation|screenSize"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTop"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme"
android:windowSoftInputMode="adjustResize" />
<activity android:name=".chat.GroupChatActivity"
android:configChanges="locale|orientation|screenSize"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTop"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme"
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".activity.NextActivity"
android:configChanges="locale|orientation|screenSize"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTask"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme"
android:windowSoftInputMode="adjustResize"/>
<activity
android:name=".activity.MeldingActivity"
android:configChanges="locale|orientation|screenSize"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTop"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme"
android:windowSoftInputMode="adjustResize"/>
<activity
android:name=".activity.HtmlSourceActivity"
android:configChanges="locale|orientation|screenSize"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTop"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme"
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".activity.BookMarkActivity"
android:configChanges="orientation|screenSize|locale"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTop"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme" />
<activity
android:name=".rssstatus.SyntessStatus"
android:configChanges="locale|orientation|screenSize"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTask"
android:screenOrientation="sensor"
android:theme="#style/ThemeWithCorners"
android:windowSoftInputMode="adjustResize" />
<activity android:name=".activity.ImageDetailActivity"
android:configChanges="locale|orientation|screenSize"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTop"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme"
android:windowSoftInputMode="adjustResize" />
<activity android:name=".koudemapfirebase.KoudeActivity"
android:configChanges="orientation|screenSize|locale"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTop"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme" />
<activity android:name=".koudemapfirebase.KoudeActivityFull"
android:configChanges="orientation|screenSize|locale"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTop"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme" />
<activity android:name=".koudemapfirebase.BarcodeActivity"
android:configChanges="orientation|screenSize|locale"
android:hardwareAccelerated="true"
android:label="#string/app_name"
android:launchMode="singleTop"
android:screenOrientation="sensor"
android:theme="#style/DKCTheme" />
<service
android:name=".servicejob.WerkBonJobService"
android:enabled="true"
android:label="#string/notifications"
android:permission="android.permission.BIND_JOB_SERVICE" />
<service
android:name=".servicejob.VersieJobService"
android:enabled="true"
android:permission="android.permission.BIND_JOB_SERVICE" />
<service
android:name=".downloadservice.DownloadService"
android:enabled="true"
android:permission="android.permission.BIND_JOB_SERVICE" />
<service
android:name=".servicejob.DkcFirebaseIdService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<receiver
android:name=".service.NotificationReceiver"
android:enabled="true">
<intent-filter>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
</intent-filter>
</receiver>
<receiver
android:name=".downloadservice.MyBroadcastReceiver"
android:enabled="true">
<intent-filter>
<action android:name="android.intent.action.nl.bouwman.syntess.DOWNLOAD_STARTED" />
<action android:name="android.intent.action.nl.bouwman.syntess.DOWNLOAD_FINISHED" />
<action android:name="android.intent.action.nl.bouwman.syntess.DOWNLOAD_CANCELLED" />
</intent-filter>
</receiver>
<activity
android:name=".activity.AboutActivity"
android:theme="#style/Kau.About" />
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="#xml/file_paths" />
</provider>
</application>
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>
My app doesn't support a specific android device (Samsung Galaxy Tab 3 10.1 P5210), though it supports other 10 inch tablets. I am clueless as to why this is happening. What could be the reason?
The client has the above mentioned tablet and my app doesn't get listed on his store.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.app"
android:versionCode="8"
android:versionName="1.7" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="19" />
<permission
android:name="com.example.app.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
<uses-permission android:name="com.example.app.permission.MAPS_RECEIVE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<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="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="com.android.vending.BILLING" />
<!-- Permissions for GCM -->
<permission
android:name="com.example.app.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.example.app.permission.C2D_MESSAGE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<application
android:allowBackup="true"
android:icon="#drawable/app_logo"
android:label="#string/app_name"
android:theme="#style/Theme.AppCompat.Light" >
<uses-library android:name="com.google.android.maps" />
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="XYZ" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="#string/app_id" />
<!-- Services and receivers for GCM -->
<receiver
android:name="com.google.android.gcm.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.example.app" />
</intent-filter>
</receiver>
<receiver
android:name="com.example.app.FFHBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="zecross.ffh.broadcastReceiver" />
</intent-filter>
</receiver>
<receiver android:name="com.example.app.NetworkStateChangeListener" >
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
<!-- <action android:name="android.net.wifi.WIFI_STATE_CHANGED" /> -->
</intent-filter>
</receiver>
<service android:name="com.example.app.GCMIntentService" />
<activity
android:name="com.example.app.MainActivity"
android:label="#string/app_name"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.example.app.SwipingTaskDetails_Activity"
android:label="#string/title_activity_task_details"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.app.PostTask"
android:label="#string/title_activity_task_posttask"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.facebook.LoginActivity"
android:label="#string/app_name"
android:screenOrientation="portrait" />
<activity
android:name="com.example.app.TasksForHire_Activity"
android:alwaysRetainTaskState="True"
android:label="#string/title_activity_tasks_for_hire"
android:screenOrientation="portrait" />
<activity
android:name="com.example.app.SideMenu"
android:label="#string/app_name"
android:noHistory="true"
android:screenOrientation="portrait"
android:theme="#style/TranslucentActionBar" />
<activity
android:name="com.example.app.MyTasks_Activity"
android:label="#string/title_activity_my_tasks"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.app.SingleTaskDetails_Activity"
android:label="#string/title_activity_task_details"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.app.Filter_Activity"
android:label="#string/title_activity_filter"
android:screenOrientation="portrait"
android:theme="#style/TranslucentActionBar"
android:windowSoftInputMode="adjustPan|stateHidden" >
</activity>
<activity
android:name="com.example.app.TasksForMe_Activity"
android:label="#string/title_activity_tasks_for_me"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.app.TaskDiscuss_Activity"
android:label="#string/title_activity_task_discuss"
android:screenOrientation="portrait" />
<activity
android:name="com.example.app.Errand"
android:label="#string/title_activity_task_errand"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name="com.example.app.Sitter"
android:label="#string/title_activity_task_sitter"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name="com.example.app.AdviceLessonsTutor"
android:label="#string/title_activity_task_tutor"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name="com.example.app.Handyman"
android:label="#string/title_activity_task_handyman"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name="com.example.app.Cleaning"
android:label="#string/title_activity_task_cleaning"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name="com.example.app.VirtualTask"
android:label="#string/title_activity_task_virtual_task"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name="com.example.app.AnythingGoes"
android:label="#string/title_activity_task_anything_goes"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name="com.example.app.ItemsAndServicesForSale"
android:label="#string/title_activity_task_items_sale"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name="com.example.app.MyTaskInteraction_Activity"
android:label="#string/title_activity_my_task_interaction"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.app.LocateVenueCE"
android:label="#string/title_activity_locate_venue"
android:noHistory="true"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.app.LocationFilter"
android:label="#string/title_activity_location_filter"
android:screenOrientation="portrait"
android:theme="#style/TranslucentActionBar"
android:windowSoftInputMode="adjustPan|stateHidden" >
</activity>
<activity
android:name="com.example.app.SocialActivity"
android:label="#string/title_activity_social"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan|stateHidden" >
</activity>
<activity
android:name="com.example.app.ContactsList"
android:label="#string/title_activity_phone_contact_list"
android:noHistory="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan|stateHidden" >
</activity>
<activity
android:name="com.example.app.Chat_Activity"
android:label="#string/title_activity_chat_activity"
android:noHistory="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.example.app.UserFBProfile"
android:label="#string/title_activity_user_fbprofile"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.app.MyAccount"
android:label="#string/title_activity_my_account"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.app.NotificationSettings"
android:label="#string/title_activity_notification_settings"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.app.Preferences"
android:label="#string/title_activity_preferences"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.app.ActivityNotifications"
android:label="#string/title_activity_notifications"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.app.Notifications_Activity"
android:label="#string/title_activity_notifications"
android:noHistory="true"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.app.NoInternetActivity"
android:label="#string/title_activity_no_internet"
android:launchMode="singleTop"
android:screenOrientation="portrait"
android:theme="#style/TranslucentActionBar" >
</activity>
<activity
android:name="com.example.app.InAppPurchases"
android:label="#string/title_activity_in_app_purchases"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.app.Blocked_Activity"
android:label="#string/title_activity_blocked"
android:screenOrientation="portrait" />
<activity
android:name="com.example.app.SendFeedback"
android:label="#string/title_activity_send_feedback"
android:screenOrientation="portrait" />
<activity
android:name="com.example.app.My_Ratings"
android:label="#string/title_activity_my_ratings"
android:screenOrientation="portrait" />
</application>
</manifest>
In your manifest you are specifying that your app requires openGL ES 2.0:
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
Hence it will run only on devices that do.
It's the only requirement besides the Android version, therefore I guess your Samsung Galaxy Tab 3 doesn't.
Besides, you might want to change your package name from com.example.app to something else.
The problem was with the Camera Permission. When I removed that permission, my client's tab began supporting the app. But I still find it strange since the tab had both front and rear camera.
Try adding back the camera permission as you need it and specify the allowed screen sizes on the manifest. I reccomend you to add this code under uses-permissions tag for example...
<supports-screens
android:anyDensity="true"
android:resizeable="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true"
android:largestWidthLimitDp="2560"
android:compatibleWidthLimitDp="2560" />
Hope it helps!
My application was running without error but I don't know why all of a sudden it is showing this error:-
No Launcher activity found!
The launch will only sync the application package on the device!
I have search and found many link and question on stack overflow but unable to solve it:-
Here is my manyfest file:-
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.flashdeal"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="9" />
<!-- All Required Permissions Are Start Here -->
<permission
android:name="com.flashdeal.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.flashdeal.permission.C2D_MESSAGE" />
<!-- App receives GCM messages. -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- GCM connects to Google Services. -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- GCM requires a Google account. -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<!-- Keeps the processor from sleeping when a message is received. -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<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="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCOUNT_MANAGER" />
<uses-permission android:name="android.permission.SEND_SMS" >
</uses-permission>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" >
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.CAMERA" />
<!-- Allows access to the flashlight -->
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-feature android:name="android.hardware.camera.flash" />
<uses-permission android:name="android.permission.VIBRATE" >
</uses-permission>
<application
android:icon="#drawable/ic_launcher"
android:label="#string/app_name" >
<uses-library android:name="com.google.android.maps" />
<activity
android:name=".AppSplashScreen"
android:label="#string/app_name"
android:screenOrientation="portrait" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="AppSplashScreen" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.flashdeal.autocomplete.SearchLocation"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".AppLoginActivity"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" >
</activity>
<activity
android:name=".RegistrationActivity"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name=".FollowerUser"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".UserHistory"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".FollowingUsers"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".ShowProfile"
android:screenOrientation="portrait" />
<activity
android:name="com.flashdeal.map.DealLocationOnMap"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".SeeUserDetail"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" >
</activity>
<activity
android:name="com.flashdeal.map.MapGroupData"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Translucent" >
</activity>
<activity
android:name=".MainActivity"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" >
</activity>
<activity
android:name=".LikeUserScreen"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" >
</activity>
<activity
android:name=".ShowOtherUserDeal"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" >
</activity>
<activity
android:name=".SearchUser"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" >
</activity>
<activity
android:name=".DealDetailPage"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" >
</activity>
<activity
android:name=".ChooseBusiness"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" >
</activity>
<activity android:name=".AboutApp" >
</activity>
<activity
android:name=".AppMenuScreen"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" >
</activity>
<activity
android:name=".MyFavouriteList"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".ChooseDealLocation"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" >
</activity>
<activity
android:name="com.flashdeal.mycamera.CaptureDealImage"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.NoTitleBar.Fullscreen" >
</activity>
<activity
android:name=".CreateDeal"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" >
<!-- android:windowSoftInputMode="adjustResize" -->
</activity>
<activity
android:name=".QRCodeWebView"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.flashdeal.mycamera.SetDealImageCategory"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" >
</activity>
<activity
android:name=".UserProfileActivity"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" />
<activity
android:name=".ChangePasswordActivity"
android:theme="#android:style/Theme.Translucent" />
<activity
android:name=".Twitt"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" />
<activity
android:name="com.flashdeal.twitter.Twitt"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="#string/app_id" />
<activity android:name="com.facebook.LoginActivity" />
<activity
android:name="com.flashdeal.twitter.Twitt2"
android:theme="#style/Theme.Transparent" />
<activity
android:name=".MainTabActivity"
android:screenOrientation="portrait" />
<activity
android:name=".MoreOptionActivity"
android:screenOrientation="portrait" />
<activity
android:name=".showDealsActivity"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" />
<activity
android:name=".TempActivity"
android:screenOrientation="portrait" />
<activity
android:name=".SettingsActivity"
android:screenOrientation="portrait" />
<activity
android:name=".ProfileActivity"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" >
</activity>
<activity
android:name=".EditIndividualProfileActivity"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar" >
</activity>
<activity
android:name=".EditProfileActivity"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.google.zxing.client.android.CaptureActivity"
android:configChanges="orientation|keyboardHidden"
android:screenOrientation="landscape"
android:theme="#android:style/Theme.NoTitleBar.Fullscreen"
android:windowSoftInputMode="stateAlwaysHidden" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="com.google.zxing.client.android.SCAN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name="com.flashdeal.qrcode.Options" >
</activity>
<activity android:name="com.flashdeal.qrcode.QRScanner" >
</activity>
<!-- GCM BroadCastReciever start -->
<receiver
android:name="com.google.android.gcm.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.flashdeal" />
</intent-filter>
</receiver>
<!-- GCM BroadCastReciever End -->
<service android:name=".GCMIntentService" />
</application>
</uses-permission>
anyone guide me where I am wrong because app showing this error before some time.
You have not properly closed uses-permission tag
<uses-permission android:name="android.permission.ACCOUNT_MANAGER" />
<uses-permission android:name="android.permission.SEND_SMS" >
</uses-permission>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" >
....
....
....
<!-- GCM BroadCastReciever End -->
<service android:name=".GCMIntentService" />
**</application>
</uses-permission>**
That was closed at end of the page. remove that it will work
Check your package structure when giving value for android:name in activity tag.
For example :
If your package structure com.xxx.yy.app is like this and all your activities reside in app folder then you can give android:name=".yourActivityName" in activity tag.
If app folder has a subfolder and some Activities reside in that subfolder then you can give android:name=".subfoldername.yourActivityName" in activity tag.
My Issue will be resolve when I copy manifest from my project backup but I couldn't know why did occure this issue..