- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay,
I've put all the icons and splash image files in the package-assets (in root) directory and it's still keeps giving me the following error message whenever I try to select the images under the Projects Tab when I try to select Splash Screens and Icons:
Icons and splash screens must be located in a directory named ‘package-assets’ in the root of the project folder.
I'm 100% sure the splash screens are located in the correct folder, what's going on?
Thanks!
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The "package-assets" folder goes into the root of your project folder, not the root of your drive. In other words, inside your project folder. See the example below, which shows the top level directories inside a project folder named "hello-cordova":
Notice the "package-assets" folder is located at the same level as the "www" and "plugins" folder. Your project may not have every folder that is shown in this example, which is fine. In this example, I have an android, ios and windows folder, located inside that package-assets folder. This is not necessary, but is just the way I've chosen to organize the images inside the package-assets folder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Paul, thanks for the quick response.
Yes I meant that the package-assets is in the root of the project folder. And I'm still getting the error: "Icons and splash screens must be located in a directory named ‘package-assets’ in the root of the project folder." Here's a screenshot:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's very odd. Do you see the sub-folders when you attempt to add an icon or splash screen, or are you immediately sent to the error message dialog?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Paul,
So I can click through the sub-folders inside package assets. I can also select different sizes than the required one. For example if I select a 48x48 image, for a 36x36 icon block I actually get a the "size error" of:
The dimensions of the image you selected (48x48) must match the required dimensions (36x36) exactly
Okay, no prob, so I make sure I pick the right image size and I get the error:
Icons and splash screens must be located in a directory named ‘package-assets’ in the root of the project folder.
Yes, I'm finding it really odd too. Not too sure what I can do about it. I've restarted my mac, shut it down turned it back on... not sure whats going on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Donald -- I would confirm that the images are really PNG images and that the names actually match their sizes. I've seen situations where people simply renamed JPG files to PNG expecting that to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Paul.
Yes the .png images are .png images.
I started a new blank cordova + html5 project and the images work on the new blank project.
I may have to just copy my www folder over to the blank project --- I prefer not to have to do that though if there's a better way.
It worried it would really mess up my git history if I copied all my files to the new folder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Git uses relative paths, so you should be able to move your .git folder over to the new project and things should work fine. Not sure what's going on that would cause this. Are you "@Doddo" on Twitter? He was complaining of the same issue. Could you ZIP the entire project folder and send it to me via private message so I can take a look? I'll send you a private message.
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page