Skip to content

Instantly share code, notes, and snippets.

@alx-xlx
Last active May 19, 2022 11:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alx-xlx/1c7fb898074cc54d2b75f1d12fe38642 to your computer and use it in GitHub Desktop.
Save alx-xlx/1c7fb898074cc54d2b75f1d12fe38642 to your computer and use it in GitHub Desktop.
uiautomator2-termux-setup
pkg upgrade -y
pkg install git -y
pkg install python -y
pip install cython
pkg install libxml2 libxslt -y
pkg install -y python ndk-sysroot clang make libjpeg-turbo -y
pkg install clang -y
pip install lxml
pip install --pre uiautomator2
@alx-xlx
Copy link
Author

alx-xlx commented Aug 9, 2021

In the Termux:

  1. update
    apt-get update

  2. Install wget pkg install wget

@alx-xlx
Copy link
Author

alx-xlx commented Aug 9, 2021

Install https://f-droid.org/F-Droid.apk
Download the Termux App from https://f-droid.org/en/packages/com.termux/
Google Play has deprecated Termux
termux/termux-packages#6726

@alx-xlx
Copy link
Author

alx-xlx commented Aug 9, 2021

Install ADB in termux:
https://github.com/MasterDevX/Termux-ADB
apt update && apt install wget && wget https://github.com/MasterDevX/Termux-ADB/raw/master/InstallTools.sh && bash InstallTools.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment