[BRLTTY] Building for android

payman shaykhmehdi payman.shaykhmehdi at gmail.com
Sat May 14 00:16:59 EDT 2022


>
>  You should probably be building from master anyway. In fact, I'd
> appreciate it if you'd give that a try in case you encounter more problems.
> If you do, it'd be nice to address them before 6.5 is released.


Changing the first line of script to  #!/bin/bash solves the problem, and
after that build was successful.

On Tue, May 10, 2022 at 6:56 PM Dave Mielke <Dave at mielke.cc> wrote:

> [quoted lines by payman shaykhmehdi on 2022/05/10 at 15:08 +0430]
>
> >running `cfg-android` gives the following errors :
> >
> >/mk4build: 104: ./mk4build: let: not found
>
> The let command is in bash but not in the POSIX shell. If a system has
> /bin/sh symlinked to /bin/bash (like mine does) then this problem does't
> occur, but when it's symlinked to /bin/dash then it does. The proper
> solution isn't to change the symlink, but, rather, to fix the first line in
> the script to specify #!/bin/bash rather than #!/bin/sh. I've been fixing
> those slowly.
>
> The mk4build script was fixed between 6.4 and now. You should probably be
> building from master anyway. In fact, I'd appreciate it if you'd give that
> a try in case you encounter more problems. If you do, it'd be nice to
> address them before 6.5 is released.
>
> >Now I've several apks in  "Android/Gradle/app/build/outputs/apk/debug/",
> >which one should I install? Is that *app-universal-debug.apk ?*
>
> Either the universal one or the one that's specifically for your
> architecture. The universal one can be used for any architecture because it
> contains all of the architecture-specific ones - which makes it much
> larger. I think, therefore, that you should be using the
> architecture-specific one.
>
> --
> 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/20220514/2aaf0295/attachment.html>


More information about the BRLTTY mailing list