question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

androidemulator: ! There were one or more problems detected. Please review the errors and correct them and run maui-check again.

See original GitHub issue

C:\WINDOWS\system32>maui-check --verbose _ _ _____ _____ __ __ _ _ _ ___ | \ | | | | | | | / | / \ | | | | | | | | | | | | | | |/| | / _ \ | | | | | | _ | |\ | | | | | | | | | / ___ \ | || | | | () || _| |_____| || || || // _\ _/ ||

☼ .NET MAUI Check v0.8.4.0 ☼ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── This tool will attempt to evaluate your .NET MAUI development environment. If problems are detected, this tool may offer the option to try and fix them for you, or suggest a way to fix them yourself.

Thanks for choosing .NET MAUI! ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Β» Synchronizing configuration…Loading Manifest from: https://aka.ms/dotnet-maui-check-manifest Required Version: 0.7.2 Current Version: 0.8.4.0 ok Β» Scheduling appointments…SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet ok

OpenJDK 11.0 Checkup… ValidateAndroidSdkLocation: , result=False ValidateAndroidSdkLocation: , result=False Looking for Android SDK… ValidateAndroidSdkLocation: C:\Program Files (x86)\Android\android-sdk, result=True ValidateJavaSdkLocation: , result=False ValidateJavaSdkLocation: , result=False ValidateJavaSdkLocation: C:\Program Files\Microsoft\jdk-11.0.10.9-hotspot, result=True ValidateAndroidNdkLocation: , result=False ValidateAndroidNdkLocation: , result=False Looking for Android NDK… Looking for Android SDK… SHELL: C:\Program Files\Microsoft\jdk-11.0.10.9-hotspot\bin\javac.exe -version javac 11.0.10 SHELL: C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25\bin\javac.exe -version javac 1.8.0-25 SHELL: C:\Program Files\Microsoft\jdk-11.0.10.9-hotspot\bin\javac.exe -version javac 11.0.10

  • 11.0.10 (C:\Program Files\Microsoft\jdk-11.0.10.9-hotspot\bin..) SetEnvironmentVariable: JAVA_HOME=C:\Program Files\Microsoft\jdk-11.0.10.9-hotspot
  • 1.8.0-25 (C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25)

