Reputation: 65
I am currently trying to make a cross platform app (IOS + Android) using xamarin.
My problem at the moment is setting up. As soon as I make the project I got TONS of errors, missing references and the likes. I've been patching them one by one but as soon as I do they seem to double up and I think I'm doing something wrong. Also when running the app emulator for android I get a black screen (on phone window) and no functionality.
What is the correct way to set it up properly?
Upvotes: 0
Views: 159
Reputation: 1474
It looks like the Android support libraries are either not properly installed or not properly configured either in the solution or in the machine.
To identify if it's in the solution, try creating a new Xamarin forms blank app and test it. If that is not working and results in same issues, then check whether you have installed all the required support libraries for the Android correctly.
Refer the below document links for more details.
https://learn.microsoft.com/en-us/xamarin/get-started/installation/windows https://learn.microsoft.com/en-us/xamarin/android/get-started/installation/android-sdk?ide=vs&tabs=windows
If you think, it is already configured properly, then try doing a VisualStudio repair or uninstall and reinstall the visual studio again.
Note that you can also reconfigure the Android SDK manager alone if you are sure that your VisualStudio is fine and suspect that Android configuration is the problem.
I hope it helps.
Upvotes: 1