Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# Introduction to Xamarin Cross-platform Development with Xamarin Debugging the Android App

James Hammond
James Hammond
1,297 Points

Cannot run Emulator through visual studio with basic project


I am having an issue with building the project and running on android emulator.

The project doesn't even build (it's a brand new project, i havnt touched the code)

"There were deployment errors. Continue?" is the option i have.

So I havnt been able to see anything on the emulator at all. Just a black screen

Deploy failed.

Seth Kroger
Seth Kroger
56,412 Points

This is a brand new course and I haven't worked with Xamarin before, but Android emulators will usually boot up like a regular phone/tablet and display a splash screen then a lock screen. I take it that's not happening? Are there messages that describe the errors?

1 Answer

Javier Mera
Javier Mera
16,472 Points

It sounds that if it fails to deploy, you will never see the installed app on the emulator. I found this on stackoverflow, https://stackoverflow.com/questions/40694554/getting-there-were-deployment-errors-continue-error-in-visual-studio-2015-xa

I initially had an error after installing all xamarin dependencies in VS 2017 related to API 25 not being installed on my system, and that the project was targeting API 25. I simply downloaded the tools for 25 through the Android SDK manager, and it worked.