Xamarin. Apple Watch App. Is there an emulator? - xamarin

Visual Studio 2019 / Xamarin.
There does not seem to be an emulator for Apple Watch? Android Watch and both phone types are available.
Does anyone know how to install an Apple Watch emulator or am I missing something?

You can have a try with this Sample project . Right click your solution as follow :
and select Properties option :
In Startup Project , selcet WatchApp3(ProjectName) as Startup . Then Apply to close window .
Now you will see Simulator device lists in Visual Studio as follow :

Related

Microsoft visual studio doesn't show any android emulator or physical device for Xamarin project

I have a xamarin project and i want to debug it, but visual studio doesn't show any emulator or physical device.
this is the menu
I wanted to restart adb from tools > android but it's disabled. but when I open a non xamarin project (for example a web porject) this options is enabled.
I can see my device in cmd with command adb devices and in android studio, every thing is fine and I can deploy some java application to my phone.
do you have Any idea?
Update
I created new project and in this new project, every thing is fine and I can debug with my phone or emulators.
but in my existing project which I'm currently working on, there is no device in list.
It happened to me just now using vs 2019, to fix this, manually remove obj and bin folders restart vs, and that's all :)

Flutter android studio in mac showing Please configure Android SDK in Logcat

I'm using mac os Mojave and android studio for flutter. whenever I create a new Flutter project in the android studio, it is showing that please configure Android SDK. Android SDK is already configured and flutter doctor checked it successfully. I invalidate the cache and restarted the android studio but nothing worked for me. I configured flutter using official flutter website
I had the same problem, the solution as follows :
Open a Flutter project in Android Studio.
Click on File -> Project Structure.
Select the Project tab, under Project Settings.
At the main screen, we should see No SDK in red under the Project SDK section.
Click on the dropdown menu and select an API version installed. Example: Android API 30 platform.
Click OK.
Restart Android Studio (I prefer to restart your mac)

Unable to see list of emulator devices for Xamarin Android in VS 2015

I am using VS 2015 enterprise update 3. After fresh installation, I created a new project--> cross platform tools--> Blank Xaml App(Xamarin.Forms Portable). then made Andriod project is default project from Solution explorer.
Tried select a device but none is available, altough when i open SDK Manager i can see 3 devices.
Andriod error
List of devices
Did you setup your android project as your startup project?
Werid because in your screenshot it shows your portable project as your startup project. This is how it looks like when i debug my android project.

Designer not working for Android Xamarin app

I am 100% new to Xamarin seem to have done something wrong in Visual Studio 2015. I am just trying to view my Main.axml file however the designer is giving me the following error:
A valid Android SDK could not be found. An existing SDK with platform tool and at least one platform needs to be registered with the IDE.
Do I need to do soemthing specific to fix this?
As you can see I am targeting Android 4.1 API 16.
Another weird issue is that the Android SDK Manager is disabled is this normal?
visual studio -> tools ->options:
To launch Android SDK Manager I have to launch Android studio and click on Android SDK Manager :
I had same issue with my sdk on visual studio. I could not open sdk manager from visual studio and xamarin designer could not open even though i pointed to an sdk location. however, other things worked correctly. Updating sdk from android studio and upgrading jdk to 1.8.0_102. solved my problem.
While the Xamarin is updating, that error can see.
Solved is found the tools zip file:
C:\Users\User Name\AppData\Local\Android\android-sdk\temp\tools_r25.2.4-windows (or your active last tools, doesnt matter. for ex. tools_r23.0.1)
-> Open that zip and unzip in "tools" folder.
-> Cut that folder and, paste parent folder (C:\Users\User Name\AppData\Local\Android\android-sdk)
Delete files from this path:
C:\Users\ ++ Your Windows Account Here ++ \AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache\

Xamarin Studio - Application not launching in simulator

I am new to Xamarin and i am trying to the sample app "XamarinStone". I can see the emulator is launching, but the application is not loading.
I kept at the same state for 1 hour, but still no hope.
I tried with Visual Studio 2012, but I am facing the same issue.
i installed all the necessary applications as per Xamarin Installer. What else I would need to do?
Can anyone help me to troubleshoot the issue.
Thanks!!
Could you please confirm that you've setup Xamarin latest version in both Windows & Mac PC?
And as per below screenshot of Visual Studio, you see list of iPhone Simulators?
And as per the second highlighted image "Show iOS Simulator" button, when you click on that image, it invokes iOS simulator on your MAC?

Resources