diff --git a/pages/docs/v3/guides/splash-screens-and-icons.md b/pages/docs/v3/guides/splash-screens-and-icons.md index 8b8e6c73..2c5514e0 100644 --- a/pages/docs/v3/guides/splash-screens-and-icons.md +++ b/pages/docs/v3/guides/splash-screens-and-icons.md @@ -22,6 +22,14 @@ resources/ ├── icon.png └── splash.png ``` +In order to fix the errors reported in this StackOverFlow thread: https://stackoverflow.com/questions/66026629/error-occurred-while-copying-resources-android-icon-mdpi-foreground-png, add the following in `resources/android` folder: + +``` +resources/ +|--android/ +|----icon-foreground.png +|----icon-background.png +``` Next, run the following to generate all images then copy them into the native projects: @@ -29,3 +37,9 @@ Next, run the following to generate all images then copy them into the native pr cordova-res ios --skip-config --copy cordova-res android --skip-config --copy ``` + +The above command should result in something like the following (without errors): +``` +Generated 24 resources for Android +Copied 31 resource items to Android +```