Open xingrz opened 4 years ago
@xingrz Thank you for the information. I've created a bug and we will be investigating.
I'm currently experiencing the same bug with version 1.6.1 (Using a Xamarin.Android binding created from the aar
file)
[System.err] java.lang.NoSuchMethodError: no non-static method "Lcom/microsoft/connecteddevices/remotesystems/commanding/nearshare/NearShareSenderEnumAsyncOperation;.complete(ILjava/lang/String;)V"
[libc++abi] terminating with uncaught exception of type ConnectedDevices::WrappedPlatformSpecificException
EDIT This error occurs because the c++ „backend” tries to call a non-existing java method via JNI. You can quite easily patch the java bytecode of this lib (See linked issue below)…
Version:
com.microsoft.connecteddevices:connecteddevices-sdk:1.5.0
Log:
Inspecting the
NearShareSenderEnumAsyncOperation
class, there's only a methodvoid complete(int value)
. Not anything likevoid complete(int value, String foo)
.Tested
com.microsoft.connecteddevices:connecteddevices-sdk:1.3.0
is ok but broken since1.3.2
.