Add Android devices in n file trasfer mode and set USB
For android connect the cellphone in file trasfer mode and set USB debugging mode under developer options add the device to your linux machine
lsusb
list the usb devices connected and shows something likeBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04ca:3010 Lite-On Technology Corp.
Bus 001 Device 003: ID 04f2:b483 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 04f3:0235 Elan Microelectronics Corp.
Bus 001 Device 008: ID *12d1:107e* Huawei Technologies Co., Ltd.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
after this run
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666", GROUP="plugdev"' | sudo tee /etc/udev/rules.d/51-android-usb.rules
Finally start the app on your device ract-native run-android
Comments
Post a Comment