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>
Related
I am facing an AAPT2 error, this is due to the upgrade of Android Studio.
After a lot of Internet Search, i figured it must be something with the xml in the Android Manifest. I tried different things, chanching the structre, but not sucessful yet. Do have experience with the AndroidManifest.xml and AAPT2? Here's mine
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ch.workouttracker"
android:versionCode="1"
android:versionName="1.0" >
<!--
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
Google Maps Android API v2, but you must specify either coarse or fine
location permissions for the 'MyLocation' functionality.
-->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="AppTheme">
<activity android:name=".TrackActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ProfileActivity"
android:label="#string/title_activity_profile" >
</activity>
<activity
android:name=".TrackCardioActivity"
android:label="#string/title_activity_track_cardio">
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="#string/google_maps_key" />
</activity>
<activity
android:name=".TrackWorkoutActivity"
android:label="#string/title_activity_track_workout" >
</activity>
<activity
android:name=".LogoutActivity"
android:label="#string/title_activity_logout">
</activity>
<activity
android:name=".SettingsActivity"
android:label="#string/title_activity_settings" >
</activity>
<activity
android:name=".DashbordActivity"
android:label="#string/title_activity_dashboard" >
</activity>
<activity
android:name=".CreatePlanActivity"
android:label="#string/title_activity_create_plan" >
</activity>
<activity
android:name=".CreateExerciseActivity"
android:label="#string/title_activity_create_exercise" >
</activity>
<activity
android:name=".EditActivity"
android:label="#string/title_activity_edit" >
</activity>
<activity
android:name=".LoginActivity"
android:label="#string/title_activity_login" >
</activity>
<activity
android:name=".WorkoutDetailActivity"
android:label="#string/title_activity_workout_detail" >
</activity>
<activity
android:name=".PlanDetailActivity"
android:label="#string/title_activity_plan_detail" >
</activity>
<activity android:name=".CalendarActivity" >
</activity>
<activity android:name=".EditExerciseActivity">
</activity>
</application>
</manifest>
I can't find the problem. Maybe you can.
Try #style/Apptheme instead of just Apptheme.
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme">
I am having a issue with submitting my app to the google play store because every
time i upload my APK I get a "Android Supported Devices : 0"
I really have no idea how to fix this. When I remove all references to signalR and remove the jar files, I get 8k devices supported.
Here is some information about my project
EDIT
Here is Manifest
<?xml version="1.0" encoding="utf-8"?>
<uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="21" />
<!--
<uses-permission android:name="android.permission.INTERNET" />
<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_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<android:uses-permission android:name="android.permission.READ_PHONE_STATE" />
<android:uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
!-->
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/StudyTreeTheme" >
<activity android:name="com.braintreepayments.api.threedsecure.ThreeDSecureWebViewActivity" />
<service
android:name="com.paypal.android.sdk.payments.PayPalService"
android:exported="false" />
<!-- Required to use Drop-In -->
<activity android:name="com.braintreepayments.api.dropin.BraintreePaymentActivity" />
<!-- Required to use PayPal -->
<activity android:name="com.paypal.android.sdk.payments.PayPalProfileSharingActivity" />
<activity android:name="com.paypal.android.sdk.payments.ProfileSharingConsentActivity" />
<activity android:name="com.paypal.android.sdk.payments.FuturePaymentInfoActivity" />
<activity android:name="com.paypal.android.sdk.payments.LoginActivity" />
<activity
android:name="com.paypal.android.sdk.payments.PayPalTouchActivity"
android:theme="#android:style/Theme.Translucent.NoTitleBar" />
<activity
android:name=".Activities.MainActivity"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Activities.SignUpActivity"
android:label="#string/title_activity_sign_up" >
</activity>
<activity
android:name=".Activities.ProfileActivity"
android:label="#string/title_activity_profile" >
</activity>
<activity
android:name=".Activities.BaseActivity"
android:label="#string/title_activity_base" >
</activity>
<activity
android:name=".Activities.CourseListActivity"
android:label="#string/title_activity_course_list" >
</activity>
<activity
android:name=".Activities.TutorLocalSessionActivity"
android:label="#string/title_activity_tutor_profile"
android:uiOptions="splitActionBarWhenNarrow" >
<meta-data
android:name="android.support.UI_OPTIONS"
android:value="splitActionBarWhenNarrow" />
</activity>
<activity
android:name=".Activities.StudentProfileActivity"
android:label="#string/title_activity_student_profile"
android:uiOptions="splitActionBarWhenNarrow" >
<meta-data
android:name="android.support.UI_OPTIONS"
android:value="splitActionBarWhenNarrow" />
</activity>
<activity
android:name=".Activities.StudySessionInformationActivity"
android:label="#string/title_activity_study_session" >
</activity>
<activity
android:name=".Activities.dummy.DetailTutorStudySession"
android:label="#string/title_activity_detail_tutor_study_session" >
</activity>
<activity
android:name=".Activities.DetailTutorStudySessionActivity"
android:label="#string/title_activity_detail_tutor_study_session" >
</activity>
<activity
android:name=".Activities.CreateStudySessionActivity"
android:label="#string/title_create_study_session" >
</activity>
<activity
android:name=".Activities.TutorStudySessionActivity"
android:label="#string/title_activity_tutor_study_session"
android:uiOptions="splitActionBarWhenNarrow" >
</activity>
<activity
android:name=".Activities.SessionTimerActivity"
android:label="#string/title_activity_session_timer" >
</activity>
<activity
android:name=".Activities.SettingsActivity"
android:label="#string/title_activity_settings" >
</activity>
<activity
android:name=".findTutorActivity"
android:label="#string/title_activity_find_tutor" >
</activity>
<activity
android:name=".Activities.FindTutorActivity"
android:label="#string/title_activity_find_tutor" >
</activity>
<activity
android:name=".FindTutorsActivity"
android:label="#string/title_activity_find_tutors" >
</activity>
<activity
android:name=".Activities.StudentRatingActivity"
android:label="#string/title_activity_student_rating" >
</activity>
<activity
android:name=".Activities.StudentCreditCardActivity"
android:label="#string/title_activity_student_credit_card"
android:uiOptions="splitActionBarWhenNarrow" >
</activity>
<activity
android:name=".Activities.TutorPersonalInformationActivity"
android:label="#string/title_activity_tutor_personal_information" >
<meta-data
android:name="android.support.UI_OPTIONS"
android:value="splitActionBarWhenNarrow" />
</activity>
<activity
android:name=".Activities.StudentCreditCardDisplayActivity"
android:label="#string/title_activity_student_credit_card_display" >
</activity>
<activity
android:name=".Activities.ChatActivityPackage.ChatRoomActivity"
android:label="#string/title_activity_chat_room" >
</activity>
<activity
android:name=".Activities.ChatActivityPackage.StudentToTutorChatActivity"
android:label="#string/title_activity_student_to_tutor_chat" >
</activity>
<activity
android:name=".Activities.TutorProfileActivity"
android:label="#string/title_activity_tutor_profile" >
</activity>
<activity
android:name=".Activities.TutorFeeActivity"
android:label="#string/title_activity_tutor_fee" >
</activity>
<activity
android:name=".Activities.ChatActivityPackage.TutorToStudentChatActivity"
android:label="#string/title_activity_tutor_to_student_chat" >
</activity>
<activity
android:name=".Activities.TutorAddRemoveCourseActivity"
android:label="#string/title_activity_tutor_add_remove_course" >
</activity>
<activity
android:name=".Activities.ShareWalling"
android:label="#string/title_activity_share_walling" >
</activity>
</application>
</manifest>
I modified the jar files that were causing the issue. Use this copy if you are having issues with android supporting 0 devices.
https://github.com/eak65/FixedSignalRJar
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 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..