解决IntelliJ IDEA  duplicate class R.java and BuildConfig.java

产生原因,原来的Eclipse项目自动生成了gen文件夹,在导入后,IntelliJ又生成了自己的r【generated 】。导致了duplicate错误。

解决办法,点击右边的叉号,删除gen,如图所示。

相关文章:

  • 2021-07-19
  • 2021-10-10
  • 2021-04-20
  • 2021-06-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
  • 2021-10-19
相关资源
相似解决方案