[PhoneGap專案路徑]\www\res\icon\
[PhoneGap專案路徑]\platforms\android\res\
Android
請修改原本的PhoneGap config.xml
尋找(Crtl+F): <icon gap:platform="android"
取代: gap:qualifier => density
修改前:iOS
iOS的設定值不需要特別修改
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<icon src="www/res/icon/android/icon-36-ldpi.png" density="ldpi" />
<icon src="www/res/icon/android/icon-48-mdpi.png" density="mdpi" />
<icon src="www/res/icon/android/icon-72-hdpi.png" density="hdpi" />
<icon src="www/res/icon/android/icon-96-xhdpi.png" density="xhdpi" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<icon src="www/res/icon/android/icon-36-ldpi.png" density="ldpi" />
<icon src="www/res/icon/android/icon-48-mdpi.png" density="mdpi" />
<icon src="www/res/icon/android/icon-72-hdpi.png" density="hdpi" />
<icon src="www/res/icon/android/icon-96-xhdpi.png" density="xhdpi" />
</platform>
沒有留言:
張貼留言