Below is snippet with ClassNotFoundException which cause app crashing:
FATAL EXCEPTION: main 08-31 02:56:21.340: E/AndroidRuntime(1873): Process: com.lic.smarttab, PID: E/AndroidRuntime(1873): android.view.InflateException: Binary XML file line #2: Error inflating class android.cardview
08-31 02:56:21.290: W/dalvikvm(1873): threadid=1: thread exiting with uncaught exception (group=0x94cd1b20)
08-31 02:56:21.340: E/AndroidRuntime(1873): FATAL EXCEPTION: main
08-31 02:56:21.340: E/AndroidRuntime(1873): Process: com.lic.smarttab, PID: 1873
08-31 02:56:21.340: E/AndroidRuntime(1873): android.view.InflateException: Binary XML file line #2: Error inflating class android.support.v7.widget.CardView
08-31 02:56:21.340: E/AndroidRuntime(1873): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:708)
08-31 02:56:21.340: E/AndroidRuntime(1873): at android.view.LayoutInflater.inflate(LayoutInflater.java:469)
08-31 02:56:21.340: E/AndroidRuntime(1873): at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
08-31 02:56:21.340: E/AndroidRuntime(1873): at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
08-31 02:56:21.340: E/AndroidRuntime(1873): at com.lic.smarttab.AbtOzarAdapter.getView(AbtOzarAdapter.java:58)
08-31 02:56:21.340: E/AndroidRuntime(1873): at android.widget.AbsListView.obtainView(AbsListView.java:2263)
08-31 02:56:21.340: E/AndroidRuntime(1873): ... 24 more
08-31 02:56:21.340: E/AndroidRuntime(1873): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.CardView" on path: DexPathList[[zip file "/data/app/com.lic.smarttab-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.lic.smarttab-1, /system/lib]]
08-31 02:56:21.340: E/AndroidRuntime(1873): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
08-31 02:56:21.340: E/AndroidRuntime(1873): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
08-31 02:56:21.340: E/AndroidRuntime(1873): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
08-31 02:56:21.340: E/AndroidRuntime(1873): at android.view.LayoutInflater.createView(LayoutInflater.java:559)
08-31 02:56:21.340: E/AndroidRuntime(1873): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:697)
08-31 02:56:21.340: E/AndroidRuntime(1873): ... 38 more
and folowing is manifest file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.lic.smarttab"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="23" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="com.lic.smarttab.permission.C2D_MESSAGE" />
<permission
android:name="com.lic.smarttab.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<!-- To retrieve the account name (email) as part of sign-in: -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<!-- To auto-complete the email text field in the login form with the user's emails -->
<uses-permission android:name="android.permission.READ_PROFILE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<application
android:allowBackup="true"
android:icon="#drawable/app_icon"
android:label="Smart Tab"
android:theme="#style/AppTheme" >
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<receiver
android:name=".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.lic.smarttab" />
</intent-filter>
</receiver>
<service android:name=".GCMNotificationIntentService" />
<activity
android:name=".Splash"
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=".ActivityPlan838"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity838Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation838"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan833"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity833Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation833"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan818"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity818Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation818"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan189"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity189Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation189"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan827"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity827Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation827"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan820"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity820Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation820"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan821"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity821Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation821"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan822"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".ActivityPlan823"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity822Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity823Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation822And823"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan837"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity837Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation837"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan814"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity814Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation814"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan834"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity834Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation834"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan832"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity832Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation832"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan817"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity817Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation817"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan816"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity816Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation816"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ActivityPlan815"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Activity815Benefit"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" />
<activity
android:name=".Presentation815"
android:label="#string/title_activity_home"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".Home"
android:label="#string/title_activity_home" >
</activity>
<activity
android:name=".PremiumCalcPlanDetails"
android:label="#string/title_activity_home" >
</activity>
<activity
android:name=".ListServices"
android:label="#string/title_activity_list_services" >
</activity>
<activity
android:name=".NewUser"
android:label="#string/title_activity_new_user" >
</activity>
<activity
android:name=".Online_Facility"
android:label="#string/title_activity_new_user" >
</activity>
<activity
android:name=".MyPlans"
android:label="#string/title_activity_my_plans" >
</activity>
<activity
android:name=".PremiumCalc"
android:label="#string/title_activity_premium_calc" >
</activity>
<activity
android:name=".PlanDetails"
android:label="#string/title_activity_plan_details" >
</activity>
<activity
android:name=".AddNewPlan"
android:label="#string/title_activity_add_new_plan" >
</activity>
<activity
android:name=".PolicyServicing"
android:label="#string/title_activity_policy_servicing" >
</activity>
<activity
android:name=".NewPolicyEntry"
android:label="#string/title_activity_new_policy_entry" >
</activity>
<activity
android:name=".LoginActivity"
android:label="#string/title_activity_login"
android:windowSoftInputMode="adjustResize|stateHidden" >
</activity>
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<activity
android:name=".PolicySearch"
android:label="#string/title_activity_policy_search" >
</activity>
<activity
android:name=".PolicySearchResult"
android:label="#string/title_activity_policy_search_result" >
</activity>
<activity
android:name=".ServicingReports"
android:label="#string/title_activity_servicing_reports" >
</activity>
<activity
android:name=".ServicingReportsValue"
android:label="#string/title_activity_servicing_reports_value" >
</activity>
<activity
android:name=".UpdateData"
android:label="#string/title_activity_update_data" >
</activity>
<activity
android:name=".PolicyUpdateMbl"
android:label="#string/title_activity_policy_update_mbl" >
</activity>
<activity
android:name=".NBDownload"
android:label="#string/title_activity_nbdownload" >
</activity>
<activity
android:name=".NBDownloadSaveHug"
android:label="#string/title_activity_nbdownload_save_hug" >
</activity>
<activity
android:name=".DownloadNBDtata"
android:label="#string/title_activity_download_nbdtata" >
</activity>
<activity
android:name=".NBForm"
android:label="#string/title_activity_nbform" >
</activity>
<activity
android:name=".ImportUpdatePortalActivity"
android:label="#string/title_activity_import_update_portal" >
</activity>
<activity
android:name=".ActivityLastUpdateStats"
android:label="#string/title_activity_activity_last_update_stats" >
</activity>
<activity
android:name=".ClientInfoViewActivity"
android:label="#string/title_activity_client_info_view" >
</activity>
<activity
android:name=".ViewClientInfo"
android:label="#string/title_activity_view_client_info" >
</activity>
<activity
android:name=".ViewAllPolicyListview"
android:label="#string/title_activity_view_all_policy_listview" >
</activity>
<activity
android:name=".LapsedPolicies"
android:label="#string/title_activity_lapsed_policies" >
</activity>
<activity
android:name=".BirthdayListview_Offline"
android:label="#string/title_activity_birthday_listview" >
</activity>
<activity
android:name=".BirthdayListview"
android:label="#string/title_activity_birthday_listview" >
</activity>
<activity
android:name=".OutsatandingDuesListview"
android:label="#string/title_activity_outsatanding_dues_listview" >
</activity>
<activity
android:name=".SettingListview"
android:label="#string/title_activity_setting_listview" >
</activity>
<activity
android:name=".AgentPortal"
android:label="#string/title_activity_agent_portal" >
</activity>
<activity
android:name=".SMS_Setting"
android:label="#string/title_activity_sms__setting" >
</activity>
<activity
android:name=".OnlineFacilityWebview"
android:label="#string/title_activity_online_facility_webview" >
</activity>
<activity
android:name=".Plan838"
android:label="#string/title_activity_plan838" >
</activity>
<activity
android:name=".ListPlanCalc"
android:label="#string/title_activity_list_plan_calc" >
</activity>
<activity
android:name=".PolicyStatus"
android:label="#string/title_activity_policy_status" >
</activity>
<activity
android:name=".LoanStatus"
android:label="#string/title_activity_loan_status" >
</activity>
<activity
android:name=".NewClientPolicy"
android:label="#string/title_activity_new_client_policy" >
</activity>
<activity
android:name=".ActivityNewClient"
android:label="#string/title_activity_activity_new_client" >
</activity>
</application>
</manifest>
Layout file
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:background="#FFFFFF"
card_view:cardUseCompatPadding="true"
card_view:cardElevation="4dp"
card_view:cardCornerRadius="3dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:gravity="center"
android:background="#FFFFFF"
android:layout_marginTop="5dp"
android:orientation="vertical" >
<ImageView
android:id="#+id/imgGrid"
android:layout_width="160dp"
android:layout_height="160dp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="10dp"
android:background="#FFFFFF"
android:contentDescription="#null"
android:src="#drawable/ic_launcher" />
<TextView
android:id="#+id/txtGrid"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="3dp"
android:layout_marginTop="5dp"
android:gravity="center|bottom"
android:text="gggg"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#056839"
android:textStyle="bold" >
</TextView>
</LinearLayout>
</android.support.v7.widget.CardView>
I have linked cardview, and google play services as library project in same workspace.
As this is class not found exception for CardView. This will Help you to solve the problem.In ecllipse you have to manually import the project
The project for the CardView is located in your Android SDK folder: Android\android-sdk\extras\android\support\v7\cardview
In Eclipse use "Import" and select "Existing Android Code Into Workspace" and import the CardView project
Go to Properties->Android of the new project, mark it as a library project and then Link it as a library project in your own project where the CardView can not be found
Related
the android:exported="true" existe in the AndroidManifest.xml file but always i have the same problem
Error: android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details. AndroidV2.app main manifest (this file)
Manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.bfi.bsic.togo">
<uses-permission android:name="android.permission.ACCESS_COARSE_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.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<application
android:name=".app.FrontOfficeMobileApp"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:largeHeap="true"
android:requestLegacyExternalStorage="true"
android:supportsRtl="true"
android:theme="#style/AppTheme.NoActionBar.FullScreen"
android:usesCleartextTraffic="true"
tools:ignore="GoogleAppIndexingWarning"
tools:replace="android:icon,android:theme">
<activity
android:name="com.bfi.bsic.app.activity.SplashScreen"
android:label="#string/app_name"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".activity.NitaWithdrawActivity"
/>
<activity
android:name=".activity.NitaReloadActivity"
/>
<activity
android:name=".activity.ContributionSunuHistoryActivity"
/>
<activity
android:name=".activity.ContributionSunuActivity"
/>
<activity
android:name=".activity.GimCardEnrollmentActivity"
/>
<activity
android:name=".activity.GimacRecivedRemitanceActivity"
/>
<activity
android:name=".activity.GTPCardTransferActivity"
/>
<activity
android:name=".activity.GTPCardDepositActivity"
/>
<activity
android:name=".activity.PrepaidCardMovementsActivity"
/>
<activity
android:name=".activity.PrepaidCardBalanceActivity"
/>
<activity
android:name=".activity.CardEnrollmentActivity"
/>
<activity
android:name=".activity.SonabelPrePayActiviy"
/>
<activity
android:name=".activity.ExpressoB2WActivity"
/>
<activity
android:name=".activity.SonabelHistoryActiviy"
/>
<activity
android:name=".activity.SonabelActiviy"
/>
<activity
android:name=".activity.WithdrawWithoutCardActivity"
/>
<activity
android:name=".activity.GimacQRPaymentActivity"
/>
<activity
android:name=".activity.GimacTransferActivity"
/>
<activity
android:name=".activity.GimacActivity"
/>
<activity
android:name=".activity.MtnGNWithdrawActivity"
/>
<activity
android:name=".activity.MtnGNReloadActivity"
/>
<activity
android:name=".activity.MoovTogoW2BActiviy"
/>
<activity
android:name=".activity.MoovTogoB2WActiviy"
/>
<activity
android:name=".activity.MoovActiviy"
/>
<activity
android:name=".activity.DgiHistoryActiviy"
/>
<activity
android:name=".activity.AddBeneficiaryActivity"
/>
<activity android:name=".activity.DgiActiviy"
/>
<activity android:name=".activity.OribaReloadHistoryActivity"
/>
<activity android:name=".activity.OribaReloadActivity"
/>
<activity android:name=".activity.MtnReloadActivity"
/>
<activity android:name=".activity.MtnWithdrawActivity"
/>
<activity android:name=".activity.CnamDuplicateActiviy"
/>
<activity android:name=".activity.CnamHistoryActiviy"
/>
<activity android:name=".activity.CnamActiviy"
/>
<activity android:name=".activity.CnpsHistoryActiviy"
/>
<activity android:name=".activity.ConsultationTaxesPaidActivity"
/>
<activity android:name=".activity.PayingTaxesActivity"
/>
<activity android:name=".activity.WalletMobileMoneyActivity"
/>
<activity android:name=".activity.TransferPermanentActivity"
/>
<activity android:name=".activity.PrepaidCardWithdrawActivity"
/>
<activity android:name=".activity.MobileMoneyActivity"
/>
<activity android:name=".activity.PrepaidCardDepositActivity"
/>
<activity android:name=".activity.ReceivedMultipleDirectDebitActivity"
/>
<activity android:name=".activity.ContributionHistoryActivity"
/>
<activity android:name=".activity.HistoryContributionActivity"
/>
<activity android:name=".activity.TransactionConsultationActivity"
/>
<activity android:name=".activity.CheckBookBankRequestActivity"
/>
<activity
android:name="com.bfi.bsic.app.activity.SelectAppActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar.FullScreen" />
<activity
android:name="com.bfi.bsic.app.activity.activity.SelectLanguageActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar.FullScreen" /> <!-- Mobile Banking Activities -->
<activity
android:name=".activity.CreateNewMessagingActivity"
android:label="#string/title_activity_create_messanging"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.MultipleDirectDebitActivity"
android:label="#string/prepaid_card_withdraw"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.ContributionActivity"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.Cnps_Activiy"
android:label="#string/cnps"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.ColowsoWithdrawActivity"
android:label="#string/withdraCard"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.ColowsoDepositActivity"
android:label="#string/depositCard"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.PunctualTransactionActivity"
android:label="#string/transactions"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.ChatMessagingActivity"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.MessagingActivity"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.TermDepositActivity"
android:label="#string/title_activity_term_deposit"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CheckBankAcivity"
android:label="#string/checkBank"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CheckNewBankAcivity"
android:label="#string/checkBank"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.HomeSlidesActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar.FullScreen" />
<activity
android:name=".activity.LoanActivity"
android:label="#string/title_activity_loan"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.PaymentsPlanActivity"
android:label="#string/title_activity_payment_plan"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.LoginActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.PinCodeActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.PDFViewActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.E_Document_Activity"
android:label="E_Documents"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.E_All_Document_Activity"
android:label="E_Documents"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.SetTermeDeposit"
android:label="#string/termedeposit"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.TombeAnticipeActivity"
android:label="#string/tombeanticipe"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.Request_Disposition_Activity"
android:label="#string/disposition"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<meta-data
android:name="com.onesignal.NotificationOpened.DEFAULT"
android:value="DISABLE" />
<activity
android:name=".activity.Subscribe3_Activity"
android:label="Inscription"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.Subscribe4_Activity"
android:label="Inscription"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.Subscribe2_Activity"
android:label="Inscription"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.SubscribeActivity"
android:label="Inscription"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.RelationInActivity1"
android:label="#string/relation_in"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.RelationInActivity2"
android:label="#string/relation_in"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.RelationInActivity3"
android:label="#string/relation_in"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.MapsActivity"
android:label="#string/title_activity_maps"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CreditRequestConsultActivity"
android:label="#string/list_request_credit"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CreditRequestInfoActivity"
android:label="#string/modify_request_credit"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CashWithdrawalActivity"
android:label="#string/operation_cash_withdrawal"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.CreditRequestTrackActivity"
android:label="#string/state_credit_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.WesternUnionActivity"
android:label="#string/operation_western_union"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.TransactionActivityInternational"
android:label="#string/transferInternational"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CertifiedAccountStatementActivity"
android:label="#string/operation_certified_account_statement"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.PrepaidCardActivity"
android:label="#string/operation_prepaid_card"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.MobileCreditActivity"
android:label="#string/operation_bgfi_mobile"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.BgfiExpressActivity"
android:label="#string/operation_fast_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.CurrencyExchangeActivity"
android:label="#string/operation_currency_exchange"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SendMoneyActivity"
android:label="#string/operation_money_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.BankInsuranceActivity"
android:label="#string/operation_bank_insurance"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.CheckRemittanceActivity"
android:label="#string/operation_check_remitance"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.AddCheckActivity"
android:label="#string/operation_check_attach"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.BearerCheckActivity"
android:label="#string/operation_bearer_check_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SuggestionAndComplaintActivity"
android:label="#string/operation_complaint"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SendMoneyExternalActivity"
android:label="#string/money_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SendMoneyMobileMoneyActivity"
android:label="#string/mobile_money_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SendMoneyExternalHistoryActivity"
android:label="#string/consult_money_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.LockCheckExternalActivity"
android:label="#string/operation_lock_checkbook_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.ChatKitActivity"
android:label="#string/chat_kit_activity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.PermanentSendMoneyExternalHistoryActivity"
android:label="#string/history_permanent_money_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.PermanentSendMoneyExternalActivity"
android:label="#string/permanent_money_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.BeneficiaryActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.LockCardActivity"
android:label="#string/operation_lock_card"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.BalanceAndMovementsActivity"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.MouvementsActivity"
android:label="#string/operation_statements_heading"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.NextMovementActivity"
android:label="#string/operation_next_statements_heading"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.CashDepositActivity"
android:label="#string/operation_cash_deposit"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.CheckBookRequestActivity"
android:label="#string/operation_checkbook_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.LockCheckActivity"
android:label="#string/operation_lock_check"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.LockCardCallCenterActivity"
android:label="#string/operation_lock_card"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.NotificationActivity"
android:label="#string/operation_notification"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.HomeActivity"
android:label="#string/app_name"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.PrintTicketActivity"
android:label="#string/operation_list"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.TicketNumberActivity"
android:label="#string/ticket"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CardRequestActivity"
android:label="#string/operation_card_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.TrackCardRequestActivity"
android:label="#string/operation_track_card_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.TrackRequestActivity"
android:label="#string/operation_track_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".fingerprint.FingerprintActivity"
android:label="Fingerprint"
android:screenOrientation="portrait" />
<activity
android:name=".activity.TrackCheckBookRequestActivity"
android:label="#string/operation_track_check_book_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.ListCardActivity"
android:label="#string/operation_card_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.AppointmentActivity"
android:label="#string/operation_appointment_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SuggestionActivity"
android:label="#string/operation_suggestion_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.ProfileActivity"
android:label="#string/operation_profile"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.PasswordManagmentActivity"
android:label="#string/operation_manage_password"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.IncreaseCreditCardCeilingActivity"
android:label="#string/operation_increase_credit_card_ceiling"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SettingsActivity"
android:label="#string/title_activity_settings" />
<activity
android:name=".activity.LoadingActivity"
android:label="#string/title_activity_loading"
android:theme="#style/AppTheme.NoActionBar.FullScreen" />
<activity
android:name=".activity.ConnectedDevicesActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" /> <!-- Mobile Money Activities -->
<activity
android:name="com.bfi.bsic.mobilemoney.activity.PasswordManagmentActivity"
android:label="#string/operation_manage_password"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name="com.bfi.bsic.mobilemoney.activity.PinCodeActivity"
android:theme="#style/Theme.MyDialog" /> <!-- android:theme="#style/Theme.MaterialComponents.Light.Dialog" -->
<activity
android:name="com.bfi.bsic.mobilemoney.activity.ProfileActivity"
android:label="#string/menu_profile"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name="com.bfi.bsic.mobilemoney.activity.LoginActivity"
android:screenOrientation="portrait" />
<activity
android:name="com.bfi.bsic.mobilemoney.activity.SubscribeActivity"
android:label="#string/operation_subscribe"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name="com.bfi.bsic.mobilemoney.activity.HomeActivity"
android:screenOrientation="portrait" />
<activity
android:name="com.bfi.bsic.mobilemoney.activity.WhitePinCodeActivity"
android:theme="#style/AppTheme.NoActionBar.FullScreen" />
<activity
android:name="com.bfi.bsic.mobilemoney.activity.QrCodeScannerActivity"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.QrCodeScannerActivity"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.TransactionActivity"
android:label="#string/transfer"
android:parentActivityName=".activity.BalanceAndMovementsActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CardActivity"
android:label="#string/card"
android:parentActivityName=".activity.BalanceAndMovementsActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CreditRequestActivity"
android:label="#string/Credit"
android:parentActivityName=".activity.BalanceAndMovementsActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CheckActivity"
android:label="#string/checkk"
android:parentActivityName=".activity.BalanceAndMovementsActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.ContactActivity"
android:parentActivityName=".activity.BalanceAndMovementsActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.HistoryAllTransactionNational"
android:label="#string/consult_money_transfer"
android:parentActivityName=".activity.BalanceAndMovementsActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
</application>
</manifest>
merged manifest
Downgrade targetSdkVersion31 to 30 or 29 and see if it helps
I've integrated the following library from GitHub into my project:
https://github.com/jjobes/SlideDateTimePicker
It has been integrated fine but does not work when executed.
I have created the following FragmetActivity which simply has a button that launches the library. When the button is clicked, it crashes. The Activity is set to have a Dialog Theme.
<activity
android:name=".AlertDateTimePickerParentActivity"
android:screenOrientation="landscape"
android:theme="#style/Theme.AppCompat.Dialog"
android:excludeFromRecents="true"/>
FragmetActivity:
/**
* Created by MatthewW on 27/04/2018.
*/
import java.text.SimpleDateFormat;
import java.util.Date;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;
import com.github.jjobes.slidedatetimepicker.SlideDateTimeListener;
import com.github.jjobes.slidedatetimepicker.SlideDateTimePicker;
public class AlertDateTimePickerParentActivity extends FragmentActivity{
private static final String TAG = AlertDateTimePickerParentActivity.class.getSimpleName();
private SimpleDateFormat mFormatter = new SimpleDateFormat("MMMM dd yyyy hh:mm aa");
private Button mButtonSetStartDate;
#Override
protected void onCreate( Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.alerdtparentactivitylayout);
this.setFinishOnTouchOutside(false); //stops this activity being destroyed if user clicks outside the activity window
mButtonSetStartDate = (Button) findViewById(R.id.mButtonSetStartDate);
mButtonSetStartDate.setOnClickListener(new OnClickListener() {
#Override
public void onClick(View v)
{
new SlideDateTimePicker.Builder(getSupportFragmentManager())
.setListener(listener)
.setInitialDate(new Date())
//.setMinDate(minDate)
//.setMaxDate(maxDate)
//.setIs24HourTime(true)
//.setTheme(SlideDateTimePicker.HOLO_DARK)
//.setIndicatorColor(Color.parseColor("#990000"))
.build()
.show();
}
});
}//end of onCreate
private SlideDateTimeListener listener = new SlideDateTimeListener() {
#Override
public void onDateTimeSet(Date date)
{
Toast.makeText(AlertDateTimePickerParentActivity.this,
mFormatter.format(date), Toast.LENGTH_SHORT).show();
}
// Optional cancel listener
#Override
public void onDateTimeCancel()
{
Toast.makeText(AlertDateTimePickerParentActivity.this,
"Canceled", Toast.LENGTH_SHORT).show();
}
};
}//end of class
The exception:
Process: com.carefreegroup.rr3.carefreeoncall, PID: 22908
java.lang.IllegalStateException: Fragment DateFragment{427539b8 #0 id=0x7f0b0259 android:switcher:2131427929:0} declared target fragment SlideDateTimeDialogFragment{4273f670 #0 tagSlideDateTimeDialogFragment} that does not belong to this FragmentManager!
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1266)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1574)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1641)
at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:794)
at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2415)
at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2200)
at android.support.v4.app.FragmentManagerImpl.optimizeAndExecuteOps(FragmentManager.java:2153)
at android.support.v4.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:2034)
at android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:651)
at android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:143)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1239)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1087)
at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1613)
at com.github.jjobes.slidedatetimepicker.CustomViewPager.onMeasure(CustomViewPager.java:70)
at android.view.View.measure(View.java:17275)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5352)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1410)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
at android.view.View.measure(View.java:17275)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5352)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
at android.view.View.measure(View.java:17275)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5352)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
at android.view.View.measure(View.java:17275)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5352)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2541)
at android.view.View.measure(View.java:17275)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2208)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1325)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1547)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1226)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6362)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:803)
at android.view.Choreographer.doCallbacks(Choreographer.java:603)
at android.view.Choreographer.doFrame(Choreographer.java:573)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:789)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5350)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at dalvik.system.NativeStart.main(Native Method)
I've tried looking around the net for answers and some point to the problem being the fragment being displayed(DateTime picker), does not belong to the Fragment manager of the enclosing FragmentActivity. I'm not sure exactly what this means.
Has anyone any ideas what could be wrong here?
I'm running this on a Samsung Galaxy tablet SM-T520 with Android 4.4.2
.
manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.xxx.rr3.carefreeoncall"
android:versionCode="44"
android:versionName="2.3.2" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="22" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<application
android:name=".RROnCallApplication"
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/CustomActionBarTheme">
<activity
android:name="com.carefreegroup.rr3.carefreeoncall.OnCallMenuActivity"
android:label="#string/app_name"
android:screenOrientation="landscape">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".OnCallListAndDetailsActivity"
android:screenOrientation="landscape" />
<activity
android:name=".DisplayCarerDetailsfragmentActivity"
android:screenOrientation="portrait" />
<activity
android:name=".PurposeOfCallActivity"
android:screenOrientation="portrait" />
<activity
android:name=".UpdateCallActivity"
android:screenOrientation="landscape" />
<activity
android:name=".UpdateCallDateTimeAndCarerActivity"
android:screenOrientation="landscape" />
<activity
android:name=".UpdateCallDateTimeActivity"
android:screenOrientation="portrait" />
<activity
android:name=".UpdateCallNewCarerListActivity"
android:screenOrientation="portrait" />
<activity
android:name=".DisplayCarerInfofragmentActivity"
android:screenOrientation="portrait" />
<activity
android:name=".MenuActivity"
android:screenOrientation="landscape" />
<activity
android:name=".MenuActivity2"
android:screenOrientation="landscape" />
<activity
android:name=".client.DisplayClientDetailsfragmentActivity"
android:screenOrientation="portrait" />
<activity
android:name=".client.DisplayClientInfofragmentActivity"
android:screenOrientation="portrait" />
<activity
android:name=".client.ClientListDetailsPurposeActivity"
android:screenOrientation="landscape" />
<activity
android:name=".CarerAwayActivity"
android:screenOrientation="landscape" />
<activity
android:name=".DisplayCarerAwayDateTimeFragmentActivity"
android:screenOrientation="portrait" />
<activity
android:name=".DisplayAwayReasonActivity"
android:screenOrientation="portrait" />
<activity
android:name=".client.DisplayClientAwayDateTimeFragmentActivity"
android:screenOrientation="portrait" />
<activity
android:name=".client.DisplayClientAwayReasonActivity"
android:screenOrientation="portrait" />
<activity
android:name=".client.ClientAwayActivity"
android:screenOrientation="landscape" />
<activity
android:name=".client.UpdateCallDateTimeAndClientActivity"
android:screenOrientation="landscape" />
<activity
android:name=".client.UpdateCallDateTimeClientActivity"
android:screenOrientation="portrait" />
<activity
android:name=".client.UpdateCallNewCarerListActivityClient"
android:screenOrientation="portrait" />
<activity
android:name=".client.PurposeOfCallActivityClient"
android:screenOrientation="portrait" />
<activity
android:name=".CarerSendLogActivity"
android:screenOrientation="landscape" />
<activity
android:name=".CarerViewLogActivity"
android:screenOrientation="landscape" />
<activity
android:name=".client.ClientSendLogActivity"
android:screenOrientation="landscape" />
<activity
android:name=".CancelCallActivity"
android:screenOrientation="landscape" />
<activity
android:name=".CancelCallActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".client.CancelCallActivityClient"
android:screenOrientation="landscape" />
<activity
android:name=".client.CancelCallActivityPhoneClient"
android:screenOrientation="portrait" />
<activity
android:name=".ShowUnallocatedCallsActivity"
android:screenOrientation="landscape" />
<activity
android:name=".PurposeOfCallActivityUnalloc"
android:screenOrientation="portrait" />
<activity
android:name=".ShowUnallocatedCallsActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".ShowMissedCallsActivity"
android:screenOrientation="landscape" />
<activity
android:name=".ShowMissedCallsActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".PurposeOfCallActivityMissed"
android:screenOrientation="portrait" />
<activity
android:name=".ShowAlertsActivity"
android:screenOrientation="landscape"
android:launchMode="singleInstance" />
<activity
android:name=".AlertDetailsActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".GetRotaDetails2"
android:screenOrientation="landscape" />
<activity
android:name=".GetRotaDetailsForPhone"
android:screenOrientation="portrait" />
<service android:name=".GetCarerService"></service>
<service android:name=".GetCarersIntentService"></service>
<service android:name=".client.GetClientsIntentService"></service>
<service android:name=".SendcarerMessageIntentService"></service>
<service android:name=".SendcarerMessageSMSIntentService"></service>
<service android:name=".ShowAlertsIntentService"></service>
<receiver
android:name="AlarmReceiver" >
</receiver>
<activity
android:name=".TreeViewListDemo"
android:screenOrientation="landscape" />
<activity
android:name=".ExpList"
android:screenOrientation="landscape" />
<activity
android:name=".RunsDetailsPurposeActivity"
android:screenOrientation="landscape" />
<activity
android:name=".DisplayRunDetailsfragmentActivity"
android:screenOrientation="portrait" />
<activity
android:name=".RunPurposeOfCallActivity"
android:screenOrientation="portrait" />
<activity
android:name=".CarerAwayListFragmentActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".CarerAwayDateUpdateActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".CarerAwayReasonActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".CarerAwayReasonUpdateActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".client.ClientAwayListFragmentActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".client.ClientAwayReasonActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".client.ClientAwayDateUpdateActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".client.AddCallActivity"
/>
<activity
android:name=".client.AddCallDateTimeActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".client.AddCallContractsActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".client.AddCallRunsActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".client.AddCallCarerActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".CarerViewLogActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".CarerViewLogsListFragmentActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".ShowInboxSentboxActivity"
android:screenOrientation="landscape" />
<activity
android:name=".InboxFragmentActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".HelpActivity"
android:screenOrientation="landscape" />
<activity
android:name=".UpdateMultiCallWithRunAndCarerActivity"
android:screenOrientation="landscape" />
<activity
android:name=".UpdateMultiCallWithRunActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".UpdateMultiCallWithCarerActivityPhone"
android:screenOrientation="portrait" />
<activity
android:name=".UpdateSingleCallWithRunActivityPhone"
android:screenOrientation="portrait" />
<service android:name=".MailService"></service>
<activity
android:name=".SendGroupMessageActivity"
android:screenOrientation="landscape" />
<service android:name=".SendCarerGroupMessageService"></service>
<activity
android:name=".AlertDateTimePickerParentActivity"
android:screenOrientation="landscape"
android:excludeFromRecents="true"/>
</application>
</manifest>
Make sure you're using only one type of FragmentManager
either getFragmentManager() from android.app.fragment or getSupportFragmentManager() from android.support.v4.fragment.
I also encountered this error, & the reason was this. I extended both from support library, but somehow, I was initiating one from app library, & calling other from support. Give it a try
adding library in gradle is
compile 'com.twilio:chat-android:0.12.1'
and sync then getting error as
Error:Execution failed for task ':app:processDebugManifest'.
<Manifest merger failed with multiple errors, see logs
versions i am targetting
` defaultConfig {
multiDexEnabled true
applicationId "com.app.ommo"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
in manifest file i am not changing any code and only when i put above library into gradle i am getting that error. my manifest file is.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.app.ommo">
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-feature android:name="android.hardware.location.gps" />
<application
android:allowBackup="false"
android:icon="#drawable/ommo"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme.Red">
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<activity
android:name=".jockey.audio.RecorderActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan">
<!--<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>-->
</activity>
<activity android:name=".activity.SplashScreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<data
android:host="www.rajasekher.com"
android:scheme="http" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="t4jsample"
android:scheme="oauth" />
</intent-filter>
<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:host="litestcalback"
android:scheme="x-oauthflow-linkedin" />
</intent-filter>
</activity>
<service android:name=".service.MyService" />
<service android:name=".service.UpdateUserLatLang_Service" />
<service android:name=".service.Attended_Service" />
<service android:name=".service.DownloadService" />
<activity android:name="com.facebook.FacebookActivity" />
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="#string/APP_ID" />
<!--
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="#string/google_map_api_key" />
-->
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="#string/google_place_api" />
<activity
android:name=".thirdpartylib.TwitWebViewActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activity.LoginActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activity.ForgetPasswordActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activity.RegistrationActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
<activity
android:name=".activity.SettingPage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.TermsandConditions"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.PrivacyPolicy"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.UserAddressListPage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.AddressPostActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.UserReviewsandRating"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.AppLanguageSetting"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.BaseActivity"
android:label="#string/title_activity_base"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.CreditCardDetails"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.PaymentActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.WalletActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.WalletAmountAddActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.UserServicesListActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.AddandEditUserServicesActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.Service_Individual_Details"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.BookAppointmet_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Service_UserProfileActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.ProfileActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Availability_Post_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.FollowList_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.BookingsListingActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.BookingIndividualDetails"
android:screenOrientation="portrait" />
<activity
android:name=".activity.SaloonExpertsListActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Reschedule_Booking_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.User_Customer_Listing"
android:screenOrientation="portrait" />
<activity
android:name=".activity.User_Services_Availability_Listing"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Customers_Add_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.UsersListActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Review_ListingActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Availability_Subscription_ListingActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.User_Subscription_ListingActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Portfolio_Service_Provider_ListingActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Portfolio_Add_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Refer_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Report_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Post_Discounts_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Discount_Listing_Activity"
android:screenOrientation="portrait" />
<!-- ===================== Jockey Activities ===================== -->
<activity
android:name=".jockey.activity.UserActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.CarDetailsPost"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.JockyDriverHomePage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.CarListviewProfilePage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.UserTripHistoryActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.DriverSidePickUpList"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.JockySettingPage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.DriverConfirmRide"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.DriverSideTrackingPage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.JockyProfileActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.DriverTripHistoryActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.InternetConnectionCheck"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.StartRide"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.UserSideTrackingPage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity android:name=".jockey.activity.UserHome_Jockey" />
<activity android:name=".jockey.activity.DriverList_SwipingCards" />
<activity
android:name=".activity.ChatActivity45"
android:screenOrientation="portrait"/>
<activity
android:name=".jockey.activity.BrainTreeMainActivity"
android:screenOrientation="portrait"/>
<activity
android:name="com.braintreepayments.api.BraintreeBrowserSwitchActivity"
android:launchMode="singleTask">
<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="${applicationId}.braintree" />
</intent-filter>
</activity>
</application>
please tell me what i have to do?
here problem is my minSdkVersion is 15. And twilio chat minSdkVersion is 19.
So i got error. so I changed my minSdkVersion to 19 and now working fine.
I know few people have asked this question before but I didn't find their solutions useful for me.
Please see my build path jar in below image--
Following is my complete error log:
05-16 17:32:13.988: E/AndroidRuntime(19650): FATAL EXCEPTION: main
05-16 17:32:13.988: E/AndroidRuntime(19650): Process: com.mypackage.hobnobpal, PID: 19650
05-16 17:32:13.988: E/AndroidRuntime(19650): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.mypackage.hobnobpal/com.mypackage.quickevent.LoginActivity}: java.lang.ClassNotFoundException: Didn't find class "com.mypackage.quickevent.LoginActivity" on path: DexPathList[[zip file "/data/app/com.mypackage.hobnobpal-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.mypackage.hobnobpal-2, /vendor/lib, /system/lib]]
05-16 17:32:13.988: E/AndroidRuntime(19650): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2124)
05-16 17:32:13.988: E/AndroidRuntime(19650): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2247)
05-16 17:32:13.988: E/AndroidRuntime(19650): at android.app.ActivityThread.access$800(ActivityThread.java:141)
05-16 17:32:13.988: E/AndroidRuntime(19650): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210)
05-16 17:32:13.988: E/AndroidRuntime(19650): at android.os.Handler.dispatchMessage(Handler.java:102)
05-16 17:32:13.988: E/AndroidRuntime(19650): at android.os.Looper.loop(Looper.java:136)
05-16 17:32:13.988: E/AndroidRuntime(19650): at android.app.ActivityThread.main(ActivityThread.java:5111)
05-16 17:32:13.988: E/AndroidRuntime(19650): at java.lang.reflect.Method.invokeNative(Native Method)
05-16 17:32:13.988: E/AndroidRuntime(19650): at java.lang.reflect.Method.invoke(Method.java:515)
05-16 17:32:13.988: E/AndroidRuntime(19650): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:806)
05-16 17:32:13.988: E/AndroidRuntime(19650): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
05-16 17:32:13.988: E/AndroidRuntime(19650): at dalvik.system.NativeStart.main(Native Method)
05-16 17:32:13.988: E/AndroidRuntime(19650): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.mypackage.quickevent.LoginActivity" on path: DexPathList[[zip file "/data/app/com.mypackage.hobnobpal-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.mypackage.hobnobpal-2, /vendor/lib, /system/lib]]
05-16 17:32:13.988: E/AndroidRuntime(19650): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
05-16 17:32:13.988: E/AndroidRuntime(19650): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
05-16 17:32:13.988: E/AndroidRuntime(19650): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
05-16 17:32:13.988: E/AndroidRuntime(19650): at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
05-16 17:32:13.988: E/AndroidRuntime(19650): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2115)
Following is my AndroidManifest file-
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mypackage.hobnobpal"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<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="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.NETWORK" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="com.google.android.c2dm.permission.RECIEVE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<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_CONTACTS" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.WRITE_CALENDAR" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<permission
android:name="com.mypackage.quickevent.pushnotification.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.mypackage.quickevent.pushnotification.permission.C2D_MESSAGE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:largeHeap="true"
android:theme="#android:style/Theme.Light.NoTitleBar" >
<activity
android:name="com.mypackage.quickevent.LoginActivity"
android:label="#string/app_name"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.mypackage.quickevent.HomeActivity"
android:label="#string/title_activity_home"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.CreateAccountActivity"
android:label="#string/title_activity_create_account"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.mypackage.quickevent.SettingsActivity"
android:label="#string/title_activity_settings"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.UserHomeActivity"
android:label="#string/title_activity_user_home"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.UserProfileActivity"
android:label="#string/title_activity_user_profile"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.AddFriendActivity"
android:label="#string/title_activity_add_friend"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.mypackage.quickevent.CreateEventActivity"
android:label="#string/title_activity_create_event"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.mypackage.quickevent.WeatherLocationActivity"
android:label="#string/title_activity_weather_location"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.NightWeatherActivity"
android:label="#string/title_activity_night_weather"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.InviteGuestsActivity"
android:label="#string/title_activity_invite_guests"
android:screenOrientation="portrait" >
</activity>
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="#string/app_id" />
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<activity
android:name="com.facebook.LoginActivity"
android:label="#string/app_name"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Translucent.NoTitleBar" >
</activity>
<activity
android:name="com.mypackage.quickevent.FacebookLoginActivity"
android:label="#string/title_activity_facebook_login" >
</activity>
<activity
android:name="com.mypackage.quickevent.CalenderActivity"
android:label="#string/title_activity_calender"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.ViewEventActivity"
android:label="#string/title_activity_view_event"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" >
</activity>
<activity
android:name="com.mypackage.quickevent.ChatActivity"
android:label="#string/title_activity_chat"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.GuestChatListActivity"
android:label="#string/title_activity_guest_chat_list"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.ChatPageActivity"
android:label="#string/title_activity_chat_page"
android:screenOrientation="portrait"
android:theme="#style/CustomTheme" >
</activity>
<activity
android:name="com.mypackage.quickevent.FriendChatActivity"
android:label="#string/title_activity_friend_chat"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.ConversationChatActivity"
android:label="#string/title_activity_conversation_chat"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.ChangePasswordActivity"
android:label="#string/title_activity_change_password"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.NotificationPageActivity"
android:label="#string/title_activity_notification_page"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.EventsNotificationActivity"
android:label="#string/title_activity_events_notification"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.EventNotiActivity"
android:label="#string/title_activity_event_noti"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.FriendNotiActivity"
android:label="#string/title_activity_friend_noti"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.MyProfileActivity"
android:label="#string/title_activity_my_profile"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.GuestSelectActivity"
android:label="#string/title_activity_guest_select"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.ForgotPasswordActivity"
android:label="#string/title_activity_forgot_password"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.EventListActivity"
android:label="#string/title_activity_event_list"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.EventHomeActivity"
android:label="#string/title_activity_event_home"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.WeatherActivity"
android:label="#string/title_activity_weather"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.FriendsProfileActivity"
android:label="#string/title_activity_friends_profile"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.FriendListActivity"
android:label="#string/title_activity_friend_list"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.CheckInActivity"
android:label="#string/title_activity_check_in"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" >
</activity>
<activity
android:name="com.mypackage.quickevent.EditProfileActivity"
android:label="#string/title_activity_edit_profile"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickvent.pushnotification.RegisterActivity"
android:label="#string/title_activity_register"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickvent.pushnotification.MainActivity"
android:configChanges="orientation|keyboardHidden"
android:label="#string/app_name" >
</activity>
<receiver
android:name="com.mypackage.quickvent.pushnotification.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.mypackage.quickvent.pushnotification" />
</intent-filter>
</receiver>
<service android:name="com.mypackage.quickvent.pushnotification.GCMNotificationIntentService" />
<activity
android:name="com.mypackage.quickevent.MutualFriendsActivity"
android:label="#string/title_activity_mutual_friends"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.AddGuestActivity"
android:label="#string/title_activity_add_guest"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.AddHostActivity"
android:label="#string/title_activity_add_host"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.EditEventActivity"
android:label="#string/title_activity_edit_event"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.VerifyPasswordActivity"
android:label="#string/title_activity_verify_password"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.ChatDetailActivity"
android:label="#string/title_activity_chat_detail"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.DeleteEventActivity"
android:label="#string/title_activity_delete_event"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.EventCancelActivity"
android:label="#string/title_activity_event_cancel"
android:screenOrientation="portrait" >
</activity>
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<activity
android:name="com.mypackage.quickevent.GroupChatActivity"
android:label="#string/title_activity_group_chat"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.CheckedInGuestListActivity"
android:label="#string/title_activity_checked_in_guest_list"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.GuestListActivity"
android:label="#string/title_activity_guest_list"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.FragmentTabActivity"
android:label="#string/title_activity_fragment_tab"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.ContactsTabActivity"
android:label="#string/title_activity_contacts_tab"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.QuickventFriendsActivity"
android:label="#string/title_activity_quickvent_friends"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.ChatImageActivity"
android:label="#string/title_activity_chat_image"
android:screenOrientation="portrait" >
</activity>
<service
android:name="com.mypackage.quickevent.ChatService"
android:label="My Service"
android:screenOrientation="portrait" >
</service>
<activity
android:name="com.mypackage.quickevent.GroupChatDetail"
android:label="#string/title_activity_group_chat_detail"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.ParticipantsActivity"
android:label="#string/title_activity_participants"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.ActivityActivity"
android:launchMode="singleTop"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.mypackage.quickevent.ImageDisplayActivity"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.mypackage.quickevent.DetailActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.mypackage.quickevent.LikeDetailsActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" >
</activity>
<receiver
android:name="com.mypackage.quickevent.FriendChatActivity$ChatMessageReceiver"
android:enabled="true" >
<intent-filter>
<action android:name="action" />
</intent-filter>
</receiver>
<receiver
android:name="com.mypackage.quickvent.utilities.NetworkChangeReceiver"
android:label="NetworkChangeReceiver" >
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
<action android:name="android.net.wifi.WIFI_STATE_CHANGED" />
</intent-filter>
</receiver>
<activity
android:name="com.mypackage.quickevent.PostReviewActivity"
android:label="#string/title_activity_post_review"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.mypackage.quickevent.NewFragmentTabActivity"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".InvitedListActivity"
android:label="#string/title_activity_invited_list" >
</activity>
<activity
android:name=".ZoomActivity"
android:screenOrientation="locked" >
</activity>
<activity
android:name=".TermsAndCondition"
android:label="#string/title_activity_terms_and_condition"
android:screenOrientation="locked" >
</activity>
</application>
</manifest>
Please help, Thanks.
Did you try using a relative path to your activity in the manifest?
<activity
android:name=".LoginActivity"
If you are absolutely sure that path to your activity in the AndroidManifest.xml file is correct, try updating java to latest version (you can download it from here). It helped me once on my windows computer
I'm pretty sure that you forgot to add your activity in the manifest like this
<activity
android:name="com.mypackage.quickevent.LoginActivity"
android:label="#string/title_activity_event_noti"
android:screenOrientation="portrait" >
</activity>
I think your package name is wrong. it should be com.mypackage.quickevent instead of com.mypackage.hobnobpal
So replace,
package="com.mypackage.hobnobpal"
with
package="com.mypackage.quickevent"
And try again.
I have changed my project package name and i'm sure that all lettes are small letters and i don't have comments in the manifest but i got
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
<?xml version="1.0" encoding="utf-8"?>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="com.worklight.androidnativepush.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-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="com.myapp.android.locationapi.maps.permission.MAPS_RECEIVE" />
<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.CALL_PHONE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.HARDWARE_TEST"
tools:ignore="ProtectedPermissions" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-feature
android:name="android.hardware.camera.flash"
android:required="false" />
<application
android:name=".RTA"
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:largeHeap="true"
android:theme="#style/AppTheme" >
<service
android:name=".Services.OrientationService"
android:exported="false" />
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyADq1Ml1XMFdlmUHgvTtn-cT5rI3gVHC4M" />
<activity android:name="com.worklight.wlclient.ui.UIActivity" />
<activity
android:name=".Splash"
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=".Dashboard"
android:configChanges="locale"
android:label="#string/title_activity_dashboard"
android:screenOrientation="portrait" />
<activity
android:name=".Dashboard1"
android:configChanges="locale"
android:label="#string/title_activity_dashboard1"
android:launchMode="singleTask"
android:screenOrientation="portrait"
/>
<activity
android:name=".Language"
android:configChanges="locale"
android:label="#string/title_activity_language"
android:screenOrientation="portrait" />
<activity
android:name=".Kit_corner"
android:configChanges="locale"
android:label="#string/title_activity_kit_corner"
android:screenOrientation="portrait" />
<activity
android:name=".Kit_detailes"
android:configChanges="locale"
android:label="#string/title_activity_kit_detailes"
android:screenOrientation="portrait" />
<activity
android:name=".Madinati.Madinati"
android:configChanges="locale"
android:label="#string/title_activity_madinati"
android:imeOptions="flagNoExtractUi"
android:launchMode="singleTask"
android:screenOrientation="reverseLandscape" >
</activity>
<activity
android:name=".Parking.click_add"
android:configChanges="locale"
android:label="#string/title_activity_click_add"
android:screenOrientation="portrait" />
<activity
android:name=".TestAdaptersActivity"
android:label="#string/title_activity_test_adapters" />
<activity
android:name=".public_transport.view_nol_balance"
android:configChanges="locale"
android:label="#string/title_activity_view_nol_balance"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateVisible" />
<activity android:name=".pop_up.PopUp"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateVisible" />
<activity
android:name=".Base_activity"
android:configChanges="locale"
android:label="#string/title_activity_base_activity" />
<activity
android:name=".public_transport.view_my_balance"
android:configChanges="locale"
android:label="#string/title_activity_view_my_balance"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".salik.Top_up_salik"
android:configChanges="locale"
android:label="#string/title_activity_top_up_salik"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".salik.accept"
android:configChanges="locale"
android:label="#string/title_activity_accept"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" >
</activity>
<activity
android:name=".salik.choose_user"
android:configChanges="locale"
android:label="#string/title_activity_choose_user"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" >
</activity>
<activity
android:name=".public_transport.Fare_calculator"
android:configChanges="locale"
android:label="#string/title_activity_fare_calculator"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".public_transport.get_marker"
android:configChanges="locale"
android:label="#string/title_activity_get_marker"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".public_transport.get_fare"
android:configChanges="locale"
android:label="#string/title_activity_get_fare"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" >
</activity>
<activity
android:name=".Rotate_me"
android:configChanges="locale"
android:label="#string/title_activity_rotate_me"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".About_RTA.Walkthrough"
android:configChanges="locale"
android:label="#string/app_name"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".YouTubeWebView"
android:label="#string/title_activity_you_tube_web_view"
android:screenOrientation="portrait" />
<service
android:name=".Utils.GPSTracker"
android:enabled="true"
android:exported="true"
tools:ignore="ExportedService,InnerclassSeparator" />
<activity
android:name=".Parking.select_zone"
android:configChanges="locale"
android:label="#string/title_activity_select_zone"
android:screenOrientation="portrait" />
<activity
android:name=".Settings.Login"
android:configChanges="locale"
android:label="#string/title_activity_login"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".Settings.Register"
android:configChanges="locale"
android:label="#string/title_activity_register"
android:screenOrientation="portrait" />
<activity
android:name=".Parking.Add_plate"
android:configChanges="locale"
android:label="#string/title_activity_add_plate"
android:screenOrientation="portrait" />
<activity
android:name=".Settings.Myvehicles"
android:configChanges="locale"
android:label="#string/title_activity_myvehicles"
android:screenOrientation="portrait" />
<activity
android:name=".Settings.Mynol"
android:configChanges="locale"
android:label="#string/title_activity_mynol"
android:screenOrientation="portrait" />
<activity
android:name=".Settings.mysalik"
android:configChanges="locale"
android:label="#string/title_activity_mysalik"
android:screenOrientation="portrait" />
<activity
android:name="Settings.Mydrivinglicense"
android:configChanges="locale"
android:label="#string/title_activity_mydrivinglicense"
android:screenOrientation="portrait" />
<activity
android:name=".Settings.Notifications"
android:configChanges="locale"
android:label="#string/title_activity_notifications"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.View_fines_pay"
android:configChanges="locale"
android:label="#string/title_activity_view_fines_pay"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.guest_view_fines_pay"
android:configChanges="locale"
android:label="#string/title_activity_guest_view_fines_pay"
android:screenOrientation="portrait" />
<activity
android:name=".Parking.Top_up_parking_account"
android:configChanges="locale"
android:label="#string/title_activity_top_up_parking_account"
android:screenOrientation="portrait" />
<activity
android:name=".public_transport.nol_history"
android:configChanges="locale"
android:label="#string/title_activity_nol_history"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles_fines.mStore"
android:configChanges="locale"
android:label="#string/title_activity_m_store"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles_fines.Platenumber"
android:configChanges="locale"
android:label="#string/title_activity_platenumber"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.View_fines_pay_registered"
android:configChanges="locale"
android:label="#string/title_activity_view_fines_pay_registered"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.Renew_registration"
android:configChanges="locale"
android:label="#string/title_activity_renew_registration" />
<activity
android:name=".Driver.Renew_license"
android:configChanges="locale"
android:label="#string/title_activity_renew_license"
android:screenOrientation="portrait" />
<activity
android:name=".About_RTA.RTA_services"
android:configChanges="locale"
android:label="#string/title_activity_rta_services"
android:screenOrientation="portrait" />
<activity
android:name=".About_RTA.RTA_Info"
android:configChanges="locale"
android:label="#string/title_activity_rta__info"
android:screenOrientation="portrait" />
<activity
android:name=".About_RTA.Contact_RTA"
android:configChanges="locale"
android:label="#string/title_activity_contact__rt"
android:screenOrientation="portrait" />
<activity
android:name=".public_transport.TopUpNol"
android:configChanges="locale"
android:label="#string/title_activity_top_up_nol"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.GreenPoint.green_point_calc"
android:configChanges="locale"
android:label="#string/title_activity_green_point_calc"
android:screenOrientation="portrait" />
<activity
android:name=".SaveFiles"
android:configChanges="locale"
android:label="#string/title_activity_save_files"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.GreenPoint.green_calc_information"
android:configChanges="locale"
android:label="#string/title_activity_green_calc_information"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.GreenPoint.green_points_view"
android:configChanges="locale"
android:label="#string/title_activity_green_points_view"
android:screenOrientation="portrait" />
<activity
android:name=".Parking.RememberMyLocation"
android:configChanges="locale"
android:label="#string/title_activity_remember_my_location"
android:screenOrientation="portrait" />
<activity
android:name=".Driver.FAQ"
android:configChanges="locale"
android:label="#string/title_activity_faq"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.Test_center.view_test_center"
android:configChanges="locale"
android:label="#string/title_activity_view_test_center"
android:screenOrientation="portrait" />
<activity
android:name=".salik.topUp_location.SalikLocation_center"
android:configChanges="locale"
android:label="#string/title_activity_view_test_center"
android:screenOrientation="portrait" />
<activity
android:name=".Driver.EyeTest"
android:configChanges="locale"
android:label="#string/title_activity_eye_test"
android:screenOrientation="portrait" />
<activity
android:name=".About_RTA.Techniqal"
android:configChanges="locale"
android:label="#string/title_activity_techniqal"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden" />
<activity
android:name=".Vehicles.Test_center.Vehicle_test_center"
android:configChanges="locale"
android:label="#string/title_activity_eye_test"
android:screenOrientation="portrait" />
<activity
android:name=".About_RTA.Feedback"
android:configChanges="locale"
android:label="#string/title_activity_feedback" />
<activity
android:name=".Parking.top_up_parking.nnnnn"
android:configChanges="locale"
android:label="#string/title_activity_nnnnn" />
<activity
android:name=".About_RTA.All_RTA_Apps"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".ParkingZoneAndTiming"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".PayParkingFeesActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".FAQNolActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles_fines.FAQ_Vehicles"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".FAQDriversAndLicenseActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".FAQSalikActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".SalikTopUpLocationActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".RTA_termAndConditions"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".HowToPayFinesDriversAndLicensingActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".HowToPayFinesActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".HowToPayParkingFinesActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".MetroTimeTableActivity"
android:configChanges="locale"
android:label="#string/title_activity_metro_time_table"
android:screenOrientation="portrait" />
<activity
android:name=".DubaiBusGuidesActivity"
android:configChanges="locale"
android:label="#string/title_activity_dubai_bus_guides"
android:screenOrientation="portrait" />
<activity
android:name=".ComingSoon"
android:configChanges="locale"
android:label="#string/Comming_soon"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".ErrorConnectionPopUP"
android:label="#string/Comming_soon"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".Vehicles.TrafficFileNumberInfo"
android:configChanges="locale"
android:label="#string/title_activity_traffic_file_number_info"
android:screenOrientation="portrait" />
<activity
android:name=".LostAndFoundActivity"
android:configChanges="locale"
android:label="#string/title_activity_lost_and_found"
android:screenOrientation="portrait" />
<activity
android:name=".WayToTopUpYouSalik"
android:configChanges="locale"
android:label="#string/title_activity_way_to_top_up_you_salik"
android:screenOrientation="portrait" />
<activity
android:name=".LicenseType"
android:configChanges="locale"
android:label="#string/title_activity_license_type"
android:screenOrientation="portrait" />
<activity
android:name="Point_of_Interest.Point_of_interest"
android:configChanges="locale"
android:label="#string/title_activity_point_of_interest"
android:screenOrientation="portrait" />
<activity
android:name=".NotExpired"
android:configChanges="locale"
android:label="#string/title_activity_not_expired"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".Vehicles.Retry_again"
android:configChanges="locale"
android:label="#string/title_activity_retry_again"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".DubaiTramGuidesActivity"
android:configChanges="locale"
android:label="#string/title_activity_dubai_tram_guides" />
<activity
android:name=".PTLostAndFoundActivity"
android:configChanges="locale"
android:label="#string/title_activity_ptlost_and_found" />
<activity
android:name=".Vehicles.CollectionMap"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".kit_hello_activity"
android:configChanges="locale"
android:label="#string/title_activity_kit_hello_activity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4"></activity>
<activity
android:name=".dashboard_hello_activity"
android:configChanges="locale"
android:label="#string/title_title_dashboard_hello_activity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4"></activity>
<activity
android:name=".Madinati.Madinati_Map"
android:configChanges="locale"
android:label="#string/title_activity_madinati__map"
android:screenOrientation="reverseLandscape" />
<activity
android:name=".Madinati.Submit_Done"
android:configChanges="locale"
android:label="#string/title_activity_submit__done"
android:screenOrientation="reverseLandscape"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".ALHares.Hares_Submit_Done"
android:configChanges="locale"
android:label="#string/title_activity_hares__submit__done"
android:screenOrientation="reverseLandscape" />
<activity
android:name=".Parking.ClickAndParkPopUp"
android:configChanges="locale"
android:label="#string/title_activity_click_and_park_pop_up"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".About_RTA.RTAPrivacyPolicies"
android:label="#string/title_activity_rtaprivacy_policies" >
</activity>
<receiver android:name=".Recievers.SmsListener">
<intent-filter>
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>
</receiver>
<activity android:name=".Vehicles_fines.License_type" >
</activity>
</application>
any help ?
Your issue is that some of your activities are not prefixed with a .