You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I see, like described in v0.41.0, some dependecies updates. Something leads to the android compatibility issues with relative old versions (e.g. try do following on API less than 28 (Android 9)):
AccountConverter.enableMuxed().encode("account")
java.lang.NoSuchMethodError: No static method isEmpty([B)Z in class Lorg/apache/commons/codec/binary/BinaryCodec; or its super classes (declaration of 'org.apache.commons.codec.binary.BinaryCodec' appears in /system/framework/org.apache.http.legacy.boot.jar)
at org.apache.commons.codec.binary.BaseNCodec.decode(BaseNCodec.java:407)
at org.apache.commons.codec.binary.BaseNCodec.decode(BaseNCodec.java:451)
at org.stellar.sdk.StrKey.decodeVersionByte(StrKey.java:142)
What did you expect to see?
It cannot run successfully below Android API 28.
What did you see instead?
It run successfully below Android API 28.
diagnosis
The Android framework includes a low version of commons-codec, which does not include the Base32 module, while our library uses the Base32 module. See https://stackoverflow.com/a/29833101
Possible solutions
Remove commons-codec from SDK dependencies list
Provide shadow jar
The text was updated successfully, but these errors were encountered:
What version are you using?
0.41.0
What did you do?
We received feedback from user vicm on Discord:
https://discord.com/channels/897514728459468821/1082043640140017664/1154120313408335952
What did you expect to see?
It cannot run successfully below Android API 28.
What did you see instead?
It run successfully below Android API 28.
diagnosis
The Android framework includes a low version of commons-codec, which does not include the Base32 module, while our library uses the Base32 module. See https://stackoverflow.com/a/29833101
Possible solutions
The text was updated successfully, but these errors were encountered: