我开发了一个 Xamarin.Forms 应用程序,我最初将项目命名为modelapp".现在,在发布 Android 应用程序时,我将MainActivity.cs"文件中的应用程序名称更改为MyBooks".
I have developed an Xamarin.Forms app and I initially named the project "modelapp". Now when releasing the Android app I changed the name of the app in "MainActivity.cs" file to "MyBooks".
但是在安装apk文件时,它仍然显示为您要安装modelapp吗?"即使应用程序崩溃,它也会显示为modelapp.android is crashing"
But when installing the apk file it is still displaying as "do you want to install modelapp?" And even when the app is crashing it is displayed as "modelapp.android is crashing"
我还需要在哪里将应用名称更改为MyBooks",以便在任何地方都显示为MyBooks"?
Where else do I need to change the app name to "MyBooks" so it everywhere gets displayed as "MyBooks"?
推荐答案Android
1 右键单击 Android 项目,然后选择 属性 从那里选择 Android 清单 并更改您的应用程序名称
1 Right click on Android project and select properties from there select Android Manifest and change your Application name
2 更改您的 MainActivity 标签文本
2 Change your MainActivity Label Text
iOS
在您的 iOS 项目搜索文件 info.plist 中,使用 iOS 清单编辑器 打开它,然后选择 应用程序 选项卡并在此处更改应用程序名称
In your iOS project search file info.plist and open it with iOS Manifest Editor and select Application tab and change application name here
注意:您也可以更改包名称和捆绑标识符名称
Note: You can change your package name and Bundle identifier name as well
更多推荐
如何更改 Xamarin.Forms 中的应用程序名称?
发布评论