I just update to new version of Android Studio and my app stop this displaying in the preview screen.
The error that I get is this:
Error:Execution failed for task ':app:mergeDebugResources'.
C:\Users\So BE\AndroidStudioProjects\SustainableBusinessCard\app\src\main\res\drawable\SDlogo_black.jpg: Error: 'S' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore
I try to change the name of image "SDlogo_black" to "sdlogoblack", but it still does not work, following the suggestion of this question
Any help will be appreciated it.
According to docs, while naming to resources in Android SDK you have to name it in only lowercase a-z, 0-9 or underscore
. After naming resource according to docs, just clean and rebuild your project.