Error - The following splash screen or icon file does not exist: /res/icons/android/mipmap-hdpi/ic_launcher.png

While uploading the package on getting error for android

Error - The following splash screen or icon file does not exist: /res/icons/android/mipmap-hdpi/ic_launcher.png

PhoneGap (iOS / Android / Windows) cli-9.0.0 (5.0.1 / 8.0.0 / 7.0.0)

Thanks Abhishek Mishra

I also tried to many alternatives but no success till now.

  1. Changes the URL path as suggested in forum : but it not worked.
  2. Deleted Apps from portal and tried again.
  3. Provided minimum and maximum SDK versions in Config URL
  4. Changes CLI version in config.xml and again uploaded getting same problem

Error - The following splash screen or icon file does not exist: /res/icons/android/mipmap-hdpi/ic_launcher.png

Please rename ic_launcher file with launcher ( remove ic_ ) could be problem with server, also update the config.xml with the same name..

  <icon src="res/icons/android/mipmap-hdpi/launcher.png" density="hdpi" />
  <icon src="res/icons/android/mipmap-ldpi/launcher.png" density="ldpi" />
  <icon src="res/icons/android/mipmap-mdpi/launcher.png" density="mdpi" />
  <icon src="res/icons/android/mipmap-xhdpi/launcher.png" density="xhdpi" />
  <icon src="res/icons/android/mipmap-xxhdpi/launcher.png" density="xxhdpi" />
  <icon src="res/icons/android/mipmap-xxxhdpi/launcher.png" density="xxxhdpi" />

create package and upload on

it will work for you.

How can one fix the error Source path does not exist: icons/android , Please rename ic_launcher file with launcher ( remove ic_ ) could be problem with <icon src="res/icons/android/mipmap-hdpi/launcher.png" density="hdpi"  Since this morning my Android apps, with adaptive icons, are no longer building. Yesterday the app was building fine. Today, building the exact same zip i get an error:

its worked with renaming ic_launcher to launcher and same changed in config.xml

Build failing with cordova error, Error - The following splash screen or icon file does not exist: /res/icons/android/​mipmap-hdpi/ic_launcher.png. Updating resource files at .. Error: Source path does not exist: google-services.json The following splash screen or icon file does not exist: google-services

OK. After many hours I have figured this out. The problem is NOT to do with things being named ic_launcher etc. It is to do with the source path as declared in the config.xml file.

The build is in two parts, as a look at the log file shows (when you have an error). In the first part of the build, the various resources are copied to various places in order to be available to the application itself. This part is common to both ios and android. In the second, and last, part of the build for ios, Build does clever things to provide the icons which apple wants. And here is the problem. Currently, this part of the build CANNOT find files with this path: "www/res/icon...". However, it can find the files if you remove the www: "res/icon...".

So the fix: in the config.xml file section dealing with IoS icons, just give the path as "res/icon/ios" or similar. Omit the root "www/" part of the path.

Slight update! Just discovered in doing an Android build that the same also applies to the Android icon paths, as given in Android platform icon path definitions in config.xml file. They too have to be changed to "res/icon/androld.." from "www/res/icon/android..".

Sounds like this is something which should be fixed in Build. In this context, "www/res" and "res" are, or should be, identical. Please fix.

For the phonegap-plugin-push FCM i get "Error - T, Run, > Make Native App With PhoneGap CLI, …and I am getting this error… rejection (rejection id: 1): Error: Source path does not exist: icons/android/ldpi.​png \phonegap\node_modules\cordova-android\bin\templates\project\res\xml the splash screen and icon names according to the names in splash/android and  Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Works with ic_ removed in your files and in xml, not in target. This is my code that builds successfully

<preference name="android-minSdkVersion" value="22" />
<preference name="android-targetSdkVersion" value="22" />
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
    <application android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" />
    <uses-sdk android:minSdkVersion="22" android:targetSdkVersion="22" />
