0

我的 iphone 项目运行良好,但在运行 android 项目时
(mobile sdk 2.1.1,2.1.2,2.1.3GA checked all)。我尝试过干净的构建,也titanium sdk build 2.1.3appcelerator 构建替换, 但控制台出现以下异常

ERROR] Exception occured while building Android project:
[ERROR] Traceback (most recent call last):
[ERROR]   File "/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.GA/android/builder.py", line 2282, in <module>
[ERROR]     s.run_emulator(avd_id, avd_skin, avd_name, avd_abi, add_args)
[ERROR]   File "/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.GA/android/builder.py", line 567, in run_emulator
[ERROR]     handler(3,None)
[ERROR]   File "/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.GA/android/builder.py", line 552, in handler
[ERROR]     os.kill(p.pid, signal.SIGTERM)
[ERROR] OSError: [Errno 3] No such process

我也将配置运行为跟踪、调试但没有成功

[ERROR] Application Installer abnormal process termination. Process exit value was 1
[ERROR] Timed out waiting for emulator to be ready, you may need to close the emulator and try again
4

2 回答 2

1

回答我的问题

我重新安装了android包(2.2)它在设置路径时给了我错误(没有sdk home)我创建了android-sdk-home文件夹并将内容(Tools.platform-tools等文件夹)放入其中,它对我有用

于 2013-01-01T07:42:07.157 回答
-1

也许您需要停止所有控制台进程并重试。确保您有新的 android 版本(2.2 或 2.3)的新模拟器

于 2012-12-25T00:02:28.273 回答