I used to have all my files in one folder of each type but recently I found an option do it in multiple (at least I think so) - orig. question stackoverflow
I tried to do it the way they did in the answer but there was a note on android site that you should avoid specifying a directory which is a parent to one. And so I did the following:
The code doesnt fail grandle sync but I am not sure if it works because even if I change the name of "mipmap" to something that isnt in the res folder it will sync anyways..
Is this the correct way of writing sourceSets for multiple folders of the same type?
- Should I add the srcDirs add to each directory in res folder meaning font/layout/menu/raw/values
- Is this the correct way of setting a source directory for mipmap which has multiple qualifiers?
Thanks for any help
EDIT : @MEETPrajapati This error popped in one of the drawable files once I synced it.