Error: Source path does not exist: resources/android/icon/drawable-hdpi-icon.png

hi i started new project and run command ionic cordova platform add android@6.3.0 --save
and i got this error
Adding android project…
Creating Cordova project for the Android platform:
Path: platforms\android
Package: com.ipe.yogaclass
Name: Yoga_Class_App
Activity: MainActivity
Android target: android-25
Subproject Path: CordovaLib
Android project created with cordova-android@6.2.3
Error: Source path does not exist: resources/android/icon/drawable-hdpi-icon.png
detail its showing like package name and name are wrong its showing details of other app
it was working fine before some days please help me in this regard help will be appreciated its also showing wrong package name i am building on other project please help me in this regard

Hi Muhammad,

Can you provide a screenshot of the resources folder located in the root directory of your project?

Do you get this error when you install last version of android ? ( ionic cordova platform add android )

I tried many versions like 6.4.0, 7.0.0 ,6.3.0 but i am getting same on all versions

Hi,
try to run ionic cordova resources it should regenerate all the resources for iOS and android.

2 Likes

no it also not working
can any one help me

Are you running the command in the right folder?

obviously yes i am running in right folder

in config.xml change the above paths to windows style with backslashes. Like : “resources\android\icon\drawable-hdpi-icon.png”
rgrds