Activity class does not exist

后端 未结 18 1804
深忆病人
深忆病人 2020-12-15 16:39

Aaaargh! I don\'t know what\'s going on, but suddenly I can\'t launch my app. I\'m using IntelliJ and I keep getting this error. I thought maybe there was a typo somewhere i

18条回答
  •  时光说笑
    2020-12-15 17:21

    I had a problem with identical symptoms and following solved it in my case.

    1. If you're not already, use LogCat window to get more precise information about the exception than console offers.

    2. If you haven't already, check through your layout XML files in case you have a custom object and you're using the wrong path for a resource.

    3. If you haven't already, or you have to address the above, try cleaning your project and then building again.

提交回复
热议问题