Android Activity ClassNotFoundException - tried everything

前端 未结 15 2140
有刺的猬
有刺的猬 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 12:44

    If you followed all the hints (checked the private Libraries etc.) and still have the bug. Check your manifest for this Line of code in the application-tag

        android:hasCode="false" 
    

    Remove it and be happy. (I was finally) :)

提交回复
热议问题