Hi everyone,
On a fresh setup of Vs VS2022 there's a missing step, the Android Emulator hasn't been installed.
When I try to install the emulator in VS2022 it fails, asks to send a report. This is the maui-check report.
¡ Unable to find any Android Emulators. You can use Visual Studio to create one if necessary:
The report has this message:
Please file an issue by choosing "Report a Problem" in the Help menu, and attach your logs.
Error summary: It looks like you are using an incompatible JDK. Please install and configure Microsoft Mobile OpenJDK.
I have the latest OpenJDK installed: C:\Program Files\Android\jdk\microsoft_dist_openjdk_1.8.0.25
I checked and this same error happened a year ago. I'm not sure if I shoudl try the solution as it seems like a regression caused by a different bug a year on?
https://developercommunity2.visualstudio.com/t/loading-Android-virtual-device-in-device/1154493
Any solution to install the Preview 5?
OpenJDK 11.0 Checkup...
- 11.0.10 (C:\Program Files\Microsoft\jdk-11.0.10.9-hotspot\bin..)
- 1.8.0-25 (C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25)
Visual Studio 16.10.0 Checkup...
- 17.0.0-pre.1.1 - E:\Program Files\Microsoft Visual Studio\2022\Preview
- 16.10.0 - E:\Program Files (x86)\Microsoft Visual Studio\2019\Community
Android SDK Checkup...
- emulator (30.7.5)
- build-tools;30.0.2 (30.0.2)
- platforms;android-30 (3)
- system-images;android-30;google_apis;x86 (9)
- platform-tools (31.0.2)
Android Emulator Checkup...
¡ Unable to find any Android Emulators. You can use Visual Studio to create
one if necessary:
https://docs.microsoft.com/xamarin/android/get-started/installation/android-emulator/device-manager
.NET SDK Checkup...
- 5.0.201 - C:\Program Files\dotnet\sdk\5.0.201
- 5.0.300 - C:\Program Files\dotnet\sdk\5.0.300
- 6.0.100-preview.5.21302.13 - C:\Program
Files\dotnet\sdk\6.0.100-preview.5.21302.13
.NET SDK - Workload Deduplication Checkup...
.NET SDK - EnableWorkloadResolver.sentinel Checkup...
- E:\Program Files\Microsoft Visual
Studio\2022\Preview\MSBuild\Current\Bin\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\EnableWorkloadResolver.sentinel exists.
- E:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\MSBuild\Current\Bin\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\EnableWorkloadResolver.sentinel exists.
.NET SDK - Workloads (6.0.100-preview.5.21302.13) Checkup...
- microsoft-android-sdk-full (Microsoft.NET.Sdk.Android.Manifest-6.0.100 :
30.0.100-preview.5.28) installed.
- microsoft-ios-sdk-full (Microsoft.NET.Sdk.iOS.Manifest-6.0.100 :
14.5.100-preview.5.894) installed.
- microsoft-maccatalyst-sdk-full
(Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.100 : 14.5.100-preview.5.894)
installed.
- microsoft-tvos-sdk-full (Microsoft.NET.Sdk.tvOS.Manifest-6.0.100 :
14.5.100-preview.5.894) installed.
- microsoft-macos-sdk-full (Microsoft.NET.Sdk.macOS.Manifest-6.0.100 :
11.3.100-preview.5.894) installed.
.NET SDK - Packs (6.0.100-preview.5.21302.13) Checkup...
- Microsoft.Maui.Templates (6.0.100-preview.5.794) installed.
- Microsoft.Android.Sdk (30.0.100-preview.5.18) installed.
- Microsoft.Android.Sdk.BundleTool (30.0.100-preview.5.18) installed.
- Microsoft.Android.Ref (30.0.100-preview.5.18) installed.
- Microsoft.Android.Templates (30.0.100-preview.5.18) installed.
- Microsoft.iOS.Sdk (14.5.100-preview.5.881) installed.
- Microsoft.iOS.Windows.Sdk (14.5.100-preview.5.881) installed.
- Microsoft.iOS.Ref (14.5.100-preview.5.881) installed.
- Microsoft.iOS.Templates (14.5.100-preview.5.881) installed.
- Microsoft.MacCatalyst.Sdk (14.5.100-preview.5.881) installed.
- Microsoft.MacCatalyst.Ref (14.5.100-preview.5.881) installed.
- Microsoft.MacCatalyst.Templates (14.5.100-preview.5.881) installed.
- Microsoft.tvOS.Sdk (14.5.100-preview.5.881) installed.
- Microsoft.tvOS.Ref (14.5.100-preview.5.881) installed.
- Microsoft.tvOS.Templates (14.5.100-preview.5.881) installed.
- Microsoft.macOS.Sdk (11.3.100-preview.5.881) installed.
- Microsoft.macOS.Ref (11.3.100-preview.5.881) installed.
- Microsoft.macOS.Templates (11.3.100-preview.5.881) installed.
────────────────────────────────────────────────────────────────────────────────
¡ Things look almost great, except some pesky warning(s) which may or may not bea problem, but at least if they are, you'll know where to start searching!
Press enter to exit...
Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.