【问题标题】:Getting SL4A (ASE) to GNU/Linux box将 SL4A (ASE) 安装到 GNU/Linux 机器上
【发布时间】:2011-05-12 17:46:01
【问题描述】:

没有模拟器,有没有办法执行脚本。像任何其他正常的py代码一样? 尝试移植,但 /me 得到:

droid = android.Android()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/android.py", line 34, in __init__
self.conn = socket.create_connection(addr)
File "/usr/lib/python2.6/socket.py", line 547, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno -2] Name or service not known

【问题讨论】:

    标签: android sl4a


    【解决方案1】:

    是的,您可以使用远程连接到您的手机并在本地执行脚本,请参阅 SL4A Wiki 中的 RemoteControl

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-09-26
      • 2017-09-21
      • 2020-09-23
      相关资源
      最近更新 更多