2013-08-26 56 views
0

我是鈦應用程序開發新手,我正在使用Fedora操作系統和鈦工作室與鈦sdk 3.1.2.GA開發應用程序。當我創建並運行示例程序時,它顯示以下問題。在鈦工作室中運行簡單的應用程序時出錯

[ERROR] Exception occured while building Android project: 
[ERROR] Traceback (most recent call last): 
[ERROR] File "/root/.titanium/mobilesdk/linux/3.1.2.GA/android/builder.py", line 2596, in <module> 
[ERROR]  builder.build_and_run(False, avd_id, debugger_host=debugger_host, profiler_host=profiler_host) 
[ERROR] File "/root/.titanium/mobilesdk/linux/3.1.2.GA/android/builder.py", line 2400, in build_and_run 
[ERROR]  launched, launch_failed = self.package_and_deploy() 
[ERROR] File "/root/.titanium/mobilesdk/linux/3.1.2.GA/android/builder.py", line 1881, in package_and_deploy 
[ERROR]  self.keystore_alias], protect_arg_positions=(6,)) 
[ERROR] File "/root/.titanium/mobilesdk/linux/3.1.2.GA/android/run.py", line 45, in run 
[ERROR]  process = subprocess.Popen(args, stderr=subprocess.PIPE, stdout=subprocess.PIPE) 
[ERROR] File "/usr/lib/python2.7/subprocess.py", line 679, in __init__ 
[ERROR]  errread, errwrite) 
[ERROR] File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child 
[ERROR]  raise child_exception 
[ERROR] OSError: [Errno 2] No such file or directory 
[ERROR] : Build process exited with code 1 
[ERROR] : Project failed to build after 29s 938ms 
[ERROR] Application Installer abnormal process termination. Process exit value was 1 

請幫我解決這個問題。

+0

在做之前負,告知什麼原因。即使有這些想法的人也會因爲這些負面投票而到來。 – Guts

回答

0

嘗試清除構建文件夾並嘗試重新構建它。

似乎this happens quite a bit尤其是升級到新版本時,

+0

謝謝保羅。其實問題是我配置爲使用Fedora打開jdk,並在我重新配置使用oracle jdk後,它的工作原理。抱歉。 – Guts

相關問題