6

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”.

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”

Where else do I need to change the app name to ”MyBooks” so it everywhere gets displayed as ”MyBooks”?

Ola Ström
  • 4,136
  • 5
  • 22
  • 41
D V
  • 211
  • 6
  • 13
  • 3
    Possible duplicate of [Xamarin.Forms change Android application name](https://stackoverflow.com/questions/44613974/xamarin-forms-change-android-application-name) – Diego Rafael Souza Mar 27 '18 at 00:28

2 Answers2

4

Android

1 Right click on Android project and select properties from there select Android Manifest and change your Application name

enter image description here

2 Change your MainActivity Label Text

enter image description here

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

enter image description here

Note: You can change your package name and Bundle identifier name as well

Dinesh Falwadiya
  • 769
  • 5
  • 20
0

Open Info.plist file in iOS directory and change your app name.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
   <dict>
      ...
      <string>YOUR APP NAME</string>
      ...
   </dict>
</plist>
Zaur
  • 47
  • 6
  • From Review: Please provide more details to the solution you are proposing. Otherwise this post does not seem to provide a [quality answer](https://stackoverflow.com/help/how-to-answer) to the question. Please either edit your answer, or just post it as a comment to the question. – sɐunıɔןɐqɐp Jul 28 '18 at 08:44
  • And in UWP it is Project Properties, Application, Package Manifest, Display name. – Charles Apr 29 '21 at 14:18