1

运行 aiStarter 时,我收到以下错误:

Bottle server starting up (using WSGIRefServer())...
Listening on http://127.0.0.1:8004/
Hit Ctrl-C to quit.

Shutdown...
Traceback (most recent call last):
  File "<string>", line 129, in <module>
  File "/Users/jis/appinventor-setup/MacOS/aiStarter/build/pyi.darwin/aiStarter/out00-PYZ.pyz/bottle", line 2389, in run
  File "/Users/jis/appinventor-setup/MacOS/aiStarter/build/pyi.darwin/aiStarter/out00-PYZ.pyz/bottle", line 2086, in run
  File "/Users/jis/appinventor-setup/MacOS/aiStarter/build/pyi.darwin/aiStarter/out00-PYZ.pyz/wsgiref.simple_server", line 144, in make_server
  File "/Users/jis/appinventor-setup/MacOS/aiStarter/build/pyi.darwin/aiStarter/out00-PYZ.pyz/SocketServer", line 408, in __init__
  File "/Users/jis/appinventor-setup/MacOS/aiStarter/build/pyi.darwin/aiStarter/out00-PYZ.pyz/wsgiref.simple_server", line 48, in server_bind
  File "/Users/jis/appinventor-setup/MacOS/aiStarter/build/pyi.darwin/aiStarter/out00-PYZ.pyz/BaseHTTPServer", line 108, in server_bind
  File "/Users/jis/appinventor-setup/MacOS/aiStarter/build/pyi.darwin/aiStarter/out00-PYZ.pyz/SocketServer", line 419, in server_bind
  File "/Users/jis/appinventor-setup/MacOS/aiStarter/build/pyi.darwin/aiStarter/out00-PYZ.pyz/socket", line 224, in meth
socket.error: [Errno 48] Address already in use
Killed adb
No matching processes belonging to you were found
No matching processes belonging to you were found
Killed emulator
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

我正在尝试 USB 调试,但 aiStarter 找不到我的设备。应用程序发明者知道 aiStarter 何时运行,但看不到我的平板电脑。

是的,我启用了 USB 调试,直到现在我还没有遇到过这个问题。我正在使用 OSX。

4

1 回答 1

1

此错误通常是由使用同一端口的两个进程尝试连接到您的 Android 设备引起的。


原因

您可能有多个 aiStarter 实例尝试使用默认端口访问您的设备。确保删除所有背景。背景。

解决方案

  • 找到其他 aiStarter 进程,然后停止它们。
  • 重新安装aiStarter
  • 使用其他 Mac/Android 设备
于 2016-04-26T10:00:47.470 回答