我的iphone项目运行正常,但在运行android项目时(mobile sdk 2.1.1,2.1.2,2.1.3GA checked all)
。我尝试了干净的构建,也从appcelerator builds替换了titanium sdk build 2.1.3
,但控制台出现以下异常
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
答案 0 :(得分:1)
回答我的问题
我重新安装了android包(2.2)它在设置路径时给我错误(没有sdk主页)我创建了android-sdk-home文件夹并放置了内容(Tools.platform-tools等文件夹),它工作正常对我来说
答案 1 :(得分:-1)
也许您需要停止所有控制台进程并再试一次。 确保您有新的Android版本(2.2或2.3)
的新模拟器