Bug 3774 - Unable to Connect to Debugger
Summary: Unable to Connect to Debugger
Status: CLOSED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 4.0
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-03-06 17:41 UTC by Ian
Modified: 2012-03-12 12:44 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
CLOSED FIXED

Description Ian 2012-03-06 17:41:50 UTC
Using MonoDroid 4.0.6 and MonoDevelop on a Mac.

I installed MonoDroid fresh and let it install the Android ADK and build the AVDs. MonoDroid 4.0.6 on a Mac with MonoDevelop 2.8.8.1

When we run a sample project it asks to select a Device to run on in the emulator, but even though they are running, nothing appears in the list to select, even starting a new emulator doesn't connect. Running adb kill-server and adb start-server has no effect usually. If you do this 10 times, you might get it to connect once.

Once connected it can't install the platform frame work even if we start the emulator with a -partition-size of 512. We verified that the AVD matched the minSDkVersion

Here's the error:

Installing the platform framework
1539 KB/s (16530851 bytes in 10.486s)
	pkg: /data/local/tmp/Mono.Android.Platform.apk
Failure [INSTALL_FAILED_OLDER_SDK]

Failed to install the platform framework

We use MonoTouch with our corp customers and it's solid, but at this time we can't recommend MonoDroid to our customers, it's just too unstable for production work.
Comment 1 Eric Beisecker 2012-03-11 20:29:45 UTC
I'm sorry you've been having trouble getting the emulators to show up in the Device selection list. This is a know issue and we're looking into it.

Have you verified the Build Target of your Project meets the API level of the emulator you are using? That error message seems to suggest this might be the issue.

To check the API level you are building against open the Project properties menu in MonoDevelop and under the 'Build->General' menu check the Target Framework you are building against.
Comment 2 Ian 2012-03-11 21:22:37 UTC
I came from an Java Android background and only changed the Manifest file. I didn't realize the References also need to match. Matching them both works.
Comment 3 Eric Beisecker 2012-03-12 12:43:57 UTC
Marking this as resolved.