gen already exists but is not a source folder. Convert to a source folder or rename it

1.错误:gen already exists but is not a source folder. Convert to a source folder or rename it.

2.解决方法:右键工程-选择属性-选择Java  Builder Path-打开source-点击Add Folder-检查gen and click o k and ok again-Fix project properties
原文地址:https://www.cnblogs.com/jiayonghua/p/2699605.html