2012-12-17 161 views
0

我的iphone項目運行良好,但運行Android項目
(mobile sdk 2.1.1,2.1.2,2.1.3GA checked all)。我試圖清理構建,也取代titanium sdk build 2.1.3appcelerator builds但控制檯得到如下例外應用程序安裝程序異常進程終止(android)

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

http://developer.appcelerator.com/question/140526/solution-application- installer-abnormal-process-termination 看看這個鏈接.. – Hasnain

+0

Hy Hasnain感謝您的快速響應。但我使用的是最低要求android sdk的android 2.2。我無法在Android模擬器中運行默認應用程序 –

+0

您的模擬器是否打開。 Android有時會在鈦上變得雜亂無章。嘗試再次清理您的項目。或嘗試從TiApp中刪除雲服務,然後運行。 – Hasnain

回答

1

回答我的問題

我重新安裝Android包(2.2),它給我的錯誤,同時設置路徑(無SDK家)我創建了android-sdk-home文件夾,並在其中放置了內容(Tools.platform-tools etc文件夾),它對我很有用

-1

也許你需要停止所有您的控制檯進程並重試。 請確保您有新的Android版本(2.2或2.3)的新模擬器

相關問題