programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱M to .NET MAUIEnglish ·
edit-2
1 year ago

Solved: Latest Visual Studio update causes older Android emulator deployments to fail "Emulator is not ready to be used"

message-square
message-square
16
link
fedilink
16
message-square

Solved: Latest Visual Studio update causes older Android emulator deployments to fail "Emulator is not ready to be used"

💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱M to .NET MAUIEnglish ·
edit-2
1 year ago
message-square
16
link
fedilink

For details see VS 17.8.3 Android emulator API 28 deployment fails “Emulator is not ready to be used” and please upvote the issue

alert-triangle
You must log in or register to comment.
  • Lmaydev
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago
    winget install --id=Microsoft.VisualStudio.2022.Community -v "17.8.0" -e
    

    Try this as a workaround

    • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱OPM
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      winget install --id=Microsoft.VisualStudio.2022.Community -v “17.8.0” -e

      Thanks - everything I could find said you can’t do it for Community edition - but that didn’t work. Is there a particualr directory I need to be in or something?

      • Lmaydev
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        There’s a good thread here about that error here: https://github.com/microsoft/winget-cli/issues/3068

        Looks like it’s either an old version or the cache is corrupted. Theres serveral fixes to try in there.

        Can you install anything in Winget?

        • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱OPM
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          This is the first time I’ve ever used Winget. I’ll have a read through the thread and try some things out, and let you know how I go. Thanks!

        • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱OPM
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          P.S. Would I need to uninstall Visual Studio first?

          • Lmaydev
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            Not sure. But I likely would

            • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱OPM
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              BTW I tried without uninstalling first to see what would happen, and in essence it went “there’s already an installation, checking for upgrades, there are no upgrades available, doing nothing”, so looks like you could do it if upgrading, but doesn’t work for downgrading - have to start fresh for a downgrade.

        • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱OPM
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          1 year ago

          Woo hoo! I got it to work. I needed to run it in powershell as admin, and the Id needed to be in quotes, and it worked! I now have 17.8.0 installed, and deployment to my API 28 Android emulator is working - I can actually start developing on my new computer now. :-) Thank you so much for your help!

          • Lmaydev
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            Ah that’s amazing mate 😁 Happy coding. Hopefully they get the issue resolved soon.

  • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱OPM
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

  • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱OPM
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    @[email protected] The dotnetmaui bot here failed to boost this into Mastodon for some reason.

  • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱OPM
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    17.9 is available now, and I can confirm it is working again now :-)

  • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱OPM
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱OPM
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      😂Now that the Mastodon bots are working again I just realised the issue with just posting screenshots in here - the Mastodon post is empty! 😂So for those following via Mastodon, the Android emulator issue is fixed and is currently available via preview (but I’ll be waiting for the non-preview release. I’m presuming this is the next one, or maybe the one after that. Whatever the latest preview version is).

      • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱OPM
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Well, 17.8.6 just came out, so I’m guessing this fix will be in 17.8.7 then.

  • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱OPM
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Just an update on this. There’s been an update to the issue on the 10th of January with “Under Investigation. This issue is currently being investigated…”, which is a nice change from “more info needed”, or even worse “this isn’t a bug it’s a feature”, so they’ve managed to reproduce the bug and are looking into it.

    This means if you see the 17.8.4 update available message, the fix isn’t in there, so don’t update yet. I’m using 17.8.0 - I’m not sure if the bug was introduced in 17.8.1, 17.8.2, or 17.8.3, but 17.8.0 is definitely safe to use.

.NET MAUI

dotnetmaui

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2 users / day
  • 6 users / week
  • 13 users / month
  • 67 users / 6 months
  • 17 local subscribers
  • 155 subscribers
  • 176 Posts
  • 67 Comments
  • Modlog
  • mods:
  • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org