Titanium SDK 3.1.1 [错误] TypeError:类型'NoneType'的参数在构建Android应用程序时不可迭代

时间:2013-09-27 09:00:26

标签: android titanium titanium-mobile titanium-alloy

我正在尝试使用Alloy框架运行Android应用程序并收到此错误:

[TRACE] Writing out AndroidManifest.xml
[ERROR] Exception occured while building Android project:
[ERROR] Traceback (most recent call last):
[ERROR]   File "C:\Users\hardik\AppData\Roaming\Titanium\mobilesdk\win32\3.1.1.GA\android\builder.py", line 2528, in <module>
[ERROR]     builder.build_and_run(False, avd_id, debugger_host=debugger_host, profiler_host=profiler_host)
[ERROR]   File "C:\Users\hardik\AppData\Roaming\Titanium\mobilesdk\win32\3.1.1.GA\android\builder.py", line 2264, in build_and_run
[ERROR]     self.manifest_changed = self.generate_android_manifest(compiler)
[ERROR]   File "C:\Users\hardik\AppData\Roaming\Titanium\mobilesdk\win32\3.1.1.GA\android\builder.py", line 1404, in generate_android_manifest
[ERROR]     '-I', self.android_jar], warning_regex=r'skipping')
[ERROR]   File "C:\Users\hardik\AppData\Roaming\Titanium\mobilesdk\win32\3.1.1.GA\android\run.py", line 38, in run
[ERROR]     print "[DEBUG] %s" % subprocess.list2cmdline(args_to_log)
[ERROR]   File "C:\Users\hardik\AppData\Local\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1338515509\python\lib\subprocess.py", line 580, in list2cmdline
[ERROR]     needquote = (" " in arg) or ("\t" in arg) or not arg
[ERROR] TypeError: argument of type 'NoneType' is not iterable
[ERROR] :  Build process exited with code 1
[ERROR] :  Project failed to build after 9s 904ms

我发现了一些关于SDK 1.8.0的相同问题的问题,但3.1.1都没有,所以我在这里。 我在Windows 7 32位上,所有的android SDK都正确安装,模拟器正常运行。 有人能帮我吗? 谢谢!

1 个答案:

答案 0 :(得分:0)

必须安装Android SDK Build-tools。从Android SDK Manager安装它