我可以在「瀏覽器中的移動應用程序預覽」中運行該應用程序,並且可以成功啓動Android模擬器。但模擬器只是在不加載我的應用程序的情況下始終向我顯示主屏幕。我已經瀏覽了所有類似的在線問題,但找不到解決方案。Android模擬器正在運行,但沒有在Titanium中加載我的應用程序
這裏是控制檯...希望有人能幫助我。謝謝!
*Titanium Command-Line Interface, CLI version 3.1.0, Titanium SDK version 3.1.0.GA
Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.
[INFO] : Running emulator process: python "C:\Users\Ni\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\builder.py" "emulator" "myFirstApp" "C:\Users\Ni\Android-sdk\adt-bundle-windows-x86\sdk" "C:\Users\Ni\Documents\Titanium_Studio_Workspace\myFirstApp" "com.yn.myFirstApp" "4" "HVGA" "armeabi"
[INFO] : Running build process: python "C:\Users\Ni\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\builder.py" "simulator" "myFirstApp" "C:\Users\Ni\Android-sdk\adt-bundle-windows-x86\sdk" "C:\Users\Ni\Documents\Titanium_Studio_Workspace\myFirstApp" "com.yn.myFirstApp" "4" "HVGA"
[INFO] logfile = C:\Users\Ni\Documents\Titanium_Studio_Workspace\myFirstApp\build.log
[INFO] Building myFirstApp for Android ... one moment
[INFO] Titanium SDK version: 3.1.0 (04/15/13 18:45 57634ef)
[INFO] : Emulator process exited successfully
[INFO] : Project built successfully in 3s 24ms
[INFO] : Emulator not running, exiting...*
Android模擬器和Titanium Studio似乎在連接時遇到了問題。對我來說,關閉模擬器或嘗試運行該項目2-3次有時會爲我解決問題。你是否允許Titanium爲你加載模擬器? – Martin
馬丁,謝謝你的回覆。我多次運行該項目,但模擬器仍然無法加載應用程序。我以管理員身份運行Titanium,因此它應該允許Titanium加載模擬器。 –