[mono-android] Unexpected Exception from System.Net.WebClient result
Jonathan Pryor
jonp at xamarin.com
Fri Jan 13 16:40:46 UTC 2012
On Jan 13, 2012, at 11:26 AM, subsembly wrote:
> So far I have only be running Debug builds with shared runtime on Android
> 2.3.3 or Android 2.3.4 only. According to the Visual Studio Help/About I am
> using Mono for Android 4.0.1.
Then that should be running armeabi-v7a on appropriate hardware.
On your SMP LG Optimus 2X, what is the output of this command?
adb shell getprop ro.product.cpu.abi
adb shell getprop ro.product.cpu.abi2
The ro.product.cpu.abi output should be armeabi-v7a...
> I have to admit, that I don't have a clue whether I should check "armeabi"
> or "armeabi-v7a" or both on the Application settings tab. Currently I only
> have "armeabi" checked. I intend to target all Android Smartphones starting
> with Android 2.1. So which combination of "armeabi" and/or "armeabi-v7a"
> would you recommend?
I can't find any document requiring armeabi-v7a as the primary ABI, so you may need to include armeabi to target everything running Android 2.1+.
The armeabi runtime doesn't utilize SMP devices; it ties all execution to a single core. Thus, if you run an armeabi runtime on your Optimus or a Xoom, you'll only ever use 1 CPU. If SMP use is important to you, you'll need to also include the armeabi-v7a runtime as well.
For reference/comparison, Firefox Mobile requires Android 2.1+ but only runs on armeabi-v7a platforms. It might not be an acceptable limitation for your app, but it apparently is for Mozilla. ;-)
- Jon
More information about the Monodroid
mailing list