0

I have tried installing my application into the oneplus one device but the eclipse(Ubuntu) doesn't recognize the device. How can this problem be solved? I have tried the link http://developer.android.com/tools/device.html , but there is no rule for OnePlusOne devices. Please Help!

2 Answers2

1

think no need for driver in linux try this on oneplus one

Settings->Developer Options-->turn on Android Debugging. Settings-->Storage-->menu on the upper right corner-->USB computer connection-->check box MTP/PTP

Rojy George
  • 117
  • 6
1

Install mtpfs from your terminal

sudo apt-get install mtp-tools mtpfs

Get idVendor and idProduct of your mobile phone by connecting it to your system

mtp-detect | grep idVendor
mtp-detect | grep idProduct

Insert the follwing text to your 69-libmtp.rules file located at /lib/udev/rules.d replacing idVendor_got_above and idProduct_got_above

ATTR{idVendor}=="idVendor_got_above", ATTR{idProduct}=="idProduct_got_above", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1", TAG+="uaccess"
Dawn T Cherian
  • 4,968
  • 3
  • 24
  • 35