Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8587625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:36:48+00:00 2026-06-11T22:36:48+00:00

I am trying to get mono for android (aka monodroid) working within a windows

  • 0

I am trying to get mono for android (aka monodroid) working within a windows 7 virtual machine on virtualbox but I am having issues with the adb connection to my phone. When I run “adb devices” to list the devices present it show up no problem, but when I attempt to run an “adb install”, logcat, or push it hangs. Currently there is a bug in virtualbox which applies to this but I was hoping someone more knowledgeable than myself would have a workaround.

https://www.virtualbox.org/ticket/6620

Of coarse non of this would be an issue if Xamarin released a linux port of their product or if I got familiar with Java, but I suppose those are slightly different issues.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T22:36:49+00:00Added an answer on June 11, 2026 at 10:36 pm

    Brian, one workaround you might consider is to make your VM host an ADB host as well. Then you can just connect your VM client to it over TCP / IP. Here’s the general idea for that setup:

    1. Install the Android SDK on the host machine. You should only require the platform-tools package which includes adb.
    2. Don’t allow your VM client to take ownership of the Android device, so disable any VirtualBox USB filter rules you have and it also wouldn’t hurt to then detach and reattach the device.
    3. From your VM client, run adb kill-server. Make it a tskill adb for certainty. If you have any running instances of Eclipse, you’ll want to shut those down first because it’ll actually launch adb in the background. Don’t skip this step.
    4. From the host, execute adb devices. If all goes well (and it should), you’ll see your device listed. It should look something like this (note the port number and sorry for the mangling):

      * daemon not running. starting it now on port 5037 *
      * daemon started successfully *
      List of devices attached
      015d2994ed200409    device
      

    At this point, your host should have an ADB server running at port 5037. You can check this from the VM client by running telnet 10.0.2.2 5037, where 10.0.2.2 is the default IP for VirtualBox hosts and 5037 is the default ADB port noted above.

    1. Now you must either forward the ports from your host to your VM client, or otherwise connect ADB directly to your host IP:port. If you’re like me, you’ll find the ADBHOST and ANDROID_ADB_SERVER_PORT variables to be poorly documented and easy to screw up. For this reason, consider simple port fowarding over ssh (maybe via Cygwin) like so from the VM client:

      autossh -nNL5037:localhost:5037 -oExitOnForwardFailure=yes 10.0.2.2
      
    2. Finally, run adb devices from your VM client. If you see “daemon not running,” it means your port fowarding is screwed up. Otherwise you should see your device and be able to logcat all day. One noteworthy point is that you won’t have an adb daemon running on your VM client, except for when you’re actually using the debug bridge, of course.

    I’ve used a similar mechanism for debugging devices over the network that are connected to remote machines and it worked well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get the local IP address of my Android device using Mono
I'm trying to get a global hotkey working in Linux using Mono. I found
I'm trying to get started using agsXMPP , but I'm having some problems. I'm
I'm trying to use use code get a screenshot in Mono C# but I'm
I'm trying to get a MVC3 application working under mono, and everything was going
I'm trying to create a Mono -for-Android application in MonoDevelop . I'm on Windows
in Mono for Android I am trying to get the screen resolution of my
It seems I am one of the few trying to get Mono's mod_mono to
I am trying get all html links within a string and replace them using
I am trying get all html links within a string and replace them using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.