Android Activity ClassNotFoundException - tried everything

前端 未结 15 2126
有刺的猬
有刺的猬 2020-11-22 12:02

I\'ve just refactored an app into a framework library and an application, but now when I try and start the app in the emulator I get the following error stack trace:

相关标签:
15条回答
  • 2020-11-22 13:03

    remove classes.dex from bin and rebuild project

    0 讨论(0)
  • 2020-11-22 13:04

    While this won't be applicable for everyone, I recently had this problem because my project was failing to link with a shared library present on the device. I had forgotten to specify in my manifest that my application <uses-library>.

    0 讨论(0)
  • 2020-11-22 13:06

    Believe it or not, the fix for me was to remove the old version (2.0) of google analytics library from my project, after trying everything for at least 4 hours. Of course, an update of this library could be the solution also. So it could be a dependency jar versioning problem.

    0 讨论(0)
提交回复
热议问题