Unable to instantiate activity ComponentInfo

后端 未结 12 2285
甜味超标
甜味超标 2020-12-11 09:54

I am developing an application for Froyo as minimum version and Gingerbread as the target version. So, the manifest shows:



        
12条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-11 10:14

    I found this post having similar question and a lot of different possible solutions. However, in my case the problem was in my Android project settings. Somehow my project's Java build path was not linked to the source folder. And thats why my manifest file was unable to find the activity class. I solved this problem by linking the src folder. To do so, right click on the project "properties"->"Java Build Path". Then select the tab "Source". Check if your src folder is listed here. If not, click on "Add Folder..." and then navigate to your src folder of the project.

提交回复
热议问题