debian-on-termux icon indicating copy to clipboard operation
debian-on-termux copied to clipboard

problem running api-scripts

Open ghistes opened this issue 4 years ago • 0 comments

Hi,

on my Motorola G6 play I have a problem running api-scripts (e.g. termux-toast, termux-clipboard-get etc) from within the Debian-environment.

I currently have the following mounts in the start-script:

-b /dev -b /proc -b /sdcard -b /system -b "$PREFIX"

and when I try to run /data/data/com.termux/files/usr/bin/termux-toast it complains about a missing .so that I can fix by setting LD_LIBARARY_PATH to /data/data/com.termux/files/usr/lib.

I can now run termux-toast but it simply hangs.

Running /data/data/com.termux/files/usr/bin/am results in "Aborted". I have tried to set ANDROID_DATA and EXTERNAL_STORAGE but to no avail.

What am I missing?

Many thanks!

ghistes avatar Feb 05 '21 11:02 ghistes