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

后端 未结 12 1168
梦毁少年i
梦毁少年i 2020-12-28 14:26

I\'m trying to get an APK file from a Ionic project with the \"cordova build --release android\" command on a Mac and it doesn\'t work as I get

12条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-28 15:06

    Just try to find the path of this resource inside the Ionic structure. Sometimes, or in some versions, this path may be like this:

    Your resource:

    resources/android/icon/drawable-hdpi.png
    

    Try this:

    res/android/icon/drawable-hdpi.png
    

提交回复
热议问题