Hi,
I ran the live wallpaper tutorial on the android mode 4.0 successfully but the next time I tried to build it the emulator returned an error in the resources merging part of the build, the part where it failed is pasted below:
:app:mergeDebugResources C:\Users\jef3j\AppData\Local\Temp\android2378723889172103376sketch\app\src\main\res\mipmap-mdpi\icon-48.png: Error: '-' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore C:\Users\jef3j\AppData\Local\Temp\android2378723889172103376sketch\app\src\main\res\mipmap-xhdpi\icon-96.png: Error: '-' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore C:\Users\jef3j\AppData\Local\Temp\android2378723889172103376sketch\app\src\main\res\mipmap-xxhdpi\icon-144.png: Error: '-' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore C:\Users\jef3j\AppData\Local\Temp\android2378723889172103376sketch\app\src\main\res\mipmap-xxxhdpi\icon-192.png: Error: '-' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore :app:mergeDebugResources FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':app:mergeDebugResources'. > C:\Users\jef3j\AppData\Local\Temp\android2378723889172103376sketch\app\src\main\res\mipmap-mdpi\icon-48.png: Error: '-' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore C:\Users\jef3j\AppData\Local\Temp\android2378723889172103376sketch\app\src\main\res\mipmap-xhdpi\icon-96.png: Error: '-' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore C:\Users\jef3j\AppData\Local\Temp\android2378723889172103376sketch\app\src\main\res\mipmap-xxhdpi\icon-144.png: Error: '-' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore C:\Users\jef3j\AppData\Local\Temp\android2378723889172103376sketch\app\src\main\res\mipmap-xxxhdpi\icon-192.png: Error: '-' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore
I should add that I am not using or adding my own icons, just trying to standard build using the default template icons supplied by processing. It appears that Gradle will not allow icon names with a hyphen (e.g. icon-48.png).
Does anyone have any ideas that might help? Thanks if possible,
poly