加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-14 14:49:19 所属栏目:百科 来源:网络整理
导读:我使用flutter create testapp创建了应用程序. 现在,我想将App名称从“testapp”更改为“My Trips Tracker”.我怎样才能做到这一点 ? 我已经尝试从AndroidManifest.xml进行更改并且它已经改变了但是有没有一种方法可以实现这一点? 解决方法 Flutter文档指
我使用flutter create testapp创建了应用程序.
现在,我想将App名称从“testapp”更改为“My Trips Tracker”.我怎样才能做到这一点 ?

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

解决方法

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

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

对于Android

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

Review the default App Manifest file AndroidManifest.xml located in
/android/app/src/main/ and verify the values are correct,
especially:

application: Edit the application tag to reflect the final name of the
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
navigator. Then,in the main view sidebar,select the Runner target.

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

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读