<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> 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.</blockquote><div><br></div><div>Changing the first line of script to  #!/bin/bash solves the problem, and after that build was successful.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 10, 2022 at 6:56 PM Dave Mielke <<a href="mailto:Dave@mielke.cc">Dave@mielke.cc</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[quoted lines by payman shaykhmehdi on 2022/05/10 at 15:08 +0430]<br>
<br>
>running `cfg-android` gives the following errors :<br>
><br>
>/mk4build: 104: ./mk4build: let: not found<br>
<br>
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.<br>
<br>
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.<br>
<br>
>Now I've several apks in  "Android/Gradle/app/build/outputs/apk/debug/",<br>
>which one should I install? Is that *app-universal-debug.apk ?*<br>
<br>
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.<br>
<br>
-- <br>
I believe the Bible to be the very Word of God: <a href="http://Mielke.cc/bible/" rel="noreferrer" target="_blank">http://Mielke.cc/bible/</a><br>
Dave Mielke            | 2213 Fox Crescent | WebHome: <a href="http://Mielke.cc/" rel="noreferrer" target="_blank">http://Mielke.cc/</a><br>
EMail: Dave@Mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke<br>
Phone: +1 613 726 0014 | Canada  K2A 1H7   |<br>
_______________________________________________<br>
This message was sent via the BRLTTY mailing list.<br>
To post a message, send an e-mail to: <a href="mailto:BRLTTY@brltty.app" target="_blank">BRLTTY@brltty.app</a><br>
For general information, go to: <a href="http://brltty.app/mailman/listinfo/brltty" rel="noreferrer" target="_blank">http://brltty.app/mailman/listinfo/brltty</a><br>
</blockquote></div>