docker-android
docker-android copied to clipboard
[Documentation] How to install app via .apk file
💬 Questions and Help
Please make sure that it is an issue / a feature request. If it is a question / help wanted, please visit our group chat. Thank you!
How to install app via .apk file
You can use Android Debug Bridge CLI to push your apk inside your device, and install it from your local machine
adb -P 5037 [ -s %UDID_IF_MULTIPLE_DEVICE% ] push /path/to/local.apk /data/local/tmp/downloaded.apk
adb -P 5037 [ -s %UDID_IF_MULTIPLE_DEVICE% ] shell pm install -r /data/local/tmp/downloaded.apk
@arthuRHD - imagine I have CICD pipeline:
- in some repo apk app is release
- trigger is started which should completely rebuild emulator with this new app installed and automatically started on docker start so its immediatelly available on web screen.
Can I pack emulater with this apk, install and start it on docker-andorid redeploy on kubernetes cluster?
I am new to android emulators, so thx for patience. 👍
refer to https://github.com/budtmo/docker-android/issues/180
install in this way? adb connect 34.68.174.199:5555 adb -e install /SuperSU_v2.79.apk
refer to #180
install in this way? adb connect 34.68.174.199:5555 adb -e install /SuperSU_v2.79.apk
I installed an apk using this command inside the container.
androidusr@15be855c644c:~$ adb -e install /tmp/test.apk
Performing Streamed Install
Success
But I cannot find it on the emulator UI.