My grandle config
sourceSets {
main {
res.srcDirs =
[
'src/main/res/layouts/ChatLayout',
'src/main/res/layouts/',
'src/main/res'
]
}
}
The error i got when i try to apply the grandle changes
Error:Execution failed for task ':app:mergeDebugResources'.
> /Users/Desktop/Projekt/app/src/main/res/layouts/ChatLayout/activity_group.xml: Error: Unsupported type 'LinearLayout'
/Users/Desktop/Projek/app/src/main/res/layouts/activity.xml: Error: Unsupported type 'include'
i also get the error 'The URI is not registered' in all files. The errors appear because the xml files are in the folder layouts and not layout, but i think Grandle should handle that ?