Unhandled exception launching BarcodeSample1 on my MC32N0

// Expert user has replied.
M Miquel Ferrer 3 years 7 months ago
13 2 0

I have installed the EMDK extension for xamarin and downloaded the Barcode Sample solution.
 
The first thing I had to modify for the app to launch was changing this line in the manifest

to this

 
But now i have a strange unhandled exception when trying to launch the sample app (no code changed whatsoever, just opened and launched)
 
InspectorDebugSession(2): HandleTargetEvent: ThreadStarted
InspectorDebugSession(2): StateChange: BreakdanceInvoking -> BreakdanceStarted
06-13 09:44:44.760 D/Mono    ( 3579): DllImport searching in: '__Internal' ('(null)').
06-13 09:44:44.760 D/Mono    ( 3579): Searching for 'java_interop_jnienv_call_static_void_method_a'.
06-13 09:44:44.760 D/Mono    ( 3579): Probing 'java_interop_jnienv_call_static_void_method_a'.
06-13 09:44:44.760 D/Mono    ( 3579): Found as 'java_interop_jnienv_call_static_void_method_a'.
06-13 09:44:44.767 D/Mono    ( 3579): Assembly Ref addref Symbol.XamarinEMDK[0x4ed582f8] -> mscorlib[0x513661b8]: 13
06-13 09:44:44.767 D/Mono    ( 3579): Assembly Ref addref Symbol.XamarinEMDK[0x4ed582f8] -> Mono.Android[0x51b6d980]: 3
06-13 09:44:44.775 I/dalvikvm( 3579): Failed resolving Lmd5b5a2873b3a6bebca77defeb1514ac08a/MainActivity; interface 271 'Lcom/symbol/emdk/EMDKManager$EMDKListener;'
06-13 09:44:44.775 W/dalvikvm( 3579): Link of class 'Lmd5b5a2873b3a6bebca77defeb1514ac08a/MainActivity;' failed
06-13 09:44:44.775 D/AndroidRuntime( 3579): Shutting down VM
06-13 09:44:44.775 W/dalvikvm( 3579): threadid=1: thread exiting with uncaught exception (group=0x41211300)
InspectorDebugSession(2): HandleTargetEvent: UnhandledException
An unhandled exception occured.
 
I have tried installing an older version of the emdk extension (2.1 instead of 2.4) but without luck
 
Any clue?
 
Thanks!!
 
EDIT: I've tried to update the EMDK device runtime using EMDKOSUpdateApp V6.4 but an error occurs ("Error: The EMDK update is not supported on this device")

Please Register or Login to post a reply

2 Replies

C Charitha Mallawaarachchi

Hi Miquel,

MC32 JB is not supported to run Xamarin as Xamarin supported only from API 19 onwards.

Just to confirm: If it is a MC32 L device, it is not supported to use OS Updates. Let us know the OS build number and the EMDKService version to investigate why it is not working in the device. (settings >> About >> build number) (settings >> apps >> all apps >> EMDK Service >> version number).

Thanks,
Charith.

M Miquel Ferrer

Hi there,

the build number is
00-4AJ11-J-0000-0000-00-M1-112214

And the EMDKService app is not installed.
I installed the EMDKOSUpdate app using 2.4 and 2.0.1 versions without luck, it says it is an incompatible device.

I have tried implementing the interface in a separate class, as stated here, and by now i have no exceptions, but i still haven't tried to scan anything
EMDK for Android Programming Practices - Zebra Technologies Techdocs

CONTACT
Can’t find what you’re looking for?