Visual Studio 17.0.0-pre.3.0 Checkup… SHELL: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -all -requires Microsoft.Component.MSBuild -format json -prerelease [ { β€œinstanceId”: β€œa7c2bd3a”, β€œinstallDate”: β€œ2021-09-04T10:29:55Z”, β€œinstallationName”: β€œVisualStudioPreview/17.0.0-pre.3.1+31612.314”, β€œinstallationPath”: β€œE:\Microsoft Visual Studio\2022\Preview”, β€œinstallationVersion”: β€œ17.0.31612.314”, β€œproductId”: β€œMicrosoft.VisualStudio.Product.Community”, β€œproductPath”: β€œE:\Microsoft Visual Studio\2022\Preview\Common7\IDE\devenv.exe”, β€œstate”: 4294967295, β€œisComplete”: true, β€œisLaunchable”: true, β€œisPrerelease”: true, β€œisRebootRequired”: false, β€œdisplayName”: β€œVisual Studio Community 2022”, β€œdescription”: β€œPowerful IDE, free for students, open-source contributors, and individuals”, β€œchannelId”: β€œVisualStudio.17.Preview”, β€œchannelUri”: β€œhttps://aka.ms/vs/17/pre/channel”, β€œenginePath”: β€œC:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service”, β€œreleaseNotes”: β€œhttps://go.microsoft.com/fwlink/?LinkId=661273#17.0.0-pre.3.1”, β€œthirdPartyNotices”: β€œhttps://go.microsoft.com/fwlink/?LinkId=661288”, β€œupdateDate”: β€œ2021-09-04T10:29:55.0964944Z”, β€œcatalog”: { β€œbuildBranch”: β€œd17.0”, β€œbuildVersion”: β€œ17.0.31612.314”, β€œid”: β€œVisualStudioPreview/17.0.0-pre.3.1+31612.314”, β€œlocalBuild”: β€œbuild-lab”, β€œmanifestName”: β€œVisualStudioPreview”, β€œmanifestType”: β€œinstaller”, β€œproductDisplayVersion”: β€œ17.0.0 Preview 3.1”, β€œproductLine”: β€œDev17”, β€œproductLineVersion”: β€œ2022”, β€œproductMilestone”: β€œPreview”, β€œproductMilestoneIsPreRelease”: β€œTrue”, β€œproductName”: β€œVisual Studio”, β€œproductPatchVersion”: β€œ0”, β€œproductPreReleaseMilestoneSuffix”: β€œ3.1”, β€œproductSemanticVersion”: β€œ17.0.0-pre.3.1+31612.314”, β€œrequiredEngineVersion”: β€œ3.0.2333.53618” }, β€œproperties”: { β€œcampaignId”: β€œ695340598.1609240616”, β€œchannelManifestId”: β€œVisualStudio.17.Preview/17.0.0-pre.3.1+31612.314”, β€œnickname”: β€œβ€, β€œsetupEngineFilePath”: β€œC:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe” } }, { β€œinstanceId”: β€œe7814bfb”, β€œinstallDate”: β€œ2021-09-04T10:18:31Z”, β€œinstallationName”: β€œVisualStudio/16.11.2+31624.102”, β€œinstallationPath”: β€œE:\Microsoft Visual Studio\2019”, β€œinstallationVersion”: β€œ16.11.31624.102”, β€œproductId”: β€œMicrosoft.VisualStudio.Product.Community”, β€œproductPath”: β€œE:\Microsoft Visual Studio\2019\Common7\IDE\devenv.exe”, β€œstate”: 4294967295, β€œisComplete”: true, β€œisLaunchable”: true, β€œisPrerelease”: false, β€œisRebootRequired”: false, β€œdisplayName”: β€œVisual Studio Community 2019”, β€œdescription”: β€œPowerful IDE, free for students, open-source contributors, and individuals”, β€œchannelId”: β€œVisualStudio.16.Release”, β€œchannelUri”: β€œhttps://aka.ms/vs/16/release/channel”, β€œenginePath”: β€œC:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service”, β€œreleaseNotes”: β€œhttps://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.2”, β€œthirdPartyNotices”: β€œhttps://go.microsoft.com/fwlink/?LinkId=660909”, β€œupdateDate”: β€œ2021-09-04T10:18:31.566458Z”, β€œcatalog”: { β€œbuildBranch”: β€œd16.11”, β€œbuildVersion”: β€œ16.11.31624.102”, β€œid”: β€œVisualStudio/16.11.2+31624.102”, β€œlocalBuild”: β€œbuild-lab”, β€œmanifestName”: β€œVisualStudio”, β€œmanifestType”: β€œinstaller”, β€œproductDisplayVersion”: β€œ16.11.2”, β€œproductLine”: β€œDev16”, β€œproductLineVersion”: β€œ2019”, β€œproductMilestone”: β€œRTW”, β€œproductMilestoneIsPreRelease”: β€œFalse”, β€œproductName”: β€œVisual Studio”, β€œproductPatchVersion”: β€œ2”, β€œproductPreReleaseMilestoneSuffix”: β€œ1.0”, β€œproductSemanticVersion”: β€œ16.11.2+31624.102”, β€œrequiredEngineVersion”: β€œ2.11.35.61819” }, β€œproperties”: { β€œcampaignId”: β€œ695340598.1609240616”, β€œchannelManifestId”: β€œVisualStudio.16.Release/16.11.2+31624.102”, β€œnickname”: β€œβ€, β€œsetupEngineFilePath”: β€œC:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe” } } ]

  • 17.0.0-pre.3.1 - E:\Microsoft Visual Studio\2022\Preview
  • 16.11.2

Android SDK Checkup… ValidateAndroidSdkLocation: , result=False ValidateAndroidSdkLocation: , result=False Looking for Android SDK… ValidateAndroidSdkLocation: C:\Program Files (x86)\Android\android-sdk, result=True ValidateJavaSdkLocation: C:\Program Files\Microsoft\jdk-11.0.10.9-hotspot, result=True ValidateAndroidNdkLocation: , result=False ValidateAndroidNdkLocation: , result=False Looking for Android NDK… Looking for Android SDK… SetEnvironmentVariable: ANDROID_SDK_ROOT=C:\Program Files (x86)\Android\android-sdk SetEnvironmentVariable: ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk

  • emulator (30.7.5)
  • build-tools;30.0.2 (30.0.2)
  • platforms;android-30 (3)
  • system-images;android-30;google_apis;x86 (10)
  • platform-tools (31.0.3)
  • cmdline-tools;3.0 (3.0)

Android Emulator Checkup…

─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ☼ Recommendation: Create an Android Emulator ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

! Attempt to fix? [y/n] (y): y Β» Attempting to fix: Android Emulator Fix applied. Checking again…

Android Emulator Checkup…

─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ☼ Recommendation: Create an Android Emulator ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

! Attempt to fix? [y/n] (y): y

.NET SDK Checkup… SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet SHELL: C:\Program Files\dotnet\dotnet.exe --list-sdks 2.1.803 [C:\Program Files\dotnet\sdk] 5.0.201 [C:\Program Files\dotnet\sdk] 5.0.400 [C:\Program Files\dotnet\sdk] 6.0.100-preview.7.21379.14 [C:\Program Files\dotnet\sdk]

  • 2.1.803 - C:\Program Files\dotnet\sdk\2.1.803
  • 5.0.201 - C:\Program Files\dotnet\sdk\5.0.201
  • 5.0.400 - C:\Program Files\dotnet\sdk\5.0.400
  • 6.0.100-preview.7.21379.14 - C:\Program Files\dotnet\sdk\6.0.100-preview.7.21379.14 SetEnvironmentVariable: DOTNET_SDK=C:\Program Files\dotnet\sdk\6.0.100-preview.7.21379.14 SetEnvironmentVariable: DOTNET_SDK_VERSION=6.0.100-preview.7.21379.14

.NET SDK - Workload Deduplication Checkup… SetEnvironmentVariable: DOTNET_ROOT=C:\Program Files\dotnet

Edge WebView2 Checkup…

  • Found Edge WebView2 version 93.0.961.38

.NET SDK - Workloads (6.0.100-preview.7.21379.14) Checkup…

  • android-aot (Microsoft.NET.Sdk.Android.Manifest-6.0.100 : 30.0.100-preview.7.110) installed.
  • ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.100 : 15.0.100-preview.7.230) installed.
  • maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.100 : 15.0.100-preview.7.230) installed.
  • tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.100 : 15.0.100-preview.7.230) installed.
  • macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.100 : 12.0.100-preview.7.230) installed.
  • maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.100 : 6.0.100-preview.7.1345) installed.
  • wasm-tools (microsoft.net.workload.mono.toolchain.manifest-6.0.100 : 6.0.0-preview.7.21377.19) installed.
  • microsoft-net-sdk-emscripten (microsoft.net.workload.emscripten.manifest-6.0.100 : 6.0.0-preview.7.21377.2) installed. ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Checkup had Error status: androidemulator

