[BRLTTY] Building for android
payman shaykhmehdi
payman.shaykhmehdi at gmail.com
Tue May 10 06:38:02 EDT 2022
I've managed to successfully build the apk.
After upgrading gradle using gradle wrapper :
(in brltty/Android/Gradle/ ) : ./gradlew wrapper --gradle-version=7.3.1
--distribution-type=bin
running `cfg-android` gives the following errors :
/mk4build: 104: ./mk4build: let: not found
> ./mk4build: 104: ./mk4build: let: not found
> ./mk4build: 111: cd: can't cd to /tmp/mk4build.20220510-144920.6OhjnT
`let` is installed on my system and I can't understand this error!
So just for curiosity I checked out the commit with "BRLTTY-6.4.1" tag and
with the following steps the build was successful :
$ git checkout BRLTTY-6.4.1
> $ ./autogen
> $ export ANDROID_NDK=/path/to/Android/Sdk/ndk-bundle
> $ export ANDROID_SDK_ROOT=/path/to/Android/Sdk
> $ ./cfg-android
> $ cd Android/Gradle
> $ make
Now I've several apks in "Android/Gradle/app/build/outputs/apk/debug/",
which one should I install? Is that *app-universal-debug.apk ?*
On Mon, May 9, 2022 at 4:05 PM Dave Mielke <Dave at mielke.cc> wrote:
> [quoted lines by payman shaykhmehdi on 2022/05/08 at 08:49 +0430]
>
> I gried specifying gradle 4.4.1 and am getting:
>
> Could not resolve all artifacts for configuration ':classpath'.
> Could not find com.android.tools.build:gradle:4.4.1.
> Searched in the following locations:
>
> https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/4.4.1/gradle-4.4.1.pom
>
> https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/4.4.1/gradle-4.4.1.pom
>
> https://jcenter.bintray.com/com/android/tools/build/gradle/4.4.1/gradle-4.4.1.pom
>
> https://plugins.gradle.org/m2/com/android/tools/build/gradle/4.4.1/gradle-4.4.1.pom
>
> So I guess 4.4.1 is no longer available either. Do you know of any
> additional repositories we should be looking in?
>
> --
> I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
> Dave Mielke | 2213 Fox Crescent | WebHome: http://Mielke.cc/
> EMail: Dave at Mielke.cc | Ottawa, Ontario | Twitter: @Dave_Mielke
> Phone: +1 613 726 0014 | Canada K2A 1H7 |
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at brltty.app
> For general information, go to: http://brltty.app/mailman/listinfo/brltty
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://brltty.app/pipermail/brltty/attachments/20220510/928661b8/attachment.html>
More information about the BRLTTY
mailing list