他们工作得很好。
解
要使用该对话框 ,您需要在Android Studio中打开 Android模块 。
Flutter.dev文章
菜单栏中的导航如下:
Tools〜>
Flutter〜>
Open Android module in AndroidStudio或右键单击
android项目视图中文件夹中的任何位置,然后选择
Flutter〜>
Open Android module inAndroid Studio。
现在,您 将能够 正常使用资产对话框。
如果仍然不起作用(不会发生)
如果您的对话框在 Flutter项目中* 不起作用 ,则可以轻松地在 Android项目中 创建 自适应图标
,然后复制所需的文件,这些文件是: __ ***
ic_launcher_background.xml
(可绘制),如果您选择一种颜色,我认为这位于 值中ic_launcher_foreground.xml
(drawable-v24)ic_launcher.xml
以及是否创建了它ic_launcher_round.xml
(mipmap-anydpi-v26)所有
ic_launcher.png
与ic_launcher_round.png
(纹理贴图,华电国际于纹理贴图,xxxhdpi)对传统支持。我想如果您的最低SDK要求高于 25 ,则不需要这些 __
这将为我覆盖所有内容。现在,在您的应用程序的
AndroidManifest.xml指定
android:icon="@mipmap/ic_launcher"中,即在您的
<application>标签中,如果需要的话
android:roundIcon:"@mipmap/ic_launcher_round"。



