Getting IllegalStateException on button click

后端 未结 4 1126
梦谈多话
梦谈多话 2020-12-04 01:51

On clicking a button to migrate to another activity, the app crashes and log shows:

java.lang.IllegalStateException: Could not execute method for android:onC         


        
4条回答
  •  不知归路
    2020-12-04 02:33

    Above answers are correct, but also double check to register your class in Manifest.

     
    
            
    

    .Downloaded is your class name above.

提交回复
热议问题