maui icon indicating copy to clipboard operation
maui copied to clipboard

Can't run my MAUI program on an android emulator

Open Gwen02 opened this issue 3 years ago • 2 comments

Problem encountered on https://dotnet.microsoft.com/en-us/learn/maui/first-app-tutorial/device-setup Operating System: windows

Hello,

I've been trying to run my MAUI app within a Android Emulator with VS 2022 in the basic MAUI code, but an error says that "the specified file can't be found" in my folder. image

I installed the Android SDK, ect. But I can't launch my program properly on android, even though the program works fine on my windows machine.

Moreover I noticed that when I installed .Net, the package Microsoft.Android.Sdk.Windows wasn't installed, as shows the screen below

image

This is the ouput shown by Xamarin : image

I tried reinstalling .Net with all the packages and VS 2022 but nothing work, has something similar ever happened to one of you?

Thanks for your help !

Gwen02 avatar Nov 10 '22 09:11 Gwen02

Thanks for the issue report @Gwen02! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.

If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.

  1. Go to the Visual Studio for Windows feedback tool or Visual Studio for Mac feedback tool to report the issue
  2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.

This issue will be automatically closed in 3 days if there are no further comments.

ghost avatar Nov 10 '22 19:11 ghost

This might be an issue with your SDK path settings. Check for your Android SDK installation folder and be sure the correct folder is set in your Visual Studio settings.

AmSmart avatar Nov 10 '22 20:11 AmSmart

This issue is being closed due to inactivity. If this issue is still affecting you, please follow the steps above to use the VS Feedback Tool to report the issue.

ghost avatar Nov 14 '22 00:11 ghost