I am using Visual Studio tools for Apache Cordova.
I tested CLI 6.4.0 and unfortunately there is an error with RES SCREENS and RES ICONS. If I use CLI 6.3.1, this question disappears. To demonstrate this, I created a new project from scratch, added only the plug-in-plug-splashscreen (version 4.0.0) and replaced the original images on the screen with my own.
The problem occurs when I try to debug using a physical Android device connected via USB.
When creating the system, additional folders / files are automatically created (one new folder / file for each spray configuration that I have in my config.xml file), so in my case I get these new folders / files:
- Res / Hood-Ground-HDI / screen.png
- Res / Hood-Ground-ldpi / screen.png
- Res / Hood-Ground-MDPI / screen.png
- Res / Hood-Ground-xdpi / screen.png
- Res / hood-port-HDI / screen.png
- Res / hood-port-ldpi / screen.png
- Res / hood-port-mdpi / screen.png
- Res / hood-port-xdpi / screen.png



The PNG files reflect what I have in the RES / SCREENS / ANDROID folders.
At the same time, the assembly copies these new folders (described above) to the PLATFORMS / ANDROID / RES folder. The problem is that the images inside these folders are not the original ones that I selected in my project, but they are the Cordova logo (the one that is added by default when creating a new project).

source
share