Successfully initlized SDK but when I tried to get Instance the method show Unresolved
private lateinit var fireblocksSdk : Fireblocks
private lateinit var deviceId : String
private lateinit var fireblocksOptions : FireblocksOptions
private lateinit var fireblocksMessageHandler: FireblocksMessageHandlerImpl
private lateinit var fireblocksKeyStorage : FireblocksKeyStorageImpl
private fun initilizeFireblockSDK() {
fireblocksSdk = Fireblocks.initialize(
context = applicationContext,
deviceId = deviceId,
messageHandler = fireblocksMessageHandler,
keyStorage = fireblocksKeyStorage,
fireblocksOptions = fireblocksOptions,
)
var status = fireblocksSdk.getCurrentStatus() // show Status(deviceStatus=INITIALIZED, error=null)
}
private fun getInstance() {
Log.d("deviceId","==== run getInstance ")
var instance = fireblocksSdk.getInstance(deviceId);
}
Fireblocks.getInstance(deviceId).generateMPCKeys(algorithms = setOf(Algorithm.MPC_ECDSA_SECP256K1))
java.lang.NoSuchMethodError: No static method generateMPCKeys$default(Lcom/fireblocks/sdk/Fireblocks;Ljava/util/Set;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V in class Lcom/fireblocks/sdk/Fireblocks; or its super classes (declaration of 'com.fireblocks.sdk.Fireblocks' appears in /data/app/~~6ZfcT_gQCn0faXOX7_1mHQ==/com.example.fireblockapp-VmBJwTeifZr66zztqB81ug==/base.apk)
at com.example.fireblockapp.MainActivity.generateMPCKeys(MainActivity.kt:79)