0. Turn on USB debugging mode via Settings > Developer options
1. Connect smartphone to PC via USB and get vendor's id
$ lsusb
...
Bus 003 Device 013: ID 0fce:6186 Sony Ericsson Mobile Communications AB
...
Note: here vendor's id is: 0fce
2. Create udev rules file to allow Fedora to detect device
$ cat /etc/udev/rules.d/51-android.rules
$ cd $HOME/Android/Sdk/platform-tools
$ ./adb devices
List of devices attached
BX903DTCKC unauthorized
Note: there should be a pop-up on the smartphone screen, press OK on it
$ ./adb devices
List of devices attached
BX903DTCKC device
1. Connect smartphone to PC via USB and get vendor's id
$ lsusb
...
Bus 003 Device 013: ID 0fce:6186 Sony Ericsson Mobile Communications AB
...
Note: here vendor's id is: 0fce
2. Create udev rules file to allow Fedora to detect device
$ cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666", GROUP="rdiachenko"
Note: here you need to change GROUP onto your own
3. Reconnect smartphone and check that device was detected by the system
Note: here you need to change GROUP onto your own
3. Reconnect smartphone and check that device was detected by the system
$ cd $HOME/Android/Sdk/platform-tools
$ ./adb devices
List of devices attached
BX903DTCKC unauthorized
Note: there should be a pop-up on the smartphone screen, press OK on it
$ ./adb devices
List of devices attached
BX903DTCKC device
Now Android Studio sees Sony LT25i
Useful links:
No comments:
Post a Comment