gen already exists but is not a source folder

前端 未结 15 1185
深忆病人
深忆病人 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-23 00:01

    This happens because your .classpath file got wiped out somehow. This file contains all the information from the Java Build Path tab under Project Properties. You could add in all information manually but there's an easier way of fixing this problem.

    If you have a copy of the .classpath file on your machine, you can just copy and paste it into your project directory.

提交回复
热议问题