7

So I am needing to do some debugging with Xamarin Android. This wouldn't be such a problem if the emulator wasn't so slow. So, I looked at setting up the x86 emulator, but because I'm running Xamarin within VMWare (host machine is Linux), that won't work. My best bet is to install either the x86 accelerated android, or use something like Android-x86 from my host machine.

How could I get Xamarin to connect to a device that not's running on the same machine though?

7
  • I to am using Xarmin and I found that coding on an emulator was painful. I strongly recomend you debug on a phone if you have access to one. Commented Aug 15, 2013 at 14:59
  • I do, but I never had any luck getting Xamarin debugging to work on a physical device either :/ Currently chasing down how to fix one of it's many bugs that's completely blocking me from doing anything though Commented Aug 15, 2013 at 15:01
  • Are you using the xarmin IDE? Commented Aug 15, 2013 at 15:03
  • I'm using both XamarinStudio and Visual Studio... right now, Visual Studio can't open any Xamarin projects though for some reason (just constant "waiting for background operation to complete") Commented Aug 15, 2013 at 15:04
  • I have a Nexus 4 phone I can test it on, but I've never had any luck with getting debugging to work right. I can deploy release applications and such through Xamarin, but debugging them never works. Breakpoints and such are just never hit Commented Aug 15, 2013 at 15:06

2 Answers 2

8

It's possible to configure ADB to debug over the network instead of USB. Check out Xamarin's document titled Setup Device for Development, and scroll down to the section titled Connect the Device to Computer for directions on how to do so.

Sign up to request clarification or add additional context in comments.

Comments

0

This is pretty basic but have you enabled USB debugging on your Android phone?

http://www.wugfresh.com/faq/how-do-i-enable-usb-debugging-on-android-4-2-the-developer-options-menu-item-is-gone/

follow those instructions if you havent...

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.