0

我正在尝试使用 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 32bits 上,所有 android SDK 都已正确安装,模拟器运行正常。有人能帮我吗?谢谢!

4

1 回答 1

0

必须安装 Android SDK Build-tools。从 Android SDK 管理器安装它

于 2013-10-25T09:45:12.897 回答