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!

4

2 回答 2

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

于 2015-04-17T14:15:08.620 回答
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"
于 2015-09-15T09:42:31.097 回答