Skip to content

Page needs updating for .NET 10 #3103

@rvwilliams88

Description

@rvwilliams88

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:

  1. Follow the instructions in the article "Publish an Android app using the command line" to create a keystore.
  2. 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.
  3. Now select Publish from the drop-down menu for the application. This will launch the Archive Manager.
  4. Provided that the keystore settings in the PropertyGroup are correct, the app will complete the build and sign the android .apk file.
  5. 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

@davidortinau

Metadata

  • ID: b66ab819-b8b5-6f50-186d-886a0fb7e25c
  • PlatformId: 1c05ef10-9451-929d-a1f3-09acae9f6907
  • Service: dotnet-mobile
  • Sub-service: dotnet-maui

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions