当我跑步时aiStarter.exe
以管理员身份,然后单击“连接到模拟器”http://ai2.appinventor.mit.edu http://ai2.appinventor.mit.edu,然后模拟器启动,显示带有 android 的黑屏,几秒钟后我得到 android 主屏幕。
Then every couple of seconds, a line "127.0.0.1 - date/hour/ "GET/echeck/..." is added in aiStarter.exe
, and on http://ai2.appinventor.mit.edu http://ai2.appinventor.mit.edu the message asking me to wait a minute or two while it's starting emulator remains. I have waited for something to happen at this point for 30 minutes, but nothing changes.
如果我理解得好的话,伴侣应该会自动启动,然后会询问我是否何时更新。但这永远不会发生,就好像模拟器在伴侣启动之前卡住了,或者 App Inventor 永远不会识别模拟器已经启动。
该错误有一个简单的修复方法:
once your emulator is loaded (just wait until you see that: pct1), don't close anything, just open Windows Task Manager (Ctrl+Shift+Esc or Ctrl+Shift+Del -> Task Manager
) in the process kill the adb.exe (while the emulator is working) cf. pct2. Don't do anything else, wait for few second and you will see a new popup to this site http://ai2.appinventor.mit.edu/ saying that it has detected the emulator. Repeat that each time the emulator stuck.
pct1:
pct2:
这似乎强制 adb 监听端口 8001
EDIT1 另一种杀死并重新启动 adb.exe 的方法:
项目清单:
- 将您的 UAC(在开始菜单中)置于较低级别
- 启动你的模拟器,当它准备好(SD卡准备好)时执行以下操作
下列的
- go in
C:\Program Files (x86)\AppInventor\commands-for-appinventor
右键单击新建和“文本”并重命名该文件run.bat
(改变
.bat 中的 .txt)
- 右键单击以用记事本编辑文件
- 只写:
CMD
- 保存并关闭
- 现在双击它
run.bat
file
- write:
adb kill-server
(press enter and wait)
- write:
start-server
(您的模拟器现在应该已连接)
Edit2:Genymotion 使用应用程序发明者 2 工作得更快。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)