英文:
How to get create an APK file in a MAUI project to can distribute the Android application?
问题
我有一个MAUI应用程序,我想创建APK文件以便分发,我不想在商店发布它。
我尝试了以下步骤:
- 我将项目设置为发布状态。
- 我在MAUI项目上右键单击,选择发布选项。
- 我点击分发按钮。
- 我选择Ad Hoc。
- 我创建了一个新的签名标识。
唯一的保存选项是.aac文件,但我想要.apk文件。
我该如何编译成.apk文件?
谢谢。
英文:
I have a MAUI application and I would like to create the APK file to can distribute it, I don't want to publish it in the store.
I have try this:
- I set the project to release.
- I right click in the MAUI project and choose publish option.
- I click distribute button
- I select Ad Hoc
- I create a new signing identity
The only option to save is a .aac file, but I would like to have the .apk file.
How could I compile an .apk file?
Thanks.
答案1
得分: 4
-
双击您的应用程序的
Properties
文件夹,然后将打开一个页面。 -
在左侧选择
Android
选项 ->Options
-> 将Android package format
设置为apk
。
英文:
You can try the following steps:
1.double click the Properties
folder of your app, then you will open a page.
2.select Android
option on the left -> Options
-> set Android package format
to apk
.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论