mail-archives/monodroid/2011-December/007675.html

182 строки
5.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [mono-android] Cannot Deply Android App from Visual Studio 2010 and MonoDevelop 2.8.4.2 to AVD
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Cannot%20Deply%20Android%20App%20from%20Visual%20Studio%202010%20and%0A%20MonoDevelop%202.8.4.2%20to%20AVD&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="007691.html">
<LINK REL="Next" HREF="007686.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[mono-android] Cannot Deply Android App from Visual Studio 2010 and MonoDevelop 2.8.4.2 to AVD</H1>
<B>Cracksoldier</B>
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Cannot%20Deply%20Android%20App%20from%20Visual%20Studio%202010%20and%0A%20MonoDevelop%202.8.4.2%20to%20AVD&In-Reply-To="
TITLE="[mono-android] Cannot Deply Android App from Visual Studio 2010 and MonoDevelop 2.8.4.2 to AVD">cracksoldier at secure-mail.biz
</A><BR>
<I>Thu Dec 8 08:59:44 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="007691.html">[mono-android] Using MySQL Connector
</A></li>
<LI>Next message: <A HREF="007686.html">[mono-android] Cannot Deply Android App from Visual Studio 2010 and MonoDevelop 2.8.4.2 to AVD
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7675">[ date ]</a>
<a href="thread.html#7675">[ thread ]</a>
<a href="subject.html#7675">[ subject ]</a>
<a href="author.html#7675">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Today I tried the Evaluation Version of &quot;Mono for Android&quot; But everytime I
try to
deploy the Test Application(just the source code of a new Projekt without
any changes)
but everytime I get this error.
The code is this:
====================Begin Code=====================
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace MonoAndroidApplicationTest
{
[Activity(Label = &quot;MonoAndroidApplicationTest&quot;, MainLauncher = true,
Icon = &quot;@drawable/icon&quot;)]
public class Activity1 : Activity
{
int count = 1;
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
// Set our view from the &quot;main&quot; 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(&quot;{0}
clicks!&quot;, count++); };
}
}
}
=========================End Code================================
When I try do deploy the App from Visual Studio to the AVD I got these 2
screens:
<A HREF="http://mono-for-android.1047100.n5.nabble.com/file/n5058858/error_mono.png">http://mono-for-android.1047100.n5.nabble.com/file/n5058858/error_mono.png</A>
<A HREF="http://mono-for-android.1047100.n5.nabble.com/file/n5058858/error_mono2.png">http://mono-for-android.1047100.n5.nabble.com/file/n5058858/error_mono2.png</A>
and if I try MonoDevelop I got this Message
Getting package list from device
Installing shared runtime package on device
===========================Begin Debug=======================
pkg: /data/local/tmp/Mono.Android.DebugRuntime-debug.apk
There is not enough storage space on the device to store the package.
62 KB/s (25638810 bytes in 403.094s)
Installing the platform framework
=======================End Debug=============================
I already set the Space of the Virtual device to 1 gigabyte.
I use Windows 7 Enterprise x64 with SP1. I tried every of the precreated
Mono for Android AVDs
and my own created AVDs but it doesnt work on any Virtual Device.
Best Regards
--
View this message in context: <A HREF="http://mono-for-android.1047100.n5.nabble.com/Cannot-Deply-Android-App-from-Visual-Studio-2010-and-MonoDevelop-2-8-4-2-to-AVD-tp5058858p5058858.html">http://mono-for-android.1047100.n5.nabble.com/Cannot-Deply-Android-App-from-Visual-Studio-2010-and-MonoDevelop-2-8-4-2-to-AVD-tp5058858p5058858.html</A>
Sent from the Mono for Android mailing list archive at Nabble.com.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="007691.html">[mono-android] Using MySQL Connector
</A></li>
<LI>Next message: <A HREF="007686.html">[mono-android] Cannot Deply Android App from Visual Studio 2010 and MonoDevelop 2.8.4.2 to AVD
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7675">[ date ]</a>
<a href="thread.html#7675">[ thread ]</a>
<a href="subject.html#7675">[ subject ]</a>
<a href="author.html#7675">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
mailing list</a><br>
</body></html>