-
Notifications
You must be signed in to change notification settings - Fork 239
Open
Labels
Description
Type of issue
Outdated article
Description
The page at https://learn.microsoft.com/en-gb/dotnet/maui/android/deployment/publish-ad-hoc?view=net-maui-10.0 needs to be updated as the stated method for publishing an Android app no longer functions in the way described.
I have done a great deal of investigation and the method that works for .apk files is as follows:
- Follow the instructions in the article "Publish an Android app using the command line" to create a keystore.
- Using the steps described in the section "Define build properties in your project file" to create a PropertyGroup in the project file for the keystore values.
- Now select Publish from the drop-down menu for the application. This will launch the Archive Manager.
- Provided that the keystore settings in the PropertyGroup are correct, the app will complete the build and sign the android .apk file.
- Correct signing can be confirmed by running jarsigner on the command line. Navigate to the bin\Release\net10.0-android folder and run jarsigner against the .apk file. For example jarsigner -verify com.companyname.mymauiapp.apk. The output should contain Jar verified for a correctly signed file.
Page URL
https://learn.microsoft.com/en-gb/dotnet/maui/android/deployment/publish-ad-hoc?view=net-maui-10.0
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/android/deployment/publish-ad-hoc.md
Document Version Independent Id
b66ab819-b8b5-6f50-186d-886a0fb7e25c
Platform Id
1c05ef10-9451-929d-a1f3-09acae9f6907
Article author
Metadata
- ID: b66ab819-b8b5-6f50-186d-886a0fb7e25c
- PlatformId: 1c05ef10-9451-929d-a1f3-09acae9f6907
- Service: dotnet-mobile
- Sub-service: dotnet-maui