App keeps crashing. Can't find android.view.activity

160 views Asked by At

I've been making a texting app for fun, but when I started trying to remove the action title bar, the app suddenly started crashing when opened. I've looked everywhere but can't find a solution and I have no idea what the problem is. Any help would be appreciated.

Here's a link the .rar file of my app:

edit: Here's what the manifest file looks like

    <?xml version="1.0" encoding="utf-8"?>
    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
    <activity
        android:name=".ReceiveText"
        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=".SendText"
        android:label="@string/title_activity_send__text" >
    </activity>
    <activity
        android:name=".ChatBubble"
        android:label="@string/title_activity_chat_bubble" >
    </activity>
</application>

1

There are 1 answers

1
sahu On

put this two permission in manifest file

android.permission.READ_SMS
 android.permission.WRITE_SMS

Your manifest will look like below.

<uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="21" />
  <uses-permission android:name="android.permission.READ_SMS" />
    <uses-permission android:name="android.permission.WRITE_SMS" />