Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Android device list is empty in Visual Studio. Can't deploy to device or emulator.

$
0
0

After installing Xamarin.iOS my Xamarin.Android started acting out. When I first open a project in Visual Studio, I get a message box saying "Error populating device list" (see attachment). When I click OK, exact same message box comes up again. In Visual Studio the list of devices is now empty (see attachment). When I try to build a project, it all works great. However, when I try to deploy to device it fails, see the output window:

1>------ Deploy started: Project: Sample.Android, Configuration: Debug Any CPU ------
1>Error: Object reference not set to an instance of an object.
========== Build: 0 succeeded, 0 failed, 3 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

Build Summary
-------------
00:00.002 - Success - Debug Any CPU - ..\..\src\ZXing.Net\zxing.monoandroid.csproj
00:00.000 - Success - Debug Any CPU - ..\..\src\ZXing.Net.Mobile\ZXing.Net.Mobile.Android.csproj
00:00.000 - Failed  - Debug Any CPU - Sample.Android\Sample.Android.csproj

Total build time: 00:00.002

========== Build: 2 succeeded or up-to-date, 1 failed, 0 skipped, Completed at 1/24/2014 2:49:51 PM ==========

Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>