From 3678e9aa8d5c5aae10b7a252ef7c38f2e913cf28 Mon Sep 17 00:00:00 2001 From: TheOneWithTheBraid Date: Sat, 13 Nov 2021 15:43:46 +0100 Subject: [PATCH 1/2] Migrated gradle to more recent versions --- build.gradle | 6 +++++- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index d3ff69d..99efec5 100644 --- a/build.gradle +++ b/build.gradle @@ -2,10 +2,12 @@ buildscript { repositories { + google() + mavenCentral() jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:1.1.0' + classpath 'com.android.tools.build:gradle:3.1.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -14,6 +16,8 @@ buildscript { allprojects { repositories { + google() + mavenCentral() jcenter() } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 0b17bf4..865bd63 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=http\://services.gradle.org/distributions/gradle-2.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip From 258b8fd0ed7f3d3c14f48a3922c2e205b63a7a06 Mon Sep 17 00:00:00 2001 From: TheOneWithTheBraid Date: Sat, 13 Nov 2021 15:59:53 +0100 Subject: [PATCH 2/2] Added linux build tools warning --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index fab71a0..e612654 100644 --- a/README.md +++ b/README.md @@ -23,3 +23,15 @@ on the command line: To start the sample, say "ok glass, show me a demo" from the Glass clock screen or use the touch menu. + +## Notices for Linux users + +The Android SDK build tools ship outdated 32bit binaries in version +20.0.0. Users of modern Linux kernels in 64bit mode might need to install +additional libraries to run the build tools. In particular, this is: + +- `util-linux` (32bit) +- `clang` (32bit) +- `zstd` (32bit) +- `zlib` (32bit) +