<resource-file src="www/res/icons/android/drawable/launcher_background.xml" target="app/src/main/res/drawable/ic_launcher_background.xml" />
<resource-file src="www/res/icons/android/drawable/launcher_foreground.xml" target="app/src/main/res/drawable/ic_launcher_foreground.xml" />
<resource-file src="www/res/icons/android/mipmap-anydpi-v26/launcher.xml" target="app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml" />
<resource-file src="www/res/icons/android/mipmap-anydpi-v26/launcher_round.xml" target="app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml" />
<resource-file src="www/res/icons/android/mipmap-hdpi/launcher.png" target="app/src/main/res/mipmap-hdpi/ic_launcher.png" />
<resource-file src="www/res/icons/android/mipmap-hdpi/launcher_round.png" target="app/src/main/res/mipmap-hdpi/ic_launcher_round.png" />
<resource-file src="www/res/icons/android/mipmap-mdpi/launcher.png" target="app/src/main/res/mipmap-mdpi/ic_launcher.png" />
<resource-file src="www/res/icons/android/mipmap-mdpi/launcher_round.png" target="app/src/main/res/mipmap-mdpi/ic_launcher_round.png" />
<resource-file src="www/res/icons/android/mipmap-xhdpi/launcher.png" target="app/src/main/res/mipmap-xhdpi/ic_launcher.png" />
<resource-file src="www/res/icons/android/mipmap-xhdpi/launcher_round.png" target="app/src/main/res/mipmap-xhdpi/ic_launcher_round.png" />
<resource-file src="www/res/icons/android/mipmap-xxhdpi/launcher.png" target="app/src/main/res/mipmap-xxhdpi/ic_launcher.png" />
<resource-file src="www/res/icons/android/mipmap-xxhdpi/launcher_round.png" target="app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png" />
<resource-file src="www/res/icons/android/mipmap-xxxhdpi/launcher.png" target="app/src/main/res/mipmap-xxxhdpi/ic_launcher.png" />
<resource-file src="www/res/icons/android/mipmap-xxxhdpi/launcher_round.png" target="app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png" />

About mortenb47839108, Build failing with cordova error - Error: Source path does not exist: www/res/​android/drawable-hdpi/notification_large_icon.png #76 them slightly for the latest Ionic), but am unable to run this on a device becuase I get the following errors: Since the www folder is .gitignored, that file was not found, breaking the build. mipmaps - used for icons only - mipmap vs drawable folders. drawables - used for images other than icons. According to this Google blogpost: It’s best practice to place your app icons in mipmap- folders (not the drawable- folders) because they are used at resolutions different from the device’s current density.

I have been building apps with PhoneGap everyday with no such error until few minutes ago when I try to upload an updated source for an app I previously built successfully just a few weeks ago.

I tried all the recommendations I could find online with no success then I decoded to dig into the codava log. Only then did I notice that it was trying to copy the file from outside the "www" directory, even when the config file tells it exactly where to find the files.

The Fix. I simply moved the resource folder to the root directory of my project and it solved the problem

Error: Source path does not exist: resources/android/icon/drawable , For the phonegap-plugin-push FCM i get "Error - The following splash screen or icon file does not exist: res. copy assets/app-icons/android/drawable-hdpi/​ic_launcher.png ../res/mipmap-hdpi/icon.png (new file). Teams. Q&A for Work. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.

Icons and Splash Screens, File exist but getting same error Error - The following splash screen or icon file does not exist: /res/icons/android/mipmap-hdpi/ic_launcher.png View more  If the company code prompt does not appear, close Sage MAS 90 and select a different TID for the workstation. Note: If the company code prompt does not appear, the TID is either being used by another workstation or has been used in the past and was replaced

Error: Source path does not exist: resources/android/icon/drawable-hdpi-icon.​png detail its showing like package name and name are wrong its  Yeah, I confirm the "CDVPlugin class (pluginName: ) does not exist" problem gets fixed when using CocoaPods 1.8.x. Glad to hear you have the plugin working on Capacitor. Going to close since the original problem was a CocoaPods problem and the plugin will be compatible soon.

android/icon-36-ldpi.png android/icon-48-mdpi.png android/icon-72-hdpi.png splash screen source files are located within the project's www/res/screens subdirectory. The following sections detail how to set up splash screens when working with Don't forget to install the SplashScreen plugin before trying to use the  I want to fix the problem and not just work around the problem.-----KP3116908: 1. Installed about 12-5-2015 - After install doing a left click on the bottom left corner start window icon did not work, but a right click would work. 2. Uninstalled about 12-6-2015 - did not want to experience any other problem so I uninstalled. 3.