I can confirm that installing from Visual Studio on to a motorola xoom running
HC 3.2.1, the application does load and run and seems to do everything that it
is suppossed to do. Wally
From: [email protected]
To: [email protected]
Date: Mon, 3 Oct 2011 20:35:34 -0400
Subject: [mono-android] mono 4 android 1.9.0 issues
I finally have installed m4a and gotten around to working with. I have
downloaded the samples from github. I have found the following issues:The
github samples don't compile on my mac running lion. The issue seems to be
that there is a call to SetContentView(Resource.Layout.main) in
MainActivity.cs. This needs to be Resource.Layout.Main. I have also noted
that the honeycomb samples don't use the .axml file extension, but use .xml.
Not a biggie, just thought I would mention it since I like intellisense.
:-)When I attempt to install the compiled app into an emulator session, I get
the message below in mono develop. I have a fairly small emulator session
setup (400x800). sorry, but i left my tablet at the office, so I can't test it
on a device right now.So far, my sample code that ran in 1.x runs now.
Error Message from Monodevelop in the Application output window:
Setting debug propertyForwarding debugger portForwarding console portStarting:
Intent { act=android.intent.action.MAIN
cmp=com.example.monodroid.hcgallery/.MainActivity }D/AndroidRuntime( 432):
Shutting down VME/AndroidRuntime( 432): FATAL EXCEPTION: mainE/AndroidRuntime(
432): java.lang.RuntimeException: Unable to get provider
mono.MonoRuntimeProvider: java.lang.RuntimeException: Unable to find
application Mono.Android.DebugRuntime or
Mono.Android.Platform.ApiLevel_12!E/AndroidRuntime( 432): at
android.app.ActivityThread.installProvider(ActivityThread.java:3981)E/AndroidRuntime(
432): at
android.app.ActivityThread.installContentProviders(ActivityThread.java:3733)E/AndroidRuntime(
432): at
android.app.ActivityThread.handleBindApplication(ActivityThread.java:3689)E/AndroidRuntime(
432): at
android.app.ActivityThread.access$1200(ActivityThread.java:122)E/AndroidRuntime(
432): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1062)E/AndroidRuntime(
432): at
android.os.Handler.dispatchMessage(Handler.java:99)E/AndroidRuntime( 432): at
android.os.Looper.loop(Looper.java:132)E/AndroidRuntime( 432): at
android.app.ActivityThread.main(ActivityThread.java:4123)E/AndroidRuntime(
432): at java.lang.reflect.Method.invokeNative(Native
Method)E/AndroidRuntime( 432): at
java.lang.reflect.Method.invoke(Method.java:491)E/AndroidRuntime( 432): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)E/AndroidRuntime(
432): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)E/AndroidRuntime(
432): at dalvik.system.NativeStart.main(Native Method)E/AndroidRuntime(
432): Caused by: java.lang.RuntimeException: Unable to find application
Mono.Android.DebugRuntime or
Mono.Android.Platform.ApiLevel_12!E/AndroidRuntime( 432): at
mono.MonoRuntimeProvider.attachInfo(MonoRuntimeProvider.java:30)E/AndroidRuntime(
432): at
android.app.ActivityThread.installProvider(ActivityThread.java:3978)E/AndroidRuntime(
432): ... 12 moreE/AndroidRuntime( 432): Caused by:
android.content.pm.PackageManager$NameNotFoundException:
Mono.Android.Platform.ApiLevel_12E/AndroidRuntime( 432): at
android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:207)E/AndroidRuntime(
432): at
mono.MonoRuntimeProvider.attachInfo(MonoRuntimeProvider.java:22)E/AndroidRuntime(
432): ... 13 moreI/Process ( 432): Sending signal. PID: 432 SIG: 9
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid