DateTime picker FragmentManager exception - android

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

Related

Getting error while adding twilio chat library

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.

App is compatible with Jelly bean tab on play store but incompatible with Kitkat tab

I opened play store app on my tab has os jelly bean has option of downloading but another tab contain kitkat os saying app version is incompatible with this device. I am very confused. Image link of tab is this
https://www.dropbox.com/s/m2wf2ucm72lwquc/IMAG1827%20%281%29.jpg?dl=0
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.tact.sec"
android:installLocation="auto"
>
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true"
android:xlargeScreens="true"
/>
<uses-feature
android:glEsVersion="0x00020000"
android:required="false" />
<uses-permission
android:name="android.permission.INTERNET"
android:required="false" />
<uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE"
android:required="false" />
<uses-permission
android:name="android.permission.WRITE_CONTACTS"
android:required="false" />
<uses-permission
android:name="android.permission.CALL_PHONE"
android:required="false" />
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"
android:required="false" />
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"
android:required="false" />
<application
android:name=".App"
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme">
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="#string/google_api" />
<activity
android:name=".Splash"
android:screenOrientation="portrait"
android:theme="#style/Theme.TranslucentStatus">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".VoterSearch"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".Dashboard"
android:screenOrientation="portrait" />
<activity
android:name=".ULBVoter"
android:screenOrientation="portrait" />
<activity
android:name=".PrintSlip"
android:screenOrientation="portrait" />
<activity
android:name=".ContactUs"
android:screenOrientation="portrait" />
<activity
android:name=".AboutUs"
android:screenOrientation="portrait" />
<activity
android:name=".Circulars"
android:screenOrientation="portrait" />
<activity
android:name=".CircularPdf"
android:screenOrientation="portrait" />
<activity
android:name=".PhotoAlbum"
android:screenOrientation="portrait" />
<activity
android:name=".PhotoGallery"
android:screenOrientation="portrait" />
<activity
android:name=".MediaAlbum"
android:screenOrientation="portrait" />
<activity
android:name=".MediaGallery"
android:screenOrientation="portrait" />
<activity
android:name=".VideoGalleryActivity"
android:screenOrientation="portrait" />
<activity
android:name=".VideoPlayActivity"
android:screenOrientation="portrait" />
<activity
android:name=".PRIVoterSearch"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".PRIVoter"
android:screenOrientation="portrait" />
<activity
android:name=".PoliticalParty"
android:screenOrientation="portrait" />
<activity
android:name=".PriVoterSlip"
android:screenOrientation="portrait" />
<activity
android:name=".BLOROSOList"
android:screenOrientation="portrait" />
<activity
android:name=".SearchBLOROSO"
android:screenOrientation="portrait" />
<activity
android:name=".PRIVotingResultSearch"
android:screenOrientation="portrait" />
<activity
android:name=".PRIVotingResult"
android:screenOrientation="portrait" />
<activity
android:name=".CommissionersDesk"
android:screenOrientation="portrait" />
<activity android:name=".PRISingleResultCase" />
<activity android:name=".PRIGPWardWinners" />
<activity
android:name=".GISMapMarker"
android:screenOrientation="portrait" />
<activity
android:name=".SearchPPollingCenterMap"
android:screenOrientation="portrait" />
<activity
android:name=".ImportantForms"
android:screenOrientation="portrait" />
<activity
android:name=".ULBPSummary"
android:screenOrientation="portrait" />
<activity
android:name=".PriStats"
android:screenOrientation="portrait" />
<activity
android:name=".Publications"
android:screenOrientation="portrait" />
<activity
android:name=".PollingPercentageGPPG"
android:screenOrientation="portrait" />
<activity
android:name=".PRIReservationResult"
android:screenOrientation="portrait" />
<activity
android:name=".PRIReservationSearch"
android:screenOrientation="portrait" />
<activity
android:name=".WinnerList"
android:screenOrientation="portrait" />
<activity
android:name=".WinnerListShow"
android:screenOrientation="portrait" />
<activity
android:name=".PressRelease"
android:screenOrientation="portrait" />
<activity
android:name=".HorizontalBarChartActivity"
android:screenOrientation="landscape" />
<activity
android:name=".ActAndRule"
android:screenOrientation="portrait" />
<activity
android:name=".ActAndRuleListShow"
android:screenOrientation="portrait" />
<activity
android:name=".MobileSelectULBStats"
android:screenOrientation="portrait" />
<activity
android:name=".ULBStats"
android:screenOrientation="portrait" />
<activity
android:name=".SingleNewsView"
android:screenOrientation="portrait" />
<activity
android:name=".NewsList"
android:screenOrientation="portrait" />
<activity
android:name=".ElectionSymbol"
android:screenOrientation="portrait" />
<activity
android:name=".DistrictPlanningCommitteeActivity"
android:screenOrientation="portrait" />
<activity
android:name=".SingleNewsPdf"
android:screenOrientation="portrait" />
<activity
android:name=".LoadOrgnizationalStructure"
android:screenOrientation="portrait" />
<activity
android:name=".DistrictOffice"
android:screenOrientation="portrait" />
<activity
android:name=".DistrictOfficers"
android:screenOrientation="portrait" />
<activity
android:name=".Tenders"
android:screenOrientation="portrait" />
<activity
android:name=".SearchPPollingCenterULBMap"
android:screenOrientation="portrait" />
<activity
android:name=".GISULBMapMarker"
android:screenOrientation="portrait" />
<activity
android:name=".NewsActivity"
android:screenOrientation="portrait"
>
<intent-filter>
<action android:name="NewsActivity" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
/>
<service android:name="fcm.MyFirebaseMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<service android:name="fcm.MyFirebaseInstanceIDService">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service>
</application>
</manifest>
In the attached screenshot, it shows designed for phone, which means that it is supported by phone only.
Reason might be like the app does not make use of Honeycomb-specific features, which are included to support android tablets.

