Apps unfortunetrly app has stoped in emulator

I have two activities in my project, the error is only when I open a second activity first. In line 12 when I change the name then it stops. but with Mainactivity it works.

Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.ujjval.dateandtimepicker">

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/Theme.AppCompat">
       <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
               <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>

            android:name=".secondactivity"
            android:label="@string/app_name"/>
        </activity>

   </application>

</manifest>
 
Top