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

前端 未结 8 1302
囚心锁ツ
囚心锁ツ 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:24

    Check your settings.gradle. Your module gradle has to be include in your settings.gradle.

    include ':app'
    

    You must to change that include for the name of the module of your application. If not, try to remove that include, and restart the Android studio :)

提交回复
热议问题