Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions pages/docs/v3/guides/splash-screens-and-icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,24 @@ 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:

```bash
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
```