无法启动成功
求助!单元测试转账的操作,报如下问题:

@splix I have this question too. But I found that if I build on macOS, it only build /native/macos/*.dylib , so I use it to other OS like linux or windows, it will fail cause it can't load the correspond lib.
@kkww8090 what OS you build polkaj project and what OS you use it ?
@kkww8090 what OS you build polkaj project and what OS you use it ?
macOS 10.12.6
It builds the native lib only for the current OS.
But the official Jar (available through Maven or Github releases) includes binaries compiled for major OSes, i.e. it's multiplatform. You can download those jar instead of building local.
For that multiplatform lib it runs the compilation on different OSes, see here: https://github.com/emeraldpay/polkaj/blob/master/.github/workflows/publish.yaml#L11
Just realized, if it doesn't build automatically during gradle build it's probably because you don't have Rust compiler installed. Try rustup: https://rustup.rs/
@kkww8090 can you use cargo command? maybe compileRust fail at gradle