Termux closes window immediately on Android 10 and 11 Since a few days I have problems with Termux on my Android devices.
On a Lenovo TB-X304F running Android 8.1.0 I got:
CANNOT LINK EXECUTABLE &quot;/data/data/com.termux/files/usr/bin/bash&quot;: library &quot;libandroid-support.so&quot; not found

[Process completed (signal 6) - press Enter]

I was able to recover from this using the procedure from the Termux wiki.
But on a Fairphone 3 running Android 10 and a Google Pixel running Android 11 the Termux window is immediately closed, even when I start it in a failsafe session. There is only a message saying &quot;Termux keeps stopping&quot;.
I have removed Termux and reinstalled from F-Droid but to no avail. This is very unfortunate because I mostly use Termux on the Fairphone for quick webserver checks with openssl and netcat.
I checked the permissions (only Files and Media) and allowed them, but to no avail.
How can I get Termux running again on the newer devices?
Update:
According to this comment the issue is only with version 0.105 and should be gone with 0.106.
This is a problem that came with version 0.105 of Termux and should be gone with 0.106.
In the meantime this workaround helped me to solve the problem with Android 10 and 11.
Basically it involves the following steps:

Install Termux
Get access to the home directory inside Termux (for instance with a file manager)
Create the directory /home/.termux
Place an empty file named termux.properties inside of /home/.termux/
Start termux