Skip to content

Instantly share code, notes, and snippets.

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
> java.lang.reflect.InvocationTargetException (no error message)
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
/*
* Code of this class belongs to https://github.com/horizontalsystems/ethereum-kit-android library;
* Modified by Sapien Wallet team on 10.12.2020
* */
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import io.horizontalsystems.ethereumkit.api.models.ApiError
import io.horizontalsystems.ethereumkit.core.EthereumKit
import io.horizontalsystems.ethereumkit.core.removeLeadingZeros
/*
* Code of this class belongs to https://github.com/horizontalsystems/ethereum-kit-android library;
* Modified by Sapien Wallet team on 10.12.2020
* */
import com.google.gson.Gson
import com.google.gson.JsonElement
import com.google.gson.reflect.TypeToken
import com.sapien.wallet.di.modules.ApiKeyModule
import com.sapien.wallet.di.modules.retrofit.GsonModule