android – 如何使用flutter更改应用程序显示名称构建?

android – 如何使用flutter更改应用程序显示名称构建?,第1张

概述我使用flutter create testapp创建了应用程序. 现在,我想将App名称从“testapp”更改为“My Trips Tracker”.我怎样才能做到这一点 ? 我已经尝试从AndroidManifest.xml进行更改并且它已经改变了但是有没有一种方法可以实现这一点? Flutter文档指出了您可以在哪里更改Android和iOS应用程序的显示名称.这可能是您正在寻找的: > 我使用Flutter create testapp创建了应用程序. @H_502_7@现在,我想将App名称从“testapp”更改为“My Trips Tracker”.我怎样才能做到这一点 ?

我已经尝试从AndroidManifest.xml进行更改并且它已经改变了但是有没有一种方法可以实现这一点?

解决方法 Flutter文档指出了您可以在哪里更改AndroID和iOS应用程序的显示名称.这可能是您正在寻找的:

> Preparing an Android App for Release@H_502_7@> Preparing an iOS App for Release

对于AndroID

您似乎已经在AndroIDManifest.xml中找到了这个作为应用程序条目.

RevIEw the default App Manifest file AndroIDManifest.xml located in@H_502_7@/androID/app/src/main/ and verify the values are correct,@H_502_7@ especially:

application: Edit the application tag to reflect the final name of the@H_502_7@ app.

对于iOS

请参阅RevIEw Xcode项目设置部分:

Navigate to your target’s settings in Xcode:

In Xcode,open Runner.xcworkspace in your app’s ios folder.

To vIEw your app’s settings,select the Runner project in the Xcode project@H_502_7@ navigator. Then,in the main vIEw sIDebar,select the Runner target.

Select the General tab. Next,you’ll verify the most important@H_502_7@ settings:

display name: the name of the app to be displayed on the home screen and elsewhere.

总结

以上是内存溢出为你收集整理的android – 如何使用flutter更改应用程序显示名称构建?全部内容,希望文章能够帮你解决android – 如何使用flutter更改应用程序显示名称构建?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1000510.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-21
下一篇 2022-05-21

发表评论

登录后才能评论

评论列表(0条)

保存