Програми для Android¶
Waydroid is a minimal Android container and compatibility layer to run Android apps on GNU/Linux operating systems such as Ubuntu Touch.
Примітка
You will need to execute commands on your Ubuntu Touch device (locally via the terminal application or remotely via ADB/SSH ) to initialize Waydroid, install APKs and uninstall applications.
Limitations¶
Before installing Waydroid on your device, please note that there are limitations to its support and integration:
After installing Waydroid on Ubuntu Touch, you may notice higher battery consumption. To mitigate this, Waydroid can be stopped manually when not in use.
Not all Android applications will work with Waydroid. Apps that require Google’s Play Integrity service or SafetyNet, such as banking apps, are unlikely to run.
Problems may occur if both Ubuntu Touch and Waydroid request the use of the same peripherals, and one will not be able to claim them (e.g. camera access not permitted).
How to set up¶
All Halium 9 and newer devices ship with waydroid out of the box starting with Ubuntu Touch focal, if your device fits these requirements you can follow the following steps
Open a shell on your Ubuntu Touch device (remotely with ADB/SSH or locally with the terminal app).
Run the following command in your shell:
waydroid init.Done! You might have to refresh the apps scope (pull down from the center of the screen and release) for the new Android apps to show up.
How to install new APKs¶
Copy the APK to
/home/phablet/Downloadson your Ubuntu Touch device.Open a shell on your Ubuntu Touch device (remotely with ADB/SSH or locally with the terminal app).
Run the following in your shell
waydroid app install /home/phablet/Downloads/my-app.apkDone! You might have to refresh the apps scope (pull down from the center of the screen and release) for the new Android apps to show up.
Using an appstore in Waydroid¶
You can also install an appstore like F-Droid or Amazon Appstore to install applications or keeping them up to date. If you want to install any of the above apps you can find them here:
F-Droid: https://f-droid.org/
Amazon Appstore: https://www.amazon.com/gp/mas/get-appstore/android
Note that due to nature of Waydroid, neither of these will automatically keep your applications up-to-date. You will have to manually open the appstore and check for updates. Additionally you will have to authorize each app install or update as follows:
search for the app to install or update
натисніть кнопку «Встановити» або «Оновити»
дочекайтеся завершення завантаження, з’явиться запит на встановлення програми/оновлення
натисніть кнопку «Встановити» у вищевказаному вікні
Більш досвідчені користувачі можуть вирішити цю проблему, створивши власний образ Waydroid, який постачається разом з будь-яким магазином програм.
Як видалити програми¶
Open a shell on your Ubuntu Touch device (remotely with ADB/SSH or locally with the terminal app).
Щоб видалити програми з пристрою Ubuntu Touch, запустіть команду
adb uninstall [APP_ID]у вашому shellВиконайте в командному рядку наступну команду:
waydroid app remove [APP_ID](APP_ID можна знайти за допомогою команди „waydroid app list“)Готово! Можливо, вам доведеться видалити старі програми Android зі списку програм, щоб вони зникли.
Примітка
Якщо Ви користуєтеся магазином програм у Waydroid, Ви також можете через нього видаляти програми
Доступ до сховища Android¶
Пам’ять Android розташована за адресою /home/phablet/.local/share/waydroid/data/media/0.
Посилання на бібліотеки Android можна створювати у відповідних XDG-аналогах:
ln -s ~/.local/share/waydroid/data/media/0/Documents ~/Documents/android ln -s ~/.local/share/waydroid/data/media/0/Pictures ~/Pictures/android ln -s ~/.local/share/waydroid/data/media/0/Music ~/Music/android ln -s ~/.local/share/waydroid/data/media/0/Movies ~/Videos/android
Troubleshooting¶
Якщо під час встановлення APK з’являється помилка
Неправильний файл APK, це може означати, що файл apk не вдалося знайти. Спробуйте виконати такі кроки, щоб перевірити:Перевірте, чи ім’я файлу Ви ввели правильно.
Якщо APK знаходиться не у тій теці, де Ви запустили adb, Вам потрібно вказати повний шлях, наприклад, замість просто
my-app.apkвказати/home/phablet/Downloads/my-app.apk
Повідомлення про помилки¶
Будь ласка, повідомляйте про всі виявлені помилки. Про помилки, що стосуються Ubuntu Touch, повідомляйте в звичайному трекері Ubuntu Touch , а про проблеми з Waydroid — в нашому трекері проблем Waydroid. Дякуємо!