Setup ADB Udev Rules
- Set the device to use USB Debug
- declare a corresponding Udev rule on your Ubuntu box
Check your Device Vender_id And Product_id.
Step no 1:
Open terminal: lsusb -> check your device v_id & p_id
Step no 2: sudo gedit /etc/udev/rules.d/99-android.rules
Insert this code
# Google Nexus 7 16 Gb
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0666", OWNER="your-login" # MTP mode with USB debug on
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0c03", MODE="0666", OWNER="your-login" # MTP mode with USB debug on
Step no 3: save file
Step 4: on terminal: sudo service udev restart
Please contact more details : bernaerts.dyndns.org/linux/74-ubuntu/245-ubuntu-precise-install-android-sdk