Android BKM - PeterWangIntel/crosswalk-website GitHub Wiki
adb no permissions on linux
- Create a file named /tmp/android.rules with following content
SUBSYSTEM=="usb", ATTRS{idVendor}=="8087", MODE="0666"
- Execute following command
sudo cp /tmp/android.rules /etc/udev/rules.d/51-android.rules
sudo chmod 644 /etc/udev/rules.d/51-android.rules
sudo chown root. /etc/udev/rules.d/51-android.rules
sudo service udev restart
sudo killall adb
- Disconnect the USB cable between the phone and the computer, reconnect the phone.
- Run
adb devices
to confirm that now it has permission to access the phone.
Adjust default parameter
-
Edit a file named “xwview-shell-command-line” with content:
Xwalk –your-command-line-1 --your-command-line-2
-
Push it to device:
adb push xwview-shell-command-line /data/local/tmp/xwview-shell-command-line