Repository navigation
Expand file tree
/
Copy pathrequirements_android.txt
More file actions
29 lines (29 loc) · 1.76 KB
/
Copy pathrequirements_android.txt
File metadata and controls
29 lines (29 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# AutoCua - Android (a real phone on USB: screenshots and UI scans)
# =================================================================
# No pip packages yet. The connector (AutoCua/android_connector/) uses only
# Python's standard library. Packages the Android side needs later go here.
#
# Needed outside pip, fetched or built on first use (from a wheel, nothing
# is built: both Rust agents ship prebuilt). adb is also offered by the setup
# scripts, after a y (python -m AutoCua.android_connector.adb fetch), from
# Google, never from this repo:
# adb Google's platform-tools, into AutoCua/android_connector/
# platform-tools/ (an adb on PATH wins).
# autocua-helper.jar
# The phone helper (android_connector/Helper.java): takes the
# screenshots, as JPEG on the phone, and reads the UI tree.
# Built only when Helper.java changes, by
# android_connector/build_helper.py, which fetches a JDK,
# Android's android.jar and d8 once into
# ~/.AutoCua/android-build (about 300 MB). Commit the jar and
# nobody else needs Java.
# Rust + cargo a checkout builds the one Rust crate, AutoCua/Cargo.toml
# (the web and Android agents and the coder), with them
# (https://rustup.rs); the pip wheels ship it prebuilt, so
# pip users need neither. The Android part's crates
# (zune-jpeg, jpeg-encoder, roxmltree, pyo3, ...) compile no
# C or C++; the web part's ring does, with the system C
# compiler cargo also links through.
#
# uv pip install --python .venv/bin/python -r requirements_android.txt
# # or: pip install -r requirements_android.txt