From 45e1de2e14c2a6479b594e0ee886843d4d107f71 Mon Sep 17 00:00:00 2001 From: valentunn <70131744+valentunn@users.noreply.github.com> Date: Tue, 9 Apr 2024 18:43:12 +0300 Subject: [PATCH] Fix native lib crash (#81) --- build.gradle | 2 +- sr25519-java/Cargo.toml | 1 - substrate-sdk-android/build.gradle | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 5a4e50b3..5ced0971 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ buildscript { ext { // App version - versionName = '2.0.0' + versionName = '2.0.1' versionCode = 1 // SDK and tools diff --git a/sr25519-java/Cargo.toml b/sr25519-java/Cargo.toml index 8a223ba7..511bda61 100644 --- a/sr25519-java/Cargo.toml +++ b/sr25519-java/Cargo.toml @@ -13,7 +13,6 @@ schnorrkel = { version="<=0.9.1" } [profile.release] lto = true -opt-level = "s" [lib] name = "sr25519java" diff --git a/substrate-sdk-android/build.gradle b/substrate-sdk-android/build.gradle index 0c053c43..ea93cb54 100644 --- a/substrate-sdk-android/build.gradle +++ b/substrate-sdk-android/build.gradle @@ -58,7 +58,6 @@ cargo { module = "../sr25519-java/" libname = "sr25519java" targets = ["arm", "arm64", "x86", "x86_64"] - profile = "release" } tasks.whenTaskAdded { task ->