Create a Signed and Publishable .NET MAUI Android App in VS2022

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 152

  • @jfversluis
    @jfversluis  2 роки тому +3

    Need to release your .NET MAUI iOS or Windows app? Check these!
    iOS: ua-cam.com/video/kpZi5xAvpZA/v-deo.html
    Windows: ua-cam.com/video/FNwv_W3TtSU/v-deo.html

    • @eaquirstech2293
      @eaquirstech2293 2 роки тому

      Hi Gerald Your content is helpfull thanks for content , i have to ask ,is there any way to animate splash screen in .net MAUI
      ???? Like Logo on splash screen animate from up side to centre or like start animate ffrom bottom to centre????

    • @jfversluis
      @jfversluis  2 роки тому

      @@eaquirstech2293 absolutely! You probably want to imitate a splash screen for that. Just add a simple splash screen with the first frame of the animation and then as the main page set a page that animates and navigate from there to the real main page

    • @eaquirstech2293
      @eaquirstech2293 2 роки тому

      @@jfversluis will it not take more time to load? as splash screen appears rapidly when app starts,....if i add anohter page and treat like a splash screen ,that page appears as mainpage instead of real main page will not appear rapidly when app will be start. need ur suggestion sir

    • @jfversluis
      @jfversluis  2 роки тому +1

      That’s how most apps do it :)

    • @eaquirstech2293
      @eaquirstech2293 2 роки тому

      @@jfversluis thanks ,ill try

  • @irynadoroshenko8832
    @irynadoroshenko8832 2 роки тому +8

    I like how quickly Maui grows and develops! Nice job )

    • @jfversluis
      @jfversluis  2 роки тому +5

      It’s going to be amazing! 🚀 thank you!

    • @sasino
      @sasino Рік тому

      @@jfversluis Now in 2023 it IS amazing 😭

    • @jfversluis
      @jfversluis  Рік тому

      @@sasino glad to hear that!

  • @nirojdahal7801
    @nirojdahal7801 2 роки тому +1

    Ever since I first watched your video, I am not missing any .Thanks Gerald for amazing video

    • @jfversluis
      @jfversluis  2 роки тому +1

      That is so nice of you Niroj! Really appreciate it! Thanks for sticking around!

  • @matanyamin1
    @matanyamin1 Місяць тому +1

    Thank you for this video! Clear and simple.

  • @balintnagy1293
    @balintnagy1293 Рік тому

    Thank you for the helpful video!
    One thing to note: you keep saying "you upload your bundle with the keystore", but that's probably wrong: you need a signing key. You create a key in a key store file and protect it with some passwords. Now you have a key in a key store. Then you tell VS how to get the KEY from that store, and as part of the build, VS uses the credentials provided in the csproj file to get the KEY from the store, sign the bundle with the KEY.
    Another point is, what I just learned from some Google materials, is that this is just the upload key (since the change from APK's to AAB's), and you actually need (another) signing key. For that, when creating a new app, the easiest way is to ask Google to create the signing key, hold on to it and sign on your behalf whenever you upload a new version of your bundle.
    Something I don't understand though, in terms of the pipeline, is that in the process you show in the video, you suggest to create a keystore file and not check in to source control. OK, I have to put it to some other place. Then I have to provide all the passwords and aliases in VS (source code), so that the build can access the key in that keystore and tell anyone who has access to the sources. Interesting.

    • @jfversluis
      @jfversluis  Рік тому +1

      I think some things have changed in this regard recently so there might be another way now.
      As for not checking in your key store to source control, you could but it makes it a bit more unsafe. Uploading it to the secrets will encrypt it and only useable from that pipeline together with the password that is also safely saved in an encrypted secret.

  • @xxx.xxx.xxx.xx1joker706
    @xxx.xxx.xxx.xx1joker706 2 роки тому +1

    Great job. This is good to keep showing command line instructions for CI/CD pipelines. Many thanks. 👌🏽👍🏽💯

  • @mtranchi
    @mtranchi 2 роки тому +1

    Thanks! I'm new to MAUI and also Google Play. Would be nice to see a follow up vid on how to get it in the Google app store.

    • @jfversluis
      @jfversluis  2 роки тому

      That site changes a lot. It will probably be outdated before I can release it 😅 I’ll think about it.

    • @mtranchi
      @mtranchi 2 роки тому

      @@jfversluis Lol. I'm familiar with other Google products where even their own docs don't keep up with their current way of doing things. Eh, don't bother on my account, I'll figure it out. I subscribed off this vid btw :)

    • @jfversluis
      @jfversluis  2 роки тому

      That’s awesome, thanks for the support! Let me know if you have any questions

  • @liberty2four2
    @liberty2four2 2 місяці тому +1

    I have a database on my app which makes the size of my app to 899 MB.
    I have no issues in publishing in Apps Store but in Play Store I got an error and it seems like there's a 200 MB limit :(
    I still cant find workaround or solution for the database is very crucial in my app

    • @jfversluis
      @jfversluis  2 місяці тому

      So I guess either make the database online and connect to it that way, or you have a way to deliver assets for your Android app at a later stage, you probably want to investigate that then

  • @parnican
    @parnican 2 роки тому +1

    Great summary video👌Love it, again :)

    • @jfversluis
      @jfversluis  2 роки тому +1

      Thank you so much Peter!

  • @jesusnaun1981
    @jesusnaun1981 2 роки тому +1

    Hi Gerald! Excelent video! Thank you for your future answer. I have created a maui blazor app and it works ok consuming public api's. But when I've generated apk following your steps. My app works except the options than consuming api's. I have tested with http and https but the same problem.... Any idea or thema for investigate please

  • @ScottMcEachern
    @ScottMcEachern Рік тому

    Thanks Gerald! I think I prefer the terminal approach rather than the UI workflow that I used with Xamarin.

    • @jfversluis
      @jfversluis  Рік тому

      That is why it's good to have options!

  • @sm-fh2qc
    @sm-fh2qc 2 роки тому +2

    @Gerald Versluis I have been following all of your MAUI tutorials, Thank you for the informative videos! one quick question - I tried copying over apk to my android phone and I get message - "App not installed as App isn't compatible with your phone". I have got Android 12 installed onto my S10+. Any advise?

    • @jfversluis
      @jfversluis  2 роки тому

      Thank you so much! You probably want to check your AndroidManifest for the values that you set for the Android SDK versions which you support

  • @vernkennedy6474
    @vernkennedy6474 2 роки тому +1

    Very clear. Thanks for the video.

    • @jfversluis
      @jfversluis  2 роки тому +1

      Great! Thanks for the feedback! iOS one is almost ready too!

  • @alifaraj467
    @alifaraj467 2 роки тому +1

    Thanks for the video, is it ok to publish a .net MAUI in VS studio preview or you recommend I wait ?

    • @jfversluis
      @jfversluis  2 роки тому

      That VS is in preview shouldn't matter for the quality of your app!

  • @nitrogenius
    @nitrogenius Рік тому

    I missed the part how you get the certification from android store and inject into maui app?

  • @dmitriyreznik7158
    @dmitriyreznik7158 2 роки тому +1

    Hi Gerald, thank you very much. I have a question though. You mentioned that if we already have a keystore, we should reuse it, so the app is recognized by the playstore. Which means that I don't use the terminal to create the keystore. Then where should I take that maui alias?
    Also, you said that what you do in the propertygroup can be done as a step in a pipeline. Could you please give me some reference to how this can be done? Thank you again!

  • @stebberg
    @stebberg 10 місяців тому

    Very nice guide! ❤️

  • @cptechno
    @cptechno Рік тому

    Missing topics that are essential...
    Hi! I viewed several of your videos regarding Visual Studio MAUI. However, I think there are some missing topics that are essential for developers.
    Regarding the deployment of Visual Studio MAUI app to Apple development system, these topics are missing:
    1) How to deploy MAUI app to Apple TestFlight Beta Testing (entire process)
    2) How to deploy MAUI app to Apple App Store (from IPA to store..entire process)

  • @mohamedtoria4385
    @mohamedtoria4385 2 роки тому +1

    First thanks for this great video
    Second would you make a video to teach us how to update our app and how to upload this update to the store

    • @jfversluis
      @jfversluis  2 роки тому +1

      I’ll see what I can do, but it should be much more than bumping your version number and going through these steps again. Oh and of course add new functionality to your app 😜

    • @mohamedtoria4385
      @mohamedtoria4385 2 роки тому

      @@jfversluis thanks ❤

  • @victorsanchez-u8r3x
    @victorsanchez-u8r3x Рік тому

    I'm exploring Azure DevOps integration for our MAUI Android app. If you're experienced in this area, could you provide insights or tips? Your guidance would be invaluable.

  • @sipepguru
    @sipepguru 2 роки тому +1

    Beautiful work , thanks for sharing

  • @Swarajcookingnfun
    @Swarajcookingnfun 2 роки тому

    Hey Gerald! Thanks for your quick response It helped me 🙂
    One more quick question, have you created any video on how we can import our sqlite db in Android tablet and access it in our android app

    • @jfversluis
      @jfversluis  2 роки тому

      Like this one?
      ua-cam.com/video/ftDq-leq5OM/v-deo.html

  • @thiemebr
    @thiemebr 8 місяців тому

    Great video, also if I publish can I do it as an upgrade of a previously published Google Play app that someone over Fiverr did for me?

    • @jfversluis
      @jfversluis  8 місяців тому

      As long as you use the same keystore to sign your app: yea

  • @JohanRobayo10
    @JohanRobayo10 16 днів тому

    i'm using MAUI .NET 8 but when i generated my APK the application doesn´t work. Someone have the same issue?

  • @alessandrocaliaro3418
    @alessandrocaliaro3418 Рік тому

    Thanks @Gerlad for the video. I don't understand why is not possible to create an apk in "ad hoc" distribution... does it will be restored in a next release? or can you do a little "addon" to explain how to generate a signed apk? Thanks

    • @jfversluis
      @jfversluis  Рік тому

      I’m afraid I don’t understand. This creates a signed one and you can distribute it outside of the store if that’s what you want to do

    • @alessandrocaliaro3418
      @alessandrocaliaro3418 Рік тому

      @@jfversluis Your video demonstrates how to produce an .aab file. This file cannot be copied to an Android device and installed, correct? (or I don't know how...) I need an apk for this, but the current VS2022 distribution procedure doesn't produce it

  • @N14-f5x
    @N14-f5x 3 місяці тому

    I got error: invalid dex file indices, expecting file 'classes?.dex' but found 'classes2.dex'.

  • @documentscabinet894
    @documentscabinet894 7 місяців тому

    Thanks, really useful video.

  • @dakoe
    @dakoe 2 роки тому

    Hellow Gerald, nice video! Question, is this same procedure uploading Xamarin Forms Android App to Google Store? Thanks

    • @jfversluis
      @jfversluis  2 роки тому

      Good question Oscar! Yes, this actually didn't change that much so this should definitely also work for Xamarin.Forms :)

  • @schulz5patrick
    @schulz5patrick 2 роки тому

    Thank you! I actually questioned how it will be done a few days ago!
    But... by any chance.. do you know how to create a simple custom multi-project template like Xamarin.Forms with its PCL project? It seems microsoft docs on vstemplate are not up-to-date... At least it doesn't work with VS2022 :)

    • @jfversluis
      @jfversluis  2 роки тому +1

      In a PCL project? I don't think that's still a thing, so I wouldn't be surprised if that's not supported anymore

  • @broadshare
    @broadshare 2 роки тому

    Thank you, very helpful. Is that the same process to publish Maui-Blazor app?

    • @jfversluis
      @jfversluis  2 роки тому +1

      Yep! The exact same way :)

    • @broadshare
      @broadshare 2 роки тому

      @@jfversluis What am I waiting for ?

  • @miaadib6146
    @miaadib6146 2 місяці тому

    hii thank you for all this i did all what you do in this video but i get this Error can you help me ..
    C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\34.0.113\tools\Xamarin.Android.Common.targets(2409,2): error MSB4044: The
    "AndroidSignPackage" task was not given a value for the required parameter "KeyAlias". [C:\Users\NMS-PC\source
    epos\MauiAppafter2\M
    auiAppafter2\MauiAppafter2.csproj::TargetFramework=net8.0-android]

  • @arammargaryan8048
    @arammargaryan8048 Рік тому

    Hello Gerald, thanks for your video.
    I have done exact the same, but unfortunately it does not work for me, i get issue "Error XAPRAS7009 System.InvalidOperationException: PE image does not have metadata." Have you experienced it? or do you know what's the problem

  • @yaKaiZen
    @yaKaiZen 2 роки тому

    Hello Gerald, thanks for your video! Here 13:15 we see & also can be found in our projects a folder named Publish.And signed abb and apk files are also found inside the publish folder! which one should we use for release to play store or share to friends?

    • @jfversluis
      @jfversluis  2 роки тому

      The aab for the store, apks are not accepted anymore. I think for just sending it to others you can use both. However the person installing the app will probably need to change a setting on their device to allow apps to be installed from other sources than the Google Play Store

  • @anandshindey
    @anandshindey Рік тому

    Uitstekend filmpje. Thanks.

    • @jfversluis
      @jfversluis  Рік тому +1

      Heel graag gedaan Anand! Thanks for watching!

  • @abdrockman
    @abdrockman Рік тому

    Halo Gerald. i succeded publish maui template app to my android, but when i added just some xaml element and icon. my app crash when open in android. but its no problem when im running in emulator or debug in my device. could you tell me how i can check this problem? thanks in advance :)

  • @vaitite
    @vaitite 2 роки тому

    All is clear! Thx

    • @jfversluis
      @jfversluis  2 роки тому

      Awesome, thanks for the feedback!

  • @nikolaosspyrou5660
    @nikolaosspyrou5660 Рік тому

    I know that this is a year old video, but I am kinda hoping for an answer on this... In case I don't want to publish the app to the Play Store or any store at all, but I want to keep track of the people Installing the app (ex. a corporate application etc...) how can I publish the MAUI application but getting an APK instead?

    • @jfversluis
      @jfversluis  Рік тому +1

      There is also an apk as result from this command you should be able to just use that!

    • @nikolaosspyrou5660
      @nikolaosspyrou5660 Рік тому

      @@jfversluis Thanks for your answer. I'll try to do that, even though it would be helpful if we had a more, complete, guide for these kind of situations regarding MAUI and deployment methods.

  • @mohammedalsabahii2
    @mohammedalsabahii2 2 роки тому

    Thanks Geraled for this great content ,, cay you make video for Obfuscation app thank you again

    • @jfversluis
      @jfversluis  2 роки тому +1

      Hey Mohammed, thanks! I'm not too familiar with that tbh, so not sure if that will come anytime soon.

  • @ThimaKulani
    @ThimaKulani 2 роки тому +1

    I struggled to create an installer for windows.. can you please help me with that?

    • @jfversluis
      @jfversluis  2 роки тому +2

      That one is coming!

    • @ThimaKulani
      @ThimaKulani 2 роки тому

      @@jfversluis thank you.

    • @adinwashere
      @adinwashere 2 роки тому

      @@jfversluis Looking forward to that myself 👀

  • @seagirl
    @seagirl Рік тому

    Gerald, ty for ur video. Can i ask where i can get a code for MAUI application advertisement between pages? I searched but couldnt find info bcuz MAUI is pretty new... Help me please. I would like to monetize my app specific way with such Interstitial Ads =^+^=

  • @andywhite4494
    @andywhite4494 9 місяців тому

    Watching your video on Publishing a .Net Maui app to an Android device
    My situation is I am developing an app that will run only on a couple of android tablets on the production floor of where I work.
    This is a secure environment with no external WIFI etc.
    I would like to be able to put the app on the android tablets without having to publish to play store is this possible?
    If so where would I find info on how to do it

    • @jfversluis
      @jfversluis  9 місяців тому

      Absolutely possible! I would think that you could still all do this but instead of sending it to the store, download the apk/aab to the devices directly and install. You might need to enable a setting to allow installation of apps from outside the app stire

  • @sharafudeen4734
    @sharafudeen4734 2 роки тому +1

    Thanks for this.. how can I release versions?

    • @jfversluis
      @jfversluis  2 роки тому

      What do you mean with versions?

    • @sharafudeen4734
      @sharafudeen4734 2 роки тому

      @@jfversluis Every App updates and release I can maintain version. Can I keep previous version as well as current version of app to download?

    • @jfversluis
      @jfversluis  2 роки тому

      @@sharafudeen4734 No, in the app store you can only download the latest version. To release one, up the version number in your apps metadata (and add new functionality to your app :D) and upload the new version!

  • @muks8398
    @muks8398 Рік тому

    it's building my aab file but not apk ? Any suggestions?

  • @franciscofernandezcasas7924

    Hi good video thanks but it does not work for .Net Maui Hybrid Blazor app, please help

    • @jfversluis
      @jfversluis  Рік тому

      It should and without any specifics its impossible to help 😊

    • @franciscofernandezcasas7924
      @franciscofernandezcasas7924 Рік тому

      @@jfversluis my bad, sorry, yeap it is working, I figured it out my error

  • @klausbjornjensen
    @klausbjornjensen 2 роки тому

    Thank for the guide. Have a strange problem though - Play store keeps saying "You uploaded an APK or Android App Bundle that was signed in debug mode. You need to sign your APK or Android App Bundle in release mode." But I dont even have debug builds!!! Any ideas?

    • @jfversluis
      @jfversluis  2 роки тому

      It seems like somehow you do use a debug build or debug keystore then. It's hard to say without any details though

    • @klausbjornjensen
      @klausbjornjensen 2 роки тому

      @@jfversluis My bad. Had written instead of :) All good now.

    • @jfversluis
      @jfversluis  2 роки тому

      Devil is in the details. Glad you figured it out!

  • @gabrielcanosa6154
    @gabrielcanosa6154 2 роки тому

    Thanks for sharing!!

    • @jfversluis
      @jfversluis  2 роки тому

      You’re most welcome Gabriel!

  • @sanjanapatel7466
    @sanjanapatel7466 2 роки тому

    On one of my projects, I am not getting the android option (On run drop down). On the other one, I am getting the option but it is not working The screen is frozen and nothing working when I close that I get Deploy failed, but it works fine with windows.
    Can you please help me with this?

    • @jfversluis
      @jfversluis  2 роки тому

      I've seen and responded to your email about this. Please just choose email or a comment and not both, I get enough messages as it is ;) thanks

  • @Swarajcookingnfun
    @Swarajcookingnfun 2 роки тому

    Hi Gerald!! Can we publish maui blazor android app without using app store? I mean can we publish it on any Android tablet directly just copying its apk file?

  • @mehran_pourkhanali
    @mehran_pourkhanali Рік тому

    Greate job 👌👌

  • @leroykthx
    @leroykthx Рік тому

    Can you say something about how android leanback dev fits into this? It seems very poorly documented

    • @jfversluis
      @jfversluis  Рік тому

      I think it’s pretty well documented 🤷‍♂️ learn.microsoft.com/dotnet/maui/android/deployment/overview?view=net-maui-7.0

    • @leroykthx
      @leroykthx Рік тому

      @@jfversluis leanback specifically isnt documented very well. the annotations required to generate a proper manifest aren't exactly explained in depth. if you just want a generic android app with dotnet then all is well.

    • @jfversluis
      @jfversluis  Рік тому

      @@leroykthx Ah sorry, it seems I misread something here. Yeah our main focus right now is Android apps on mobile devices. While it’s probably not impossible to do leenbank development it will not have focus, also not for documentation.
      However, you should be able to use the native documentation and relatively easily translate that to C# code and concepts

  • @80amnesia
    @80amnesia Рік тому

    amazing thanks!

  • @alexreyes586
    @alexreyes586 2 роки тому

    Hello how are you, you can do the same process with a Blazor Net Maui project

    • @jfversluis
      @jfversluis  2 роки тому

      For a Blazor Hybrid app it should work the exact same

  • @ROWKNOCK
    @ROWKNOCK 2 роки тому

    Excuse me sir ! I am facing a problem after building it for android it is saying that "error XAGJS7004: System.ArgumentException: An item with the same key has already been added." could you help me to solve it

    • @jfversluis
      @jfversluis  2 роки тому

      Not really without any more details. Make sure to search for that error online, you might get some hints

  • @WeMakeVideosCA
    @WeMakeVideosCA 2 роки тому

    The keytool -genkey command never asks me for a key pass. it does ask for the keystore pass.
    It simply asks if the inputed information is correct.
    Then it outputs
    Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 36,500 days
    for: .......
    [Storing key.keystore]
    Edit: For anyone having issues saying on google developer saying the aab file is not signed under release. make sure you spell Android with oi not io. I wasted hours on this 🤦.
    Still don't know why genkey is not asking for a key pass tho. It seems to default take my keystore pass as the key pass

    • @jfversluis
      @jfversluis  2 роки тому

      Hm not sure about that one. Have a look at the Android documentation, maybe there is something in there

  • @CowboyCanadian
    @CowboyCanadian Рік тому

    security always makes me scratch my head …. when you are careless with your publisher account credentials, and careless with your source code, and sloppy 2FA methods but you keep your certificate in a safe somewhere 😂😂

  • @vugikarabagli6748
    @vugikarabagli6748 2 роки тому

    How can I make the application automatically update itself?

    • @jfversluis
      @jfversluis  2 роки тому +1

      You can't. I think there are solutions to do that, but the app stores aren't too fond of those since you're then bypassing their reviewers :) The best and easiest imo is to create a new version and release that

  • @mahmoudnoufal9276
    @mahmoudnoufal9276 Рік тому

    I Made like that, but APK file doesn't install in my phone

    • @jfversluis
      @jfversluis  11 місяців тому

      Does it give you any errors?

    • @mahmoudnoufal9276
      @mahmoudnoufal9276 11 місяців тому

      you are right, Thank You so much@@jfversluis

  • @colonel666
    @colonel666 2 роки тому

    Hi,
    how can I publish a more than 250MB Android App ? Any idea?

    • @jfversluis
      @jfversluis  2 роки тому

      I would say no. Make it smaller and if still needed download the rest of the assets afterwards. But not sure if people will like a 250mb+ app, depending on what your target audience is of course :)

    • @colonel666
      @colonel666 2 роки тому

      @@jfversluis Thanks for answering. Actually it is for special purposes. Google Play Store allows only 150 MB and my assets are about 290MB. With React Native or Android Studio I can use Asset Delivery to solve this issue but in MAUI I found nothing

    • @jfversluis
      @jfversluis  2 роки тому

      @@colonel666 that should also be possible with .NET MAUI, but we don’t provide anything in the templates or tooling for it right now I think.

    • @colonel666
      @colonel666 2 роки тому

      @@jfversluis how would I do it? where is the start point

  • @dineshfalwadiya3282
    @dineshfalwadiya3282 2 роки тому

    Great thanks for sharing

    • @jfversluis
      @jfversluis  2 роки тому

      Looking forward to your released app ;)

  • @play-good
    @play-good 2 роки тому +1

    Thanks you so mush

  • @KVNgameplay
    @KVNgameplay 8 місяців тому

    nao mostrou como publica no google play

    • @jfversluis
      @jfversluis  8 місяців тому

      The Google Play Console should be pretty self-explanatory. What is it you can't figure out?

  • @mishomishev3152
    @mishomishev3152 Рік тому

    Great tutortial

  • @AamirKhan-kx3oy
    @AamirKhan-kx3oy 2 роки тому

    hi and what about App Center?

    • @jfversluis
      @jfversluis  2 роки тому +1

      No support (announced) yet and even if they will, you ultimately want to release it to the app stores probably anyway

  • @mangucode
    @mangucode Рік тому

    thanks bro

  • @sasino
    @sasino Рік тому

    10000 days is just 27 years, I would personally use an even higher number just in case

    • @jfversluis
      @jfversluis  Рік тому

      Do whatever you wish! I don’t think a lot of apps will make it that far 😄

  • @xskodemedia746
    @xskodemedia746 2 місяці тому

    i keep getting an apk file why?!

    • @jfversluis
      @jfversluis  2 місяці тому

      There should be an apk _and_ aab file?

  • @aberdatsoul
    @aberdatsoul Рік тому

    If your build doesn't work and/or you are not prompted for alias password, add the following to your command line request for keytool after -validity 10000: -storetype jks

  • @cverde1234
    @cverde1234 2 роки тому

    Posts a meme about how signing apps for ios can be a pain...
    ... Releases a video on how to sign Android apps 😂

    • @jfversluis
      @jfversluis  2 роки тому

      You didn’t watch closely enough then. iOS video is also already posted 😏

  • @FuzzyDPozzy
    @FuzzyDPozzy 2 роки тому

    Command to publish:
    dotnet publish -c Release -f:net6.0-android

  • @jdia.
    @jdia. Рік тому

    dotnet publish -f net7.0-android -c Release -p:AndroidSigningKeyStore={filename}.keystore -p:AndroidSigningKeyAlias={keyname} -p:AndroidSigningKeyPass={password} -p:AndroidSigningStorePass={password}
    // from the Microsoft site. this helped me get past a few errors that came up using the short version. After android, add the targeted version if it had been changed