[AC-1884] Can't install app to android device
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-05-22T21:18:25.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | android-installation |
Reporter | Uno Engborg |
Assignee | Shak Hossain |
Created | 2013-05-22T20:26:49.000+0000 |
Updated | 2016-03-08T07:40:48.000+0000 |
Description
When I select an Android project from the project tree to the left, and then right click and select "Install to Android Device" the installation fails with the following error:
...
[INFO] Compiling localization files
[ERROR] Exception occured while building Android project:
[ERROR] Traceback (most recent call last):
[ERROR] File "/Users/uno/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/builder.py", line 2553, in
[ERROR] builder.build_and_run(True, avd_id, device_args=device_args, debugger_host=debugger_host, profiler_host=profiler_host)
[ERROR] File "/Users/uno/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/builder.py", line 2264, in build_and_run
[ERROR] self.manifest_changed = self.generate_android_manifest(compiler)
[ERROR] File "/Users/uno/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/builder.py", line 1404, in generate_android_manifest
[ERROR] '-I', self.android_jar], warning_regex=r'skipping')
[ERROR] File "/Users/uno/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/run.py", line 38, in run
[ERROR] print "[DEBUG] %s" % subprocess.list2cmdline(args_to_log)
[ERROR] File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 587, in list2cmdline
[ERROR] TypeError: argument of type 'NoneType' is not iterable
[ERROR] : Build process exited with code 1
[ERROR] : Project failed to build after 1s 809ms
----
The project runs OK in the iPhone Simulator
Hi Uno, We're currently looking into this and the fix will make it into 3.1.1. In the meantime you can use the workaround here: http://developer.appcelerator.com/question/152497/titanium-sdk-310-error-typeerror-argument-of-type-nonetype-is-not-iterable-on-building-android-app Closing as duplicate of TIMOB-13944.