0
在我的离子应用程序中,我想要离子生成我的图标。所以我在我的项目目录中有一个大小为192x192的resources/android/icon.png。离子图标生成器问题
我在CLI做的步骤:
cordova platform add android
ionic resources --icon
这样,我得到 “资源/安卓/图标” 目录。问题是目录是空的。
ionic info
给出了下面的输出:
我config.xml中的样子:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget id="com.ionicframework.test" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Test</name>
<description>
Test
</description>
<author email="[email protected]" href="http://example.com.com/">
Your Name Here
</author>
<content src="index.html"/>
<access origin="*"/>
<preference name="webviewbounce" value="false"/>
<preference name="UIWebViewBounce" value="false"/>
<preference name="DisallowOverscroll" value="true"/>
<preference name="SplashScreen" value="none"/>
<preference name="android-minSdkVersion" value="16"/>
<preference name="BackupWebStorage" value="none"/>
</widget>
(如果我删除我的本地的icon.png和运行ionic platform add android
比它下载默认图标和飞溅。)
因此th问题是为什么图标目录是空的?
图标和启动画面在构建时添加到android –