Android - Activity Not Found Exception

前端 未结 13 1794
春和景丽
春和景丽 2020-11-30 10:05

I am using startActivity to call another Activity and I get the \"Activity Not Found Exception\". Here is my code:

  TextView textView = (TextView) itemClic         


        
13条回答
  •  离开以前
    2020-11-30 10:38

    You certainly forgot to declare the activity in the manifest file AndroidManifest.xml as follows (you need to inject the value you actually got):

       
            
        
    

提交回复
热议问题