When publishing a MAUI app for iOS, I can either use
<IpaPackageName>IPA.ipa</IpaPackageName>
in the project file or add -p:IpaPackageName=IPA.ipa
to the dotnet publish
command to change the filename of the distribution package. I didn't find much documentation but it's obvious once you change it in the project properties:
What is the equivalent setting for Android? I can't find a way in the UI to change the APK filename.
In visual studio
1.Go to project
Properties
by right clicking the android project; Switch to tabAndroid
-Manifest
; You will see the Application package name just as follows, then you can modify the name of it.2.Go to Android Manifest.
You said that changes the application identifier as well. It seems to be the default setting. About it, you can refer to Configure the app module.
Some relevant cases about "change the package name", you can check Is it possible to change the package name of an Android app on Google Play? and Changing the package name of an upgraded Android application