I spent almost all day trying to figure it out I am not able to do so .
My project is all good when I deploy it in release mode when I try debug mode it just throws exception .
things I have tried in debug mode .
1 ) cleaned bin and debug and then run ,failed 2 ) checked for textview in splash screen removed it ,failed 3 ) changed my phone and used different phone it worked . 4 ) removed splash screen and launched directly an activity failed
I am using Motorola g5 plus
Any help would be highly appreciated . This is the first activity that I m loading
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:local="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:background="#FAF9F7"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:text="Welcome, Horace"
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16dp"
android:textColor="#525252"
android:gravity="bottom|center"
android:id="@+id/textView1"
android:layout_gravity="center_horizontal"
android:layout_marginTop="36dp"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp" />
<TextView
android:text="Are you ready to contribute your relationship information from Outlook so we can provide you with additional insights about your accounts, contacts and daily schedule?"
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16dp"
android:textColor="#444444"
android:gravity="center"
android:id="@+id/ShareTitleText"
android:layout_gravity="center_horizontal"
android:layout_marginTop="30dp"
android:layout_marginRight="40dp"
android:layout_marginLeft="40dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="bottom|center">
<ImageView
android:id="@+id/intro_img"
android:layout_width="360dp"
android:layout_height="180dp"
android:src="@drawable/contacts_selection_intro" />
<!-- <Button
android:text="Join the Lens Community"
android:textSize="14dp"
android:layout_width="fill_parent"
android:layout_height="65dp"
android:id="@+id/joinBtn"
android:layout_marginBottom="0dp"
android:layout_marginTop="0dp"
android:layout_marginLeft="0dp"
android:layout_marginRight="0dp"
android:textColor="#FFFFFF"
android:background="#229DCF" />
<Button
android:text="@string/stylish_text"
android:textSize="14dp"
android:layout_width="fill_parent"
android:layout_height="65dp"
android:id="@+id/learnBtn"
android:background="#000000"
android:textColor="#FFFFFF"
android:layout_marginBottom="0dp"
android:layout_marginTop="0dp"
android:layout_marginLeft="0dp"
android:layout_marginRight="0dp" />-->
<include
layout="@layout/BarButton"
android:id="@+id/joinBtn"
android:layout_width="fill_parent"
android:layout_height="65dp" />
<include
layout="@layout/BarButton"
android:layout_width="fill_parent"
android:id="@+id/learnBtn"
android:layout_height="65dp" />
</LinearLayout>
</LinearLayout>