adb permissions issue from qtcreator on precise

Bug #1199804 reported by Alan Pope 🍺🐧🐱 🦄
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtcreator-plugin-ubuntu
Invalid
Undecided
Unassigned

Bug Description

Clean Precise install.
Followed guide at http://developer.ubuntu.com/get-started/ to install SDK
Have an already recently flashed Nexus 7 (grouper)
Open Ubuntu SDK (qtcreator) and click devices and get this:-

Detecting device..
/usr/share/qtcreator/ubuntu/scripts/device_search
List of devices attached
???????????? no permissions usb:2-1.2
Check device image version..
/usr/share/qtcreator/ubuntu/scripts/device_version ????????????
* there is no device connected.
* found 1 devices.
Check device image version..
..device version detected.
Check if the device is connected to a network..
/usr/share/qtcreator/ubuntu/scripts/device_hasnetwork
/usr/share/qtcreator/ubuntu/scripts/device_version
Please pass a device serial number.

List of devices attached
???????????? no permissions usb:2-1.2

I can run the following manually:-

alan@usb:~$ adb kill-server
alan@usb:~$ sudo adb devices
[sudo] password for alan:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
015d2d4268480e12 device

Which works fine. However.. the script /usr/share/qtcreator/ubuntu/scripts/device_search called above does this when I go back to qtcreator:-

adb kill-server &> /dev/null
adb start-server &> /dev/null
adb devices -l

Which fails because adb doesn't have permission, and it's killed my root adb from earlier.

So I'm not sure where this bug lies. Probably udev rules setup by the installation of adb I'm using, which came from the PPA:-

alan@usb:~$ apt-cache policy android-tools-adb
android-tools-adb:
  Installed: 4.2.2+git20130218-3ubuntu1~precise1~test1
  Candidate: 4.2.2+git20130218-3ubuntu1~precise1~test1
  Version table:
 *** 4.2.2+git20130218-3ubuntu1~precise1~test1 0
        500 http://ppa.launchpad.net/canonical-qt5-edgers/qt5-proper/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

Zoltan Balogh (bzoltan)
affects: ubuntu-qtcreator-plugins → qtcreator-plugin-ubuntu
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.