зеркало из https://github.com/mono/mail-archives.git
122 строки
5.5 KiB
HTML
122 строки
5.5 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE> [mono-android] Unable to build Mono for Android Samples?
|
||
|
</TITLE>
|
||
|
<LINK REL="Index" HREF="index.html" >
|
||
|
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Unable%20to%20build%20Mono%20for%20Android%20Samples%3F&In-Reply-To=">
|
||
|
<META NAME="robots" CONTENT="index,nofollow">
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||
|
<LINK REL="Previous" HREF="008113.html">
|
||
|
<LINK REL="Next" HREF="008106.html">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
<H1>[mono-android] Unable to build Mono for Android Samples?</H1>
|
||
|
<B>efontana</B>
|
||
|
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Unable%20to%20build%20Mono%20for%20Android%20Samples%3F&In-Reply-To="
|
||
|
TITLE="[mono-android] Unable to build Mono for Android Samples?">eric at fontanas.net
|
||
|
</A><BR>
|
||
|
<I>Wed Dec 28 09:46:32 EST 2011</I>
|
||
|
<P><UL>
|
||
|
<LI>Previous message: <A HREF="008113.html">[mono-android] How to navigate to anther page from activity1 class
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="008106.html">[mono-android] Unable to build Mono for Android Samples?
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#8105">[ date ]</a>
|
||
|
<a href="thread.html#8105">[ thread ]</a>
|
||
|
<a href="subject.html#8105">[ subject ]</a>
|
||
|
<a href="author.html#8105">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
<HR>
|
||
|
<!--beginarticle-->
|
||
|
<PRE>I tried to build the API demo, getting these errors:
|
||
|
|
||
|
------ Build started: Project: ApiDemo, Configuration: Debug Any CPU ------
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\Graphics\Compass.cs(51,20):
|
||
|
error CS0117: 'Android.Hardware.SensorManager' does not contain a definition
|
||
|
for 'SensorOrientation'
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\Text\LogTextBox.cs(28,39):
|
||
|
error CS1502: The best overloaded method match for
|
||
|
'Android.Widget.TextView.TextView(Android.Content.Context)' has some invalid
|
||
|
arguments
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\Text\LogTextBox.cs(28,45):
|
||
|
error CS1503: Argument 1: cannot convert from 'System.IntPtr' to
|
||
|
'Android.Content.Context'
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\OS\Sensors.cs(48,19):
|
||
|
error CS0117: 'Android.Hardware.SensorManager' does not contain a definition
|
||
|
for 'SensorAccelerometer'
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\OS\Sensors.cs(49,19):
|
||
|
error CS0117: 'Android.Hardware.SensorManager' does not contain a definition
|
||
|
for 'SensorMagneticField'
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\OS\Sensors.cs(50,19):
|
||
|
error CS0117: 'Android.Hardware.SensorManager' does not contain a definition
|
||
|
for 'SensorOrientation'
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\OS\Sensors.cs(60,19):
|
||
|
error CS0117: 'Android.Hardware.SensorManager' does not contain a definition
|
||
|
for 'SensorAccelerometer'
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\OS\Sensors.cs(61,19):
|
||
|
error CS0117: 'Android.Hardware.SensorManager' does not contain a definition
|
||
|
for 'SensorMagneticField'
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\OS\Sensors.cs(62,19):
|
||
|
error CS0117: 'Android.Hardware.SensorManager' does not contain a definition
|
||
|
for 'SensorOrientation'
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\OS\Sensors.cs(199,35):
|
||
|
error CS0117: 'Android.Hardware.SensorManager' does not contain a definition
|
||
|
for 'SensorAccelerometer'
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\OS\Sensors.cs(207,41):
|
||
|
error CS0117: 'Android.Hardware.SensorManager' does not contain a definition
|
||
|
for 'SensorMagneticField'
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\OS\Sensors.cs(215,36):
|
||
|
error CS0117: 'Android.Hardware.SensorManager' does not contain a definition
|
||
|
for 'SensorMagneticField'
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\Graphics\PictureLayout.cs(115,5):
|
||
|
warning CS0162: Unreachable code detected
|
||
|
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\Tutorials\FormWidgetsTutorial.cs(27,13):
|
||
|
error CS0079: The event 'Android.Views.View.KeyPress' can only appear on the
|
||
|
left hand side of += or -=
|
||
|
|
||
|
Compile complete -- 13 errors, 1 warnings
|
||
|
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
|
||
|
|
||
|
|
||
|
-----
|
||
|
iPhone and Android Developer
|
||
|
|
||
|
www.ericfontana.com
|
||
|
|
||
|
--
|
||
|
View this message in context: <A HREF="http://mono-for-android.1047100.n5.nabble.com/Unable-to-build-Mono-for-Android-Samples-tp5105395p5105395.html">http://mono-for-android.1047100.n5.nabble.com/Unable-to-build-Mono-for-Android-Samples-tp5105395p5105395.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="008113.html">[mono-android] How to navigate to anther page from activity1 class
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="008106.html">[mono-android] Unable to build Mono for Android Samples?
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#8105">[ date ]</a>
|
||
|
<a href="thread.html#8105">[ thread ]</a>
|
||
|
<a href="subject.html#8105">[ subject ]</a>
|
||
|
<a href="author.html#8105">[ 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>
|