麻省理工学院应用发明2:仿真器不启动伴侣 [英] MIT App Inventor 2: emulator doesn't launch companion

查看:338
本文介绍了麻省理工学院应用发明2:仿真器不启动伴侣的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行 aiStarter.exe 以管理员身份,并在的 http://ai2.appinventor.mit.edu ,那么模拟器启动,显示黑屏Android和几秒钟后,我得到了Android主屏幕。

When I run aiStarter.exe as administrator, and the click on connect to the emulator in http://ai2.appinventor.mit.edu, then the emulator starts, the black screen with android is displayed and after a couple of seconds I get the android home screen.

然后每隔几秒钟,一条线 - GET /电子支票/ ......在 aiStarter.exe 补充说:127.0.0.1 /小时/日期,而在 http://ai2.appinventor.mit.edu 的信息,要求我等待一两分钟,而它开始模拟器仍然存在。我已经等待的东西在这一点上发生了30分钟,但没有任何变化。结果

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 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.

如果我理解得很好,同伴应自动启动,然后我要问我什么时候来更新它。但是,这不会发生,这是因为如果仿真器卡住伴侣得到推出之前,或应用发明从未承认模拟器已经开始。

If I understood it well, the companion should be automatically launched and then I should be asked if I when to update it. But this never happens, it is as if emulator get stuck just before companion get launched, or App Inventor never recognizes that emulator has started.

推荐答案

有一个简单的解决该错误:

There is a simple fix to that bug:

一旦你的模拟器已经被加载(只是等待,直到你看到:PCT1),不收任何东西,只要打开Windows任务管理器(<大骨节病>控制 + <大骨节病>移 + <大骨节病> ESC 或<大骨节病>控制 + <大骨节病>移 + <大骨节病>删除 - > 任务管理器)的过程中杀死adb.exe(而模拟器正在)参PCT2。不要做别的,等待第二个几个,你会看到一个新的弹出窗口来本网站说它已经检测模拟器。重复,每次仿真器卡住了。

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 saying that it has detected the emulator. Repeat that each time the emulator stuck.

PCT1:

PCT2:

这似乎迫使亚行侦听的端口上8001

This seems to force adb to listen on the port 8001

EDIT1的其他的方式来杀死并重新启动adb.exe:

EDIT1 an other way to kill and restart adb.exe:

列表项:


  1. 把你的UAC(在开始菜单)下级

  2. 启动模拟器,当它准备(SD卡prepared)做
    以下

  3. 进入 C:\\ Program Files文件(x86)的\\ AppInventor \\命令换appinventor
    右键单击新的文本并将其重命名的run.bat (要改变
    .TXT在.BAT)

  4. 右键单击编辑用记事本文件

  5. 写的只是: CMD

  6. 保存并关闭

  7. 现在,双击该的run.bat 文件

  8. 写:杀亚行 - 服务器结果(preSS <大骨节病>输入并等待)

  9. 写:启动服务器结果(模拟器现在应该连接)

  1. put your UAC (in start menu) at the lower level
  2. launch your emulator, when it's ready (SD card prepared) do the following
  3. go in C:\Program Files (x86)\AppInventor\commands-for-appinventor right click new and "text" and rename this file run.bat (to change .txt in .bat)
  4. right click to edit the file with notepad
  5. write just: CMD
  6. save and close
  7. now double click that run.bat file
  8. write: adb kill-server
    (press enter and wait)
  9. write: start-server
    (your emulator should now connect)

EDIT2:Genymotion工作快得多与应用发明家2

Genymotion works much faster with app inventor 2.

这篇关于麻省理工学院应用发明2:仿真器不启动伴侣的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