Fix issue that adb can not find any attached device

pull/50/head
stevleibelt 9 months ago
parent 6ddf98ce90
commit bd39ee2862
No known key found for this signature in database
GPG Key ID: 3FCCF664EDB95791

@ -1,6 +1,8 @@
services:
php-cli:
image: php:8.2-apache
privileged: true
restart: unless-stopped
volumes:
- .:/var/www/html
- /dev/bus/usb:/dev/bus/usb

@ -65,6 +65,10 @@ function _start ()
{
_stop
_build
if command -v adb &> /dev/null;
then
adb kill-server
fi
docker compose up -d
}

Loading…
Cancel
Save