This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DS-5 Android - Problem debugging on a device

Note: This was originally posted on 19th April 2012 at http://forums.arm.com

I've finally managed to make the emulator work and now can debug my game on it. Thank you.

As I don't have an actual android device, I've installed an experimental version of ICS on my HP TouchPad. It seams everything works all right. I can use the adb utility provided with the SDK to connect to the device with no problem. But I cannot debug from inside eclipse under windows on the actual device.

I created a second debug configuration for the device and selected my device in the Connection tab at the combo-box, but after a while I receive a message that eclipse cannot connect to the device. This is strange as I have no problem with the connection. Under a dos window using the adb command I can see I can connect, I even can shell into the device.
Parents
  • Note: This was originally posted on 26th April 2012 at http://forums.arm.com


    Thank you Vinod, but it was only a partial fix.


    Hi,
    It looks like we are on the right track and the problem appears to be the special characters in the device name and how the scripts handle them. As a workaround, please could you try changing device to point to void in the other scripts (run.py and setup.py) in the same folder and then try debug again?
    For e.g in run.py, replace the below lines 
    if device != '' :
    adb_common.set_adb_param ('-s ' + device)

    with device = '' and
    elif opt == "--device":
       device = arg

    with device = ''
    Please let me know the results.

    Thanks
    Vinod
Reply
  • Note: This was originally posted on 26th April 2012 at http://forums.arm.com


    Thank you Vinod, but it was only a partial fix.


    Hi,
    It looks like we are on the right track and the problem appears to be the special characters in the device name and how the scripts handle them. As a workaround, please could you try changing device to point to void in the other scripts (run.py and setup.py) in the same folder and then try debug again?
    For e.g in run.py, replace the below lines 
    if device != '' :
    adb_common.set_adb_param ('-s ' + device)

    with device = '' and
    elif opt == "--device":
       device = arg

    with device = ''
    Please let me know the results.

    Thanks
    Vinod
Children
No data