Answer accepted by question author and recommended by moderator
Hello Sreenivasan,
Yes, if you install 17.7 or earlier, you should be able to run your Xamarin app, but please keep in mind that it Xamarin is out of support. For Enterprise and Professional users, you can download previous versions from here.
But first, try these quick checks on 17.14:
- Check the workload, ensure Xamarin is installed. 👁 User's image
- Restart ADB from Visual Studio (Tools > Android > Restart ADB Server) or run
adb kill-serverandadb start-serverin the ADB command prompt. - Make sure your Android SDK path is set correctly in Tools > Options > Xamarin > Android Settings.
- Check for the device list in ADB command prompt:
adb devices. 👁 User's image - For a physical device, enable Developer Options and USB debugging, use a good cable.
- For emulators, open Android Device Manager, start an emulator manually, then refresh the device list in Visual Studio.
- Stick to Android 14 or lower for physical devices, API 34 for emulators.
If nothing works, install 17.7 or earlier as you mentioned alongside your current version.
I hope this clarifies.
-
Sreenivasan, Sreejith 885 Reputation points
@Michael Le (WICLOUD CORPORATION) Thanks for your answer, let me work on this and get back to you ASAP.
-
Sreenivasan, Sreejith 885 Reputation points
@Michael Le (WICLOUD CORPORATION) I tried installing the VS 17.7.0 and 17.6.22. But on both the Xamarin project is not able to run, the emulator and physical devices are not showing. We have a major issue in the Xamarin project and we need to fix it and make it LIVE. The MAUI migration of the project is still under development. So please help me on this.
-
Sreenivasan, Sreejith 885 Reputation points
@@Michael Le (WICLOUD CORPORATION)
Today, I attempted installing Visual Studio 2019 (16.11.53) and Visual Studio 2022 (17.0.0). On VS 2019, while the devices loaded successfully, the project failed to load due to .NET version conflicts. Conversely, in VS 2022, the project loaded correctly, but the devices did not load. Do you which is the Xamarin supported version?
-
Sreenivasan, Sreejith 885 Reputation points
@Michael Le (WICLOUD CORPORATION) Any comments for the latest findings?
-
Michael Le (WICLOUD CORPORATION) 11,330 Reputation points • Microsoft External Staff • Moderator
I’d love to help further, but since Xamarin is no longer actively supported and hasn’t received updates for quite some time, there’s no officially supported fix for these issues.
I recommend not spending more time trying to fix the “Device List” in VS. Since you’re able to build, you can use the command line to build,
adbto install, andlogcatto debug, although it is less convenient.
Sign in to comment
