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

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

    Not mentioned here, so maybe it can help some people. Got this error and solved it by doing a gradle sync (somehow, android studio was not suggesting it).

    0 讨论(0)
  • 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 :)

    0 讨论(0)
提交回复
热议问题