【发布时间】:2020-07-01 03:57:07
【问题描述】:
这是我第一次引入logo,我想知道当外观Logo是multi-tab或more info app details中出现Flutter的logo时是否是一个bug,有没有什么办法可以替换我的 Flutter 徽标。有关更多详细信息,我使用此包插入徽标 flutter_launcher_icons。
我发现在模拟器中可以正常工作,但是当我在手机中安装时,我在这篇文章中报告的问题仍然存在
Android 清单
<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 flutter flutter-dependencies