Android unable to go back to the previous activity

I'm working in news feed like activity which contain list view. The list view contains multiple videos, When i click the video view i open another activity and play the video in fullscreen mode. When i back pressed the activity cannot move to previous activity which contain listview.
when i pressed back button the same activity loads it doesn't go to
previous activity
Even i try
finish()
moveTaskToBack(true);
But no use....
Following codes are i have used
ListviewActivity
Intent intent = new Intent(MainActivity.this, VideoActivity.class);
intent.putExtra("VideoURL", MY_VIDEO_URL);
startActivity(intent);
VideoActivity
public class VideoActivity extends Activity {
VideoView videoSurface;
ProgressDialog pDialog;
#Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.video_activity);
ToastMsg.displayShortToastMsg("CREATE");
String videoUrl = getIntent().getStringExtra("VideoURL");
pDialog = new ProgressDialog(VideoActivity.this);
pDialog.setMessage("Loading Please Wait...");
pDialog.setIndeterminate(false);
pDialog.setCancelable(false);
pDialog.show();
videoSurface = (VideoView) findViewById(R.id.videoSurface);
try {
// Start the MediaController
MediaController mediacontroller = new MediaController(
VideoActivity.this);
mediacontroller.setAnchorView(videoSurface);
// Get the URL from String VideoURL
Uri video = Uri.parse(videoUrl);
videoSurface.setMediaController(mediacontroller);
videoSurface.setVideoURI(video);
} catch (Exception e) {
Log.e("Error", e.getMessage());
e.printStackTrace();
}
videoSurface.requestFocus();
videoSurface.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {
// Close the progress bar and play the video
public void onPrepared(MediaPlayer mp) {
pDialog.dismiss();
videoSurface.start();
}
});
}
#Override
public void onBackPressed() {
super.onBackPressed();
}
}
My Manifest File
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:uses-implied-permission="http://schemas.android.com/apk/res-
auto"
package="com.stage.lookara"
android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<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-feature android:name="android.hardware.camera" />
<uses-permission android:name="android.permission.READ_PROFILE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<application
android:name=".app.AppController"
android:allowBackup="true"
android:configChanges="orientation|keyboardHidden|screenSize"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/Theme.Social">
<activity
android:name=".DashBoard"
android:label="#string/app_name"
android:exported="true"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER"
/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT"
/>
<data android:host="www.youtube.com"
android:mimeType="text/*" />
</intent-filter>
</activity>
<activity
android:name=".SettingsPage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".Search"
android:screenOrientation="portrait" />
<activity
android:name=".LookaraNotification"
android:screenOrientation="portrait" />
<activity
android:name=".Login"
android:noHistory="true"
android:screenOrientation="portrait" />
<activity
android:name=".social.SocialActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan|adjustResize" />
<activity
android:name=".social.Comment"
android:screenOrientation="portrait" />
<activity
android:name=".social.ReplyComment"
android:screenOrientation="portrait" />
<activity
android:name=".social.SinglePost"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.DeviceDefault.Light.DialogWhenLarge.NoActionBar" />
<activity
android:name=".social.Profile"
android:screenOrientation="portrait" />
<activity
android:name=".social.FriendProfileView"
android:screenOrientation="portrait" />
<activity
android:name=".social.Friends"
android:screenOrientation="portrait" />
<activity
android:name=".social.IndividualChat"
android:screenOrientation="portrait" />
<activity
android:name=".social.Photos"
android:screenOrientation="portrait" />
<activity
android:name=".social.AlbumViewer"
android:screenOrientation="portrait" />
<activity
android:name=".social.VideoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"/>
<activity
android:name=".social.Event"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.JournalActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.SocialEditEvents"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.SocialFollowers"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.SingleEvent"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.Message"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".social.GalleryView"
android:screenOrientation="portrait" />
<activity
android:name=".social.Channel"
android:configChanges="orientation|keyboardHidden|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.MyChannel"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.ChannelCreateForm"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.ChannelMembers"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.ReportDetails"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.InvitesList"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.OtherUserChannelList"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.ChannelProfilePage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.Ask"
android:screenOrientation="portrait" />
<activity
android:name=".social.AskPost"
android:screenOrientation="portrait" />
<activity
android:name=".social.Journal"
android:screenOrientation="portrait" />
<activity
android:name=".PreviewActivity"
android:screenOrientation="portrait" />
<activity
android:name=".social.ChatMessages"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize|adjustPan" />f
<activity
android:name=".social.CreateSocial"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize|adjustPan" />
<activity
android:name=".social.OtherUserFriends"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.ProfessionalSearch"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.ProfessionalActivity"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.CreateProfessional"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".professinal.ProfessionalFollowers"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.ProfessionalJournals"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.ProfessionalConnections"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.FindProfessional"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.ProfessionalMessage"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".professinal.ProfessionalProfile"
android:screenOrientation="portrait" />
<activity
android:name=".common.Reviews"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".bussiness.BusinessSearch"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.Partners"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessSettings"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.CreateBusiness"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".bussiness.BusinessFollowers"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessJournals"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessList"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessMessage"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessProfile"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessOverView"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessSpecialOffer"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.ContactDetails"
android:screenOrientation="portrait" />
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden
|screenLayout|screenSize|orientation"
android:theme="#android:style/Theme.Translucent.NoTitleBar"
/>
<activity
android:name="com.darsh.multipleimageselect.
activities.AlbumSelectActivity"
android:theme="#style/MultipleImageSelectTheme">
<intent-filter>
<category android:name="android.intent.category.DEFAULT"
/>
</intent-filter>
</activity>
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="#string/FB_APP_ID" />
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<receiver
android:name=".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>
<service android:name=".common.LookaraService" />
<service android:name=".common.LookaraUploadService" />
</application>
</manifest>
Try with adding the following into manifest.
<activity
android:name=". VideoActivity"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity"/>
</activity>
Please check if you have added meta-data
<activity
android:name=".VideoActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="YOUR_PAKAGE_NAME.VideoListActivity" />
</activity>
for your VideoActivity in Manifest file.
VideoView may consumes the ACTION_DOWN event, and thus KEYCODE_BACK never fires into the dispatchKeyEvent().
From Context
use this code in your activity:
videoSurface.setMediaController(new MediaController(this){
public boolean dispatchKeyEvent(KeyEvent event)
{
if (event.getKeyCode() == KeyEvent.KEYCODE_BACK)
((Activity) getContext()).finish(); //finish current activity
return super.dispatchKeyEvent(event);
}
});
Try this :-
videoSurface.setMediaController(new MediaController(this){
public boolean dispatchKeyEvent(KeyEvent event){
if (event.getKeyCode() == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_UP)
finish();
return super.dispatchKeyEvent(event);
}
});

ClassNotFoundException for class CardView cause app crashing

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

Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED] after changing package name

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 .

Categories

Resources