IntelliJ IDEA duplicate class R.java and BuildConfig.java

The reason, the original Eclipse program automatically generated Gen folder, in the introduction, IntelliJ also generates generated own R []. Cause duplicate errors.

The solution, click on the right side of the fork, remove the gen, as shown in Fig.

Posted by Lambert at March 23, 2014 - 9:07 AM