Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid App developement and Error in monodevelop
    text
    copied!<p>I have written a hello world app in monodevelop(version 3.05) and trying to run it on emulator. Program is compiled successfully but when I try to Run it it gives following error.</p> <pre><code> Detecting installed packages Installing shared runtime Deployment failed. Internal error </code></pre> <p>I have installed all prerequisites.</p> <pre><code> 1. mono for Android 2. mono framework 3. gtk# 4. Android SDK </code></pre> <p><img src="https://i.stack.imgur.com/XwXMf.png" alt="I install all packages through SDK Manager"></p> <p>Following is code.</p> <pre><code> using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace myAndroid { [Activity (Label = "myAndroid", MainLauncher = true)] public class Activity1 : Activity { int count = 1; protected override void OnCreate (Bundle bundle) { base.OnCreate (bundle); // Set our view from the "main" layout resource SetContentView (Resource.Layout.Main); // Get our button from the layout resource, // and attach an event to it Button button = FindViewById&lt;Button&gt; (Resource.Id.myButton); button.Click += delegate { button.Text = string.Format ("{0} clicks!", count++); }; } } } </code></pre> <p>Edit: .Net 2.0 .Net 4.0 visual studio 2010 express are already installed on my computer. I run visual studio 2005 as administrator on windows 7 but monodevelop does not give me this option to run as administrator if this a problem related to permission rights.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload