From ee8ec97ab4cefa824ec01303cb51ae5be18d6d36 Mon Sep 17 00:00:00 2001 From: Malloc Voidstar <1284317+AlyoshaVasilieva@users.noreply.github.com> Date: Fri, 10 Dec 2021 09:10:39 -0800 Subject: [PATCH 1/2] Bump ndk-glue version in Android example --- examples/android/cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/android/cargo.toml b/examples/android/cargo.toml index a7ff289..3585cca 100644 --- a/examples/android/cargo.toml +++ b/examples/android/cargo.toml @@ -10,5 +10,5 @@ edition = "2018" crate-type = ["dylib"] [dependencies] -ndk-glue = "0.2" +ndk-glue = "0.5" tts = { path = "../.." } \ No newline at end of file From 5e9c98b0639cf03c1896f7164d75e5c2870ce49a Mon Sep 17 00:00:00 2001 From: Malloc Voidstar <1284317+AlyoshaVasilieva@users.noreply.github.com> Date: Fri, 10 Dec 2021 09:31:21 -0800 Subject: [PATCH 2/2] Also bump gradle.plugin.com.github.willir.rust:plugin 0.3.3 doesn't work with cargo-ndk 2+ --- examples/android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/android/build.gradle b/examples/android/build.gradle index dd9a15c..27b39c3 100644 --- a/examples/android/build.gradle +++ b/examples/android/build.gradle @@ -11,7 +11,7 @@ buildscript { dependencies { classpath "com.android.tools.build:gradle:4.1.1" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath "gradle.plugin.com.github.willir.rust:plugin:0.3.3" + classpath "gradle.plugin.com.github.willir.rust:plugin:0.3.4" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }