flutter - flutter项目在哪里存储android应用名称?
问题描述
如果 Flutter 项目的应用程序名称在 Android 中显示,我该如何更改App Info
?
这是带有 Android 应用名称的示例图片。
显然它与pubspeck.yaml
文件中定义的不一样。
解决方案
转到位置中的文件Android/app/src/main/android manifest.xml
在该文件中找到应用程序标记及其 android label 属性,如下所示
<application
android:name="io.flutter.app.FlutterApplication"
android:label="Hello World"<!-- Change this to the name you want --!>
android:icon="@mipmap/ic_launcher">
更改 android:label 属性,然后删除并重新安装应用程序
推荐阅读
- drake - GetInfeasibleConstraints 运行时错误:输出必须是标量类型浮点数
- javascript - Cloudinary 服务器端图片上传签名失败
- windows - gsutil cp 从云存储到远程 Windows 机器
- python - 在生成器函数中出现 StopIteration 错误
- c - 为什么声明 int (*f())[]; 不给出错误或警告?
- mysql - SQL 查询逐月了解有多少文档已过期
- java - java类文件运行时出错
- bash - wg-quick "wait: pid 9185 is not a child if this shell" on Debian 8.11
- python - 删除 Matplotlib,Python 中某些子图的 y 轴刻度标签
- r - 如何在 R XGboost 中找到每个预测的重要变量