Page needs updating for .NET 10

Open Beginner friendly
#3,103 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
android

Research direction

Update docs/android/deployment/publish-ad-hoc.md using the reported .NET 10 publishing workflow and the linked command-line publishing guidance. Start by checking the current article against the stated keystore, project-file, Archive Manager, and jarsigner steps. Done means the page accurately explains how to produce and verify a signed .apk.

Written by the indexing model from the issue text.

Description

:watch: Not Triaged dotnet-maui/subsvc dotnet-mobile/svc Pri2
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
Dominant language
No language data
Stars
282
Forks
265
Avg merge
2d 2h
Merged PRs (30d)
19

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/docs-maui

All issues in dotnet/docs-maui

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.