Linux command
waydroid 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start
waydroid show-full-ui
Initialize
sudo waydroid init
Install
waydroid app install [path/to/file.apk]
Launch
waydroid app launch [com.example.app]
Start
waydroid session start|stop
Manage
sudo waydroid container start|stop|restart|freeze|unfreeze
Open
sudo waydroid shell
Adjust
waydroid prop set persist.waydroid.width|height [number]
说明
waydroid runs a full Android system in a container on Linux. It uses Linux namespaces to create an isolated Android environment that integrates with the host's Wayland compositor. Waydroid provides near-native Android performance by sharing the Linux kernel with the host. It supports Android apps, Google Play Services (with additional setup), and hardware acceleration.
参数
- show-full-ui
- Start Waydroid with full Android UI
- init
- Initialize Waydroid (first run setup)
- app install _apk_
- Install an APK file
- app launch _package_
- Launch an app by package name
- session start|stop
- Start or stop the session
- container start|stop|restart|freeze|unfreeze
- Container management commands
- shell
- Open Android shell
- prop set _key_ _value_
- Set Android system property
- log
- Show Waydroid logs
FAQ
What is the waydroid command used for?
waydroid runs a full Android system in a container on Linux. It uses Linux namespaces to create an isolated Android environment that integrates with the host's Wayland compositor. Waydroid provides near-native Android performance by sharing the Linux kernel with the host. It supports Android apps, Google Play Services (with additional setup), and hardware acceleration.
How do I run a basic waydroid example?
Run `waydroid show-full-ui` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does show-full-ui do in waydroid?
Start Waydroid with full Android UI