我使用nativescript CLI "tns资源生成图标“命令来生成我的图标。一切看起来都很好但是..。不是所有的设备。当我用这个规范在android模拟器上安装我的应用时:
Device: pixel_xl (Google)
Target: Google APIs (Google Inc.)
Based on: Android API 28
Tag/ABI: google_apis/x86
我的应用程序图标看起来很奇怪。这类设备上的所有图标似乎都是圆圈的。我的图标是方形的,与背景,它是缩小和放置在这个圆圈与白色填充周围(这是丑陋的)。
我该怎么处理呢?当我使用另
试图获得在Cordova应用程序中工作的自适应图标(在文档中描述了 ),但当我尝试运行cordova run android时,应用程序从未运行,而CLI只输出以下内容
Android Studio project detected
The "path" argument must be of type string
这就是我如何在config.xml中定义图标的方式
<platform name="android">
<resource-file src="res/colors.xml" target="/ap