androidemulator: ! There were one or more problems detected. Please review the errors and correct them and run maui-check again.

Press enter to exit…

Has Errors? True

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
confessorecommented, Sep 18, 2021

mmm i thought we weren’t using maui check any longer this might be a bios level thing are you sure virtualization is enabled in your bios?

error says you are using an incompatible jdk

try downloading openjdk8 or 11 and putting the path to the sdk in the β€œjava development kit” entry

0reactions
chan18commented, Oct 4, 2021

mmm i thought we weren’t using maui check any longer this might be a bios level thing are you sure virtualization is enabled in your bios?

error says you are using an incompatible jdk

try downloading openjdk8 or 11 and putting the path to the sdk in the β€œjava development kit” entry

i have tried what you are saying but it did not help. I saw screenshots of others in the github issues they do have hotspot JDK.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Emulator Troubleshooting - .NET MAUI
If you see an error about a failure to install the APK on the emulator or a failure to run the Android Debug...
Read more >
How do I determine where the error is when I check MAUI ...
Please review the errors and correct them and run maui-check again. Press enter to exit... Can you guys suggest me an approach? Environment...
Read more >
MAUI on Mac - Visual Studio 2022 17.4.2 : r/dotnetMAUI
So, I let it be and went back to troubleshooting the solution. ... And I'm still unable to run the maui-check due to...
Read more >
How To Fix Android Emulator For Visual Studio ( .NET MAUI)
So in the last video i had this issue where I couldn't get this emulator to run. If you are here, im sorry...
Read more >
Getting started with Microsoft .NET MAUI
This is because you'll need it compile and use the iOS simulator. ... Once you install the missing components, run maui-check again toΒ ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found