Eclipse.Error.gen already exists but is not a source folder.

在Eclipse ADT来开发Android App时会遇到以下问题:
"myproject/gen already exists but is not a source folder. Convert to a source folder or rename it"

解决办法是:

    1.Right click on the project and go to "Properties"
    2.Select "Java Build Path" on the left
    3.Open "Source" tab
    4.Click "Add Folder..." and check "gen" and "src"

 

 


Reference

1.

http://stackoverflow.com/questions/9532045/gen-already-exists-but-is-not-a-source-folder

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。