davebren / ResourceNestingExample

This is a demo app for android that shows how to create nested resource directories using the gradle build system.
251 stars 38 forks source link

Could not find property 'res' on source set 'main'. in gradle.build file #5

Open umanusorn opened 8 years ago

umanusorn commented 8 years ago

Could not find property 'res' on source set 'main'.

in gradle.build file

androidovshchik commented 8 years ago

sourceSets must be under android

android {
   ....
   sourceSets {
      main {
          ...
      }
}
Logicbloke commented 8 years ago

Thanks a lot mr-cpp, that fixed my issue. Just found this thread through Google haha