I started a new project on Android Studio with "Create Activity" checked and then selected "Balnk Activity" with navigation type "Scroolable Tabs + Swipe".
Then I tried to modify the generated "fragment_main_dummy.xml" layout to set an id to the root Relative Layout.
When I try to run the project I get the following compile error:
...\Test1\build\res\all\debug\layout\fragment_main_dummy.xml Gradle: String types not allowed (at 'id' with value 'test'). Even if I reset the changes the error persists. Only by manually editing the mentioned file can the problem be resolved.
So the questions are:
- Why are all the res files copyed to the build\res\all\debug folder?
- Why aren't these files updated when I modify the actual file in the src folder?