Ionic resources not generating windows

when i run ionic resources it generates ios and android icons just fine but never windows, and when i remove and add the windows platform it puts the cordova icon/splash and i get the following error

ionic platform add windows
Adding windows project…`

Creating Cordova Windows Project:

    Path: platforms\windows
    Namespace: com.ionicframework.placeevents820428

    Name: placeevents

Windows project created with cordova-windows@4.4.3

The following image was skipped because it has an unsupported size undefinedxundefined): resources\android\icon\drawable-xhdpi-icon.png

1 Like

Make sure there is a wp8 folder in the resources directory. Then rue ionic resources wp8, the CLI will then generate these assets:
ApplicationIcon.png (99px x 99px)
Background.png (159px x 159px)
SplashScreenImage.png (768px x 1280px)

@zoinky Visual Studio can generate icons and splashscreens for you.
<preference name=“windows-target-version” value=“10.0” /close tag
<preference name=“windows-phone-target-version” value=“10.0” /close tag

ionic platform add windows

ionic build windows

Project Directory > platforms > windows


Double Click it which will open it in Visual Studio (VS 2015 or 2017 must be installed).

find package.windows10.appmanifest file and Open it.

Click on Visual Assets Tab

Here you can Generate icons and SplashScreens.


I tried this, but I then get the message Platform wp8 not detected. Would you like to install it? I already have the windows 10 platform installed (platforms.json has “windows”: “5.0.0”), so didn’t want to install for Windows 8.

Not sure where to go from here…

I have this exact problem.