Android Studio cannot compile my test project, because it cannot resolve the resources. I tried some different settings for the res directory in the gradle.build, but nothing worked. Am I missing something simple here? It's a simple HelloWorld project with nothing individual in it.
I have the following project structure as it was created by the Android Studio wizard (newest release 0.2.5):
In my AndroidManifest.xml there is the usual app name reference: @string/app_name This string is defined in main/res/values/strings.xml (selected in the screenshot above).
The error I get from the IDE (Android Studio) is:
android-apt-compiler: [MyApplicationProject] C:\...\MyApplication\src\main\AndroidManifest.xml:6: error:
Error: No resource found that matches the given name (at 'label' with value '@string/app_name').
The error I get from the command line when i run "gradle tasks" is:
A problem occurred configuring root project 'MyApplicationProject'.
> Failed to notify project evaluation listener.
> Main Manifest missing from C:\...\MyApplicationProject\src\main\AndroidManifest.xml