June 8, 2023

Android Studio - My Pixel phone

I own a Pixel 6, and it is my principle target for apps I intend to write. As of June, 2023 it tells me that it is running Android 13.

The old trick. Go into settings and tap the build number 7 times and it will tell you, "you are now a developer". Next go into Settings and find the System menu. Inside this you will find Developer options. A master switch at the top enables "use developer options". Below this you can turn on USB debugging (or Wireless debugging). There are a lot of developer options.

I dig around and find a USB-C cable and plug it into my linux PC. The phone makes a sound and a pop up asks me if I want to allow USB debugging from this computer. The linux machine sees:

Jun  8 22:29:14 trona kernel: usb 4-1.2: new high-speed USB device number 5 using ehci-pci
Jun  8 22:29:14 trona kernel: usb 4-1.2: New USB device found, idVendor=18d1, idProduct=4ee7, bcdDevice= 5.10
Jun  8 22:29:14 trona kernel: usb 4-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun  8 22:29:14 trona kernel: usb 4-1.2: Product: Pixel 6
Jun  8 22:29:14 trona kernel: usb 4-1.2: Manufacturer: Google
Jun  8 22:29:14 trona kernel: usb 4-1.2: SerialNumber: 23------------
And, interestingly enough, Android Studio now shows "Google Pixel 6". I click the green arrow and after a wait (and lots of activity in the IDE) my phone launchest the demo app.
Have any comments? Questions? Drop me a line!

Adventures in Computing / tom@mmto.org