我的第一个Titanium Mobile项目出错

时间:2012-07-12 07:52:02

标签: javascript android titanium titanium-mobile titanium-modules

我是Titanium Studio的新手(我在WindowsXP上使用Titanium Studio-2.1.0GA)。我将Android SDK添加到Titanium,但我也可以打开模拟器。但是当我运行我的第一个移动项目时,控制台中会显示以下错误。

任何人都可以帮助我吗?

提前致谢。

[ERROR] Application Installer abnormal process termination. Process exit value was 1  
[ERROR] Invalid number of parameters  
[ERROR] Exception occured while building Android project:  
[ERROR] The filename, directory name, or volume label syntax is incorrect.  
[ERROR] Traceback (most recent call last):  
[ERROR]   File "C:\Documents and Settings\shyam.sundar\Application Data\Titanium\mobilesdk\win32\2.1.0.GA\android\builder.py", line 2206, in <module> 
[ERROR]     s.build_and_run(False, avd_id, debugger_host=debugger_host)  
[ERROR]   File "C:\Documents and Settings\shyam.sundar\Application Data\Titanium\mobilesdk\win32\2.1.0.GA\android\builder.py", line 1976, in build_and_run  
[ERROR]     for avd_props in avd.get_avds(self.sdk):
[ERROR]   File "C:\Documents and Settings\shyam.sundar\Application Data\Titanium\mobilesdk\win32\2.1.0.GA\android\avd.py", line 23, in get_avds  
[ERROR]     for line in run.run([sdk.get_android(),'list','target'],debug=False).split("\n"):  
[ERROR] AttributeError: 'NoneType' object has no attribute 'split'

1 个答案:

答案 0 :(得分:1)

您拥有哪个版本的Java SDK?我安装了1.7,这个问题就消失了。