gen already exists but is not a source folder

前端 未结 15 1206
深忆病人
深忆病人 2020-12-22 23:37

I am developing my Android project, After I removed a unused library, I got the error:

myproject/gen already exists but is not a source fold         


        
15条回答
  •  余生分开走
    2020-12-22 23:54

    Solution :

    Step 1 :

    • Right click on the project and go to "Properties"
    • Select "Java Build Path"
    • Switch to "Source" tab Remove all sources from source folder on Build Path
    • Restart Eclipse

    Step 2 :

    • Right click on the project and go to "Properties"
    • Select "Java Build Path"
    • Switch to "Source" tab
    • Click "Add Folder..." and check "gen" and "src" source folder on Build Path
    • Restart Eclipse

    Final

    Build Project(s)

    Happy Coder :)

提交回复
热议问题