Question

OS: Linux mint 14.

Following error occurs when I try to run my project.

[TRACE] Writing out AndroidManifest.xml
[ERROR] Exception occured while building Android project:
[ERROR] Traceback (most recent call last):
[ERROR]   File "/home/aqeel/.titanium/mobilesdk/linux/3.1.0.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 "/home/aqeel/.titanium/mobilesdk/linux/3.1.0.GA/android/builder.py", line 2264, in build_and_run
[ERROR]     self.manifest_changed = self.generate_android_manifest(compiler)
[ERROR]   File "/home/aqeel/.titanium/mobilesdk/linux/3.1.0.GA/android/builder.py", line 1404, in generate_android_manifest
[ERROR]     '-I', self.android_jar], warning_regex=r'skipping')
[ERROR]   File "/home/aqeel/.titanium/mobilesdk/linux/3.1.0.GA/android/run.py", line 38, in run
[ERROR]     print "[DEBUG] %s" % subprocess.list2cmdline(args_to_log)
[ERROR]   File "/usr/lib/python2.7/subprocess.py", line 587, 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 1m 7s 999ms
Était-ce utile?

La solution

try downgrade Android SDK tools (maybe also platform-tool and build tools) rev22 to rev21. same problem occurred my mac(OSX 10.8.3). I restored Android SDK directory from timemachine.

Autres conseils

If you run into this issue on a new install of Titanium Studio, make sure that in your app's "tiapp.xml", under build properties, "Titanium SDK" is set to 3.1.3GA (or, for future readers, whatever the latest version is).

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top