Android 多选项卡或“更多信息”应用程序详细信息中的徽标外观不好
这是我第一次介绍一个徽标,我想知道当外观徽标when is multi tab或在more info应用程序details中出现Fatter徽标时是否存在缺陷,以及是否有任何方法可以替换我的Fatter徽标。有关更多详细信息,我使用此软件包插入徽标Android 多选项卡或“更多信息”应用程序详细信息中的徽标外观不好,android,flutter,flutter-dependencies,Android,Flutter,Flutter Dependencies,这是我第一次介绍一个徽标,我想知道当外观徽标when is multi tab或在more info应用程序details中出现Fatter徽标时是否存在缺陷,以及是否有任何方法可以替换我的Fatter徽标。有关更多详细信息,我使用此软件包插入徽标 我发现模拟器可以正常工作,但当我在手机上安装时,我在这篇文章中报告的问题仍然在发生 安卓清单 <manifest xmlns:android="http://schemas.android.com/apk/res/android" packag
我发现模拟器可以正常工作,但当我在手机上安装时,我在这篇文章中报告的问题仍然在发生 安卓清单
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.candicemusic.candice">
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="Candice"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>
对于android端:您可以遵循以下步骤。因为它解释了如何更改android图标
如果您需要进一步的帮助/eaiser方法:您可以使用此方法
只需上传您拥有的图标图像,并根据需要对其进行自定义,然后下载文件,解压并在\project\u path\android\app\src\main\
中使用replace进行复制即可
对于ios,您可以从xcode获取图标并将其插入,这是因为您可能没有在AndroidManifest.xml中更新应用程序的徽标
在:一个命令行工具,它简化了更新颤振应用程序启动器图标的任务
1.设置配置文件
将颤振启动器图标配置添加到pubspec.yaml或创建一个名为颤振启动器图标.yaml的新配置文件。
开发依赖项:
抖动启动程序图标“^0.7.3”
如果将配置文件命名为flatter_launcher_icons.yaml或pubspec.yaml以外的名称,则需要在运行包时指定文件名
flutter pub get
flutter pub run flutter_launcher_icons:main -f <your config file name here>
flutter pub get
flutter pub run flutter_launcher_icons:main
____________________________
如果你有任何疑问,请在这个答案的评论中告诉我,如果这个答案对你有帮助,不要忘记接受并投票。祝你度过愉快的一天:)做了5次,但遇到了同样的问题:(我发现模拟器可以正常工作,但当我在手机上安装我在这篇文章中报告的问题时,仍然在发生,并且从你的Android项目重新启动我的手机。你能找到你的应用程序中显示的Flitter徽标图标吗?你能告诉我该徽标的文件名并发布AndroidManifest的代码吗?)thin我在清单中找到的gs是:在android:name=“io.flatter.app.flatterApplication”
和android:name=“flatterEmbedding”
中,也在android:theme=“@style/LaunchTheme”
中,希望这能有所帮助
flutter pub get
flutter pub run flutter_launcher_icons:main