Unable to instantiate activity… Caused by ClassNotFoundException

前端 未结 4 972
无人及你
无人及你 2020-12-17 23:46

After converting a perfectly working application to a library (including its Activity class!), I am trying to create an application that uses that entire library by simply s

4条回答
  •  暖寄归人
    2020-12-18 00:10

    I had the same error in one of my projects and thought that I can share how I fixed mine.

    At some point of my project I had to change one of the package names I am using where all my Activity classes are situated. When I did, I forgot to update the AndroidManifest which caused me the same error. Updating this fixed it.

提交回复
热议问题