IllegalStateException when click on button in android hello world program

前端 未结 5 1800
耶瑟儿~
耶瑟儿~ 2021-01-19 16:06

I\'m new to android and I\'m trying to implement MyFirstApp given on android google developers site, So app contains one textbox and button, if you enter any text in textfie

5条回答
  •  时光说笑
    2021-01-19 16:33

    //Just change your manifest file, its not getting path of your "DisplayMessageActivity" for //sample as below :

     android:name="com.example.checkproject.DisplayMessageActivity"
    

    or

    android:name =".DisplayMessageActivity"
    

提交回复
热议问题