Closed AntonPieper closed 9 months ago
Yeah, everyone is having this problem after the December security patch for Android 14. But I managed to find a workaround. Get the latest build of Termux-API from here: https://github.com/termux/termux-api/actions/runs/6717239830
That build will only work with the GitHub version of Termux. And use termux-api-start
. That will start the keep alive service and api commands will not hang anymore.
More details here: https://github.com/termux/termux-api/issues/638#issuecomment-1846747826
Helo i ned termux whatsapp command plz tell.me 93134828122my nbr
Hello. I've noticed that the linked issue in termux-api
is fixed now. So is this issue also fixed?
Ping @2096779623 I don't have an Android 14 device. Could you please test this?
Hello. I've noticed that the linked issue in
termux-api
is fixed now. So is this issue also fixed?Ping @2096779623 I don't have an Android 14 device. Could you please test this?
~ $ termux-api-start
Starting service: Intent { cmp=com.termux.api/.KeepAliveService }
~ $ termux-clipboard-set a
~ $ time termux-clipboard-set a
real 0m0.238s
user 0m0.011s
sys 0m0.012s
~ $ time termux-clipboard-get
a
real 0m0.458s
user 0m0.016s
sys 0m0.009s
Installed termux plugins:
com.termux.api versionCode:51
Problem description
The
teemux-clipboard-get
andtermux-clipboard-set
commands hang forever. They do not return. I have already tried the fix on #16411 (chmod 400 $PREFIX/libexec/termux-am/am.apk
), but since the newest Android 14 update, this did not work for me.What steps will reproduce the bug?
Run the newest version of android 14 and then run (after installing Termux:API and
termux-api
):What is the expected behavior?
It should not hang and get / set the clipboard.
System information
termux-info: