axelnennker / droidlibindy Goto Github PK
View Code? Open in Web Editor NEWAn Android Studio project to test libindy on Android
An Android Studio project to test libindy on Android
Hello. Could you write what mobile device with what processor have you used for testing.
I have used Huawei p10 lite with processor Kirin 658 that is arm64-v8a and I had error while trying to create wallet
Wallet.createWallet("POOL", "walletOpen", "default", null, null).get();
Error
java.util.concurrent.ExecutionException: org.hyperledger.indy.sdk.IOException: An IO error occurred. at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:330) at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1892) at com.ledgerleopard.hyperledger.MainActivity.onCreate(MainActivity.java:99) at android.app.Activity.performCreate(Activity.java:6910) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2757) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2875) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1578) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:156) at android.app.ActivityThread.main(ActivityThread.java:6623) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832) Caused by: org.hyperledger.indy.sdk.IOException: An IO error occurred. at org.hyperledger.indy.sdk.IndyJava$API.checkCallback(IndyJava.java:90) at org.hyperledger.indy.sdk.wallet.Wallet.access$300(Wallet.java:22) at org.hyperledger.indy.sdk.wallet.Wallet$2.callback(Wallet.java:70) at java.lang.reflect.Method.invoke(Native Method) at com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:520) at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:551)
Hi Alex,
Trying to get deeper into libindy with Android client. I've successfully run your DroidLibIndy app, got the wallet created and opened. But when I'm trying to create and open the pool :
String poolName = PoolUtils.createPoolLedgerConfig();
PoolJSONParameters.OpenPoolLedgerJSONParameter config2 = new PoolJSONParameters.OpenPoolLedgerJSONParameter(null, null);
Pool pool = Pool.openPoolLedger(poolName, config2.toJson()).get();
the application gets hunged for few minutes and then I'm getting TimeoutException.
Could you please point me in a possible direction to dig?
My Phone: Pixel 2xl ARM64, Android version: 9
019-06-15 05:37:14.817 17312-17312/com.zaka.wallet W/System.err: java.util.concurrent.ExecutionException: org.hyperledger.indy.sdk.ledger.TimeoutException: Timeout
Where does this file comes from? I have built the libraries forllowing these instructions
and I am only getting a libindy.so libindy.a and libindy_shared.so files. When I try to run the project however I am getting an error
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.UnsatisfiedLinkError: dlopen failed: library "libgnustl_shared.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1657)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.