1. Are you ready for the Galaxy S20? Here is everything we know so far!

unfortunetrly app has stoped in emulator

Discussion in 'Android Development' started by ujjval rathod, Jul 2, 2017.

  1. ujjval rathod

    ujjval rathod Newbie
    Thread Starter

    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 (Text):
    1. <?xml version="1.0" encoding="utf-8"?>
    2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    3.     package="com.example.ujjval.dateandtimepicker">
    4.  
    5.     <application
    6.         android:allowBackup="true"
    7.         android:icon="@mipmap/ic_launcher"
    8.         android:label="@string/app_name"
    9.         android:roundIcon="@mipmap/ic_launcher_round"
    10.         android:supportsRtl="true"
    11.         android:theme="@style/Theme.AppCompat">
    12.        <activity android:name=".MainActivity">
    13.             <intent-filter>
    14.                 <action android:name="android.intent.action.MAIN" />
    15.                <category android:name="android.intent.category.LAUNCHER" />
    16.             </intent-filter>
    17.  
    18.             android:name=".secondactivity"
    19.             android:label="@string/app_name"/>
    20.         </activity>
    21.  
    22.    </application>
    23.  
    24. </manifest>
    25.  
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...
Similar Threads - unfortunetrly app has
  1. tinker123
    Replies:
    1
    Views:
    11
  2. aklilu medhin
    Replies:
    3
    Views:
    163
  3. Maggie2226
    Replies:
    5
    Views:
    231
  4. netsense
    Replies:
    1
    Views:
    181
  5. App Update
    Replies:
    0
    Views:
    163
  6. Syam Kishore
    Replies:
    2
    Views:
    260
  7. App Update
    Replies:
    0
    Views:
    179
  8. App Update
    Replies:
    0
    Views:
    210
  9. App Update
    Replies:
    0
    Views:
    186
  10. jonathan116
    Replies:
    3
    Views:
    309

Share This Page

Loading...