replicant icon indicating copy to clipboard operation
replicant copied to clipboard

Problem selecting device (reopen issue 16)

Open bizzguy opened this issue 11 years ago • 4 comments

Sorry for the delay in testing this. It looks like I'm still getting the same error even after the "pull"

I'm new to Ruby - do I just do a "git pull" or do I need to do anything else to make sure I have the new version.

Following is the output from my manual test:

!devices

0123456789ABCDEF [unknown device]

OK. -- No package set, No device set

!device Invalid arguments. Ex.: !device [emulator-5554|emu1||dev1|...] OK. -- No package set, No device set !device 1

0123456789ABCDEF [unknown device]

Invalid arguments. Ex.: !device [emulator-5554|emu1||dev1|...] OK. -- No package set, No device set

!device 0123456789ABCDEF

0123456789ABCDEF [unknown device]

Invalid arguments. Ex.: !device [emulator-5554|emu1||dev1|...] OK. -- No package set, No device set

bizzguy avatar Nov 27 '13 17:11 bizzguy

You're using an outdated version. I've just released 0.1 publicly so you don't have to go through git anymore at all.

Remove all references and files you had to replicant, including symlinks to the bin, then run :

gem install replicant-adb

That should pull down the release version to your machine

mttkay avatar Nov 27 '13 18:11 mttkay

Worked great! I was able to specify the device name.

!devices

[0] Unknown device | 0123456789ABCDEF

OK.

!device 0123456789ABCDEF Setting default device to #<Device:0x007f873c873780 @id="0123456789ABCDEF", @name="Unknown device"> OK.

I then executed !logcat and was able to see the log for the device so that seems to confirm that it is connected properly.

bizzguy avatar Nov 27 '13 19:11 bizzguy

Thanks for testing this. It appears that device selection now works, but there's an issue with printing names of devices whose model names can't be recognized.

I'll look into this.

Out of curiosity, what device did you say that was, a Kindle Fire? The serial number looks odd.

mttkay avatar Nov 27 '13 20:11 mttkay

This is a custom device with a custom build of Android.

bizzguy avatar Nov 27 '13 21:11 bizzguy