Gradle assemble of an Android project failed, can't find R.txt

前端 未结 4 1992
余生分开走
余生分开走 2021-01-04 17:43

Sorry for my poor English. I\'m trying to migrate my project to Gradle with Android Studio, but currently the build fails during processDebugResources.

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-04 18:44

    Solved. The reason is that the AndroidManifest.xml file had something wrong, but gradle(or lint?) didn't figure it out. Thus the R.txt file couldn't be generated. As soon as I amended the AndroidManifest.xml file, the problem was gone. Sorry again for my poor English.

提交回复
热议问题