How do I resolve a “'generateDebugSources' not found in project” error?

前端 未结 8 1128
囚心锁ツ
囚心锁ツ 2021-02-07 07:36

I was trying to add a dependency to my application and I accidentally modified the wrong build.gradle file and now my application no longer builds correctly.

This is my

8条回答
  •  囚心锁ツ
    2021-02-07 08:21

    I faced the same problem. This error occured because I unknowingly deleted the app build.gradle file ,so I created a new build.gradle file in my app directory and placed all the required code there then synced this file .The project successfully build after this.

提交回复
热议问题