Suggestion: Enable Wireless ADB via Developer Settings menu

SmallRockSmallRock Posts: 8Member
edited June 2013 in General Development
The latest version of Cyanogen Mod places a checkbox in the developer settings section to enable ADB over wireless (not sure if showing this setting is specific to CM). Something like this would be great because it allows you to quickly deploy, debug, and access logs without having to play with drivers and run cables across the room (also I spent like 5 hours trying to get the Ouya drivers working properly with no luck). If you could enable wireless ADB from the settings menu there would be no need to mess with drivers (as far as I know you can't currently enable wireless ADB without first being connected via USB - please correct me if wrong).
Post edited by SmallRock on

Comments

  • InsomniacInsomniac Posts: 9Member
    Yeah, I was thinking this myself earlier. My micro usb is broken so I can't debug anything and testing involves uploading to an external ftp and using the browser to download it again...
  • nicknick Posts: 186Member, Administrator, Team OUYA
    edited June 2013
    A wireless ADB toggle is definitely something we'll be looking into as an option for devs :)

    You should be able to use it currently by initially connecting to USB and running:

    adb tcpip 5555
    adb connect [OUYA's IP]:5555

    (ex: adb connect 192.168.0.5:5555)
    Post edited by nick on
  • mkillingmkilling Posts: 17Member
    Insomniac said:
    Yeah, I was thinking this myself earlier. My micro usb is broken so I can't debug anything and testing involves uploading to an external ftp and using the browser to download it again...
    You can also download the APK via your local wifi, for instance by serving it with
    $ sudo python -mSimpleHTTPServer 80
    I use no-ip.org so all I have to do is point my OUYA browser to mkilling.no-ip.org/my.apk
    imageGET TO THA CHOPPA!!1 is now on the OUYA marketplace
    Check it out and let me know if you like the soundtrack! ;-)
  • SmallRockSmallRock Posts: 8Member
    @nick: only helpful if you've got USB drivers working correctly, otherwise adb doesn't help. Like I said I gave up after a night of failed attempts and following every suggestion I could find in the forums. May have just been an issue with my laptop though, I didn't try connecting with another machine.

    @mkilling: I've been using Airdroid for deploying test builds. It's quick and easy as well as giving some other admin options. Unfortunately I can't get at logs that way, which is why I wanted the wireless adb.
  • mkillingmkilling Posts: 17Member
    @SmallRock: Does Airdroid work without me having to upload the APK to a remote server?
    imageGET TO THA CHOPPA!!1 is now on the OUYA marketplace
    Check it out and let me know if you like the soundtrack! ;-)
  • SmallRockSmallRock Posts: 8Member
    @mkilling: You can download Airdroid form their site via the browser that comes with Ouya: http://www.airdroid.com/download.html

    They only have v1.1 available for download but it will update itself the first time you run it.
  • mkillingmkilling Posts: 17Member
    @SmallRock: I meant for the test builds of my apps ;-) I'll try it out, thanks for the tip!
    imageGET TO THA CHOPPA!!1 is now on the OUYA marketplace
    Check it out and let me know if you like the soundtrack! ;-)
  • SmallRockSmallRock Posts: 8Member
    @mkilling: not sure what you're asking. Once you have Airdroid installed on the Ouya, you just start it up on the Ouya, then from your dev machine you open a browser and point it to the IP:port that Airdroid shows. You can then manage your Ouya from the browser, including uploading your APKs directly to the Ouya and installing them.
  • ladronladron Posts: 31Member
    Just wanted to add my voice to those requesting a wireless adb toggle in dev settings. I had it set up, but my Ouya just did a system update and broke it, so now I have to do it again. Annoying.
  • mjoynermjoyner Posts: 168Member
    I also would very much like wireless adb, my Ouya is three rooms away...
  • ladronladron Posts: 31Member
    @mjoyner: setting up wireless adb is currently possible, it is just a bit of a pain. See instructions here.
  • FREEZXXFREEZXX Posts: 12Member
    This would be a very useful option to have since it goes away after every update
Sign In or Register to comment.