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!
Related
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>
i am working on an app lately and i have never encountered a problem like this. I add a widget on my app via eclipse new activity-->widget and then when i try to run the app on my phone i get this error:
Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
Please check logcat output for more details.
Launch canceled!
I have already searched for this problem but every solution given is not helpful.
My manifest file is this. Is there an error i cannot get in it?
Is there any change the problem to be in something else and not in the manifest file?
Thanks
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.hotelreseration"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="17"
android:targetSdkVersion="23" />
<permission
android:name="com.example.hotelreseration.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<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.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<application
android:allowBackup="true"
android:icon="#drawable/getaroom"
android:label="#string/welcome"
android:theme="#style/AppBaseTheme" >
<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="AIzaSyCMaGYB0vEk8iiQSa29boQF2B58xu3mZjE" />
<activity
android:name=".SelectUserActivity"
android:label="#string/title_activity_select_user"
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=".LoginActivity"
android:label="#string/app_name"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".CreateAccountActivity"
android:label="#string/title_activity_activity_create_account"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".MainScreenActivity"
android:label="#string/title_activity_main_screen"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".ForgotPassActivity"
android:label="#string/title_activity_forgot_pass"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".MainTestActivity"
android:label="#string/title_activity_main_test"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".SettingsActivity"
android:label="#string/title_activity_settings"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".Fragment_reservations"
android:label="#string/title_activity_fragment3"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".ListBlackFontActivity"
android:label="#string/title_activity_list_black_font"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".FragmentAddHotel2"
android:label="#string/title_activity_fragment_add_hotel2"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="$NavigationDrawer.Fragment_hotels"
android:label="#string/title_activity_fragment_hotels"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="$NavigationDrawer.Fragment_info"
android:label="#string/title_activity_fragment1"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="$NavigationDrawer.MainActivity"
android:label="#string/title_activity_main"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="$NavigationDrawer.Fragment_maps"
android:label="#string/title_activity_fragment_maps"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="$NavigationDrawer.AddHotelActivity"
android:label="#string/title_activity_add_hotel"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="$NavigationDrawer.FragmentAddRoom"
android:label="#string/title_activity_fragment_add_room"
android:screenOrientation="portrait" >
</activity>
<receiver android:name=".AppWidget" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="#xml/app_widget_info" />
</receiver>
</application>
</manifest>
I experience this error when trying to test the app on my phone on Run. I dunno why this error pop out but I have try to do some fix based based on some solution from stack but it is not working.
my pkg: /data/local/tmp/com.example.wolex_000.freesim
MY Manifest code is:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.chat.freshim"
android:versionCode="1"
android:versionName="0.1" >
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- FOR QB -->
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<uses-feature android:name="android.hardware.camera"/>
<uses-feature android:name="android.hardware.camera.autofocus"/>
<uses-feature android:name="android.hardware.camera.flash"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<!-- For GCM -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<!-- For GCM
<permission android:name=".permission.C2D_MESSAGE"
android:protectionLevel="signature" /> -->
<uses-permission android:name=".permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<application
android:allowBackup="true"
android:icon="#drawable/icon_fresh"
android:label="fssl"
android:theme="#style/MyTheme">
<activity
android:name="com.chat.freshim.LoginActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden"
android:label="fssl"
android:theme="#style/NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.chat.freshim.FriendsListActivity"
android:screenOrientation="portrait"
android:launchMode="singleTask"
android:theme="#style/NoActionBar"/>
<activity
android:name="com.chat.freshim.FriendsAllListActivity"
android:screenOrientation="portrait"
android:launchMode="singleTask"/>
<activity
android:name="com.chat.freshim.FriendsDetailActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden"/>
<activity
android:name="com.chat.freshim.RegisterActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden"/>
<activity
android:name="com.chat.freshim.UserDetailActivity"
android:screenOrientation="portrait"/>
<activity
android:name="com.chat.freshim.StatusActivity"
android:screenOrientation="portrait"/>
<activity
android:name="com.chat.freshim.SettingsActivity"
android:screenOrientation="portrait"/>
<activity
android:name="com.chat.freshim.EditProfileActivity"
android:screenOrientation="portrait"/>
<activity
android:name="com.chat.freshim.EditPasswordActivity"
android:screenOrientation="portrait"/>
<activity
android:name="com.chat.freshim.GroupCreateActivity"
android:screenOrientation="portrait"/>
<activity
android:name="com.chat.freshim.GroupListActivity"
android:screenOrientation="portrait"
android:launchMode="singleTask"/>
<activity
android:name="com.chat.freshim.GroupMessageDetailActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden"/>
<activity
android:name="com.chat.freshim.GroupChooseFriendListActivity"
android:screenOrientation="portrait"/>
<activity
android:name="com.chat.freshim.GroupDetailActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden"/>
<activity
android:name="com.chat.freshim.GroupEditMemberListActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden"/>
<activity
android:name="com.chat.freshim.UploadFileActivity"
android:screenOrientation="portrait"/>
<activity
android:name="com.chat.freshim.CountryCodesActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden"/>
<activity
android:name="com.chat.freshim.InviteFriends"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden"/>
<activity
android:name="com.chat.freshim.AddContactFriend"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden"/>
<!-- QB ACTIVITY AND SERVICES -->
<activity
android:name="com.chat.freshim.qb.ActivityVideoChat"
android:label="fssl"
android:screenOrientation="portrait"
android:theme="#style/NoActionBar"/>
<activity
android:name="com.chat.freshim.qb.ActivityCallUser"
android:label="fssl"
android:screenOrientation="portrait"/>
<service android:name="com.quickblox.module.videochat.core.service.QBVideoChatService"/>
<!-- For GCM -->
<receiver
android:name="com.chat.freshim.GcmBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.chat.imapp" />
</intent-filter>
</receiver>
<service android:name="com.chat.freshim.services.GcmIntentService" />
<service android:name="com.chat.freshim.services.LoadImageService" />
<service android:name="com.chat.freshim.services.LoadFileService" />
<service android:name="com.chat.freshim.services.ResponseRequestService" />
<service android:name="com.chat.freshim.services.FriendRequestService" />
<service android:name="com.chat.freshim.services.DownLoadFileService" />
<service android:name="com.chat.freshim.services.DownloadImageService" />
<service android:name="com.chat.freshim.services.LastSeenGetService" />
<service android:name="com.chat.freshim.services.LastSeenSetService" />
<service android:name="com.chat.freshim.services.QbRegisterService" />
<!--service android:name="com.quickblox.module.chat.videochat.VideoChatService"/-->
<!-- For GCM -->
<meta-data
android:name="com.google.android.gms.version"
/>
</application>
I have try some help but have not get the solution to it.
Your <meta-data> tag is missing the required android:value entry. It should read:
<meta-data android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
Try removing this line :
<meta-data
android:name="com.google.android.gms.version"
/>
Manifest:
This was working fine before some time. Now it shows 0-supported devices!
Please help me on this.
Shows these features on console though I am not using it.
android.hardware.screen.PORTRAIT
android.hardware.TOUCHSCREEN
android.hardware.WIFI
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.app.irb.wallpro"
android:versionCode="5"
android:versionName="1.0.5" >
<uses-sdk
android:minSdkVersion="8"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!-- Include next permission if you want to allow UIL to cache images on SD card -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<application
android:name="com.irbrothers.wallpro.ui.WallProApplication"
android:allowBackup="true"
android:icon="#drawable/app_icon"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity
android:name="com.irbrothers.wallpro.ui.SplashActivity"
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.irbrothers.wallpro.ui.PropertiesActivity"
android:configChanges="orientation"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.irbrothers.wallpro.ui.HomeActivity"
android:configChanges="orientation|screenSize"
android:launchMode="singleTask" >
</activity>
<activity
android:name="com.irbrothers.wallpro.ui.EULA"
android:configChanges="orientation|screenSize"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.irbrothers.wallpro.ui.AboutActivity"
android:configChanges="orientation"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar"
android:windowSoftInputMode="adjustPan" >
</activity>
<activity
android:name="com.startapp.android.publish.list3d.List3DActivity"
android:taskAffinity="com.app.irbrothers.wallpro.AppWall"
android:theme="#android:style/Theme" />
<activity
android:name="com.startapp.android.publish.AppWallActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:taskAffinity="com.app.irbrothers.wallpro.AppWall"
android:theme="#android:style/Theme.Translucent" />
<service android:name="com.irbrothers.wallpro.alarm.NotificationService" />
<receiver android:name="com.irbrothers.wallpro.recievers.NotificationAlarmReciever" >
<intent-filter>
<action android:name="com.irbrothers.notification" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.DATE_CHANGED" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.TIMEZONE_CHANGED" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.TIME_SET" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.TIME_TICK" />
</intent-filter>
</receiver>
</application>
</manifest>
Solved
Do not use any library which is already present in framework. Ex: "json-simple" here.
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..