Reputation: 437
I have created an app in .NET Maui using VS 2022 Community edition. I want to create a ".apk" package for the same. I changed the package type to ".apk" in the "Android" section of project settings. I changed the build type to "Release" from "Debug". When I build the application, I do not see any .apk anywhere in either Debug or Release folders.
I do not want a signed version of .apk. Just a simple barebones .apk.
What should I be doing or what am I doing wrong?
Upvotes: 2
Views: 9659
Reputation: 3917
This is what I am using: https://learn.microsoft.com/en-us/dotnet/maui/android/deployment/publish-cli
The setup is quite long, and you need to follow the instructions precisely.
Pay attention to the signing part. Otherwise, even if you get your APK, you will not be able to install it on your device.
(After that you can make a bat file, and publish with one click)
Upvotes: 3