android.content.ActivityNotFoundException:

前端 未结 24 1858
一生所求
一生所求 2020-11-22 10:38

I am getting this exception while I am trying to call an activity from another one. The complete exception is

android.content.ActivityNotFoundExcept

24条回答
  •  不思量自难忘°
    2020-11-22 11:22

    Hey, you need to use another form of Intent constructor. This will surely solve your issue within a second:

    Example:

    Intent inte=new Intent(getBaseContext(),"your class name with .class extension ");
    
    startActivity(inte);
    

    This works perfectly and I checked this code, its working properly.

提交回复
热议问题