Generating iOS and Android icons in Cordova / PhoneGap

后端 未结 9 1656
执念已碎
执念已碎 2020-12-01 06:28

I have a freshly created Cordova project with the following config.xml setup (used the instructions from http://docs.phonegap.com/en/edge/config_ref_images.md.h

9条回答
  •  伪装坚强ぢ
    2020-12-01 06:49

    The config.xml settings for icons only works with the PhoneGap Build service. After adding both of your platforms you need to manually (or you can create a hook, but I haven't done that myself) place your icons in the correct paths.

    For iOS:

    PROJECT_PATH/platforms/ios/PROJECT_NAME/Resources/icons
    

    For Android:

    PROJECT_PATH/platforms/android/res/drawable
    

    Android has many res/drawable-* folders, use as applies to your app but at minimum add to res/drawable

    Then run cordova prepare or build or run

提交回复
热议问题