我的祖母配置
sourceSets {
main {
res.srcDirs =
[
'src/main/res/layouts/ChatLayout',
'src/main/res/layouts/',
'src/main/res'
]
}
}
我尝试应用grandle更改时出现的错误
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'
我也收到错误&#39; URI未注册&#39;在所有文件中。 出现错误是因为xml文件位于文件夹布局而不是布局中,但我认为Grandle应该处理它?</ p>