diff --git a/README.creole b/README.creole index 90dd594..8f0c466 100644 --- a/README.creole +++ b/README.creole @@ -6,6 +6,7 @@ Please go [[https://github.com/quarnster/ADBView/issues?sort=created&direction=d === Prerequisites === # The Android SDK should be installed, and ADB should be in your path. + # If you want to connect to the emulator on Windows, you'll have to [enable telnet](http://social.technet.microsoft.com/wiki/contents/articles/910.enabling-telnet-client-in-windows-7-en-us.aspx). See #16. === Installation === # The easiest way to install this plugin is via the excellent Package Control Plugin diff --git a/adbview.py b/adbview.py index 76a4ba6..daaebe2 100644 --- a/adbview.py +++ b/adbview.py @@ -436,7 +436,7 @@ def run(self): # get name product = "Unknown" # should never actually see this if device.startswith("emulator"): - port = device.rsplit("-")[-1] + port = int(device.rsplit("-")[-1]) t = telnetlib.Telnet("localhost", port) t.read_until("OK", 1000) t.write("avd name\n")