{ "id": "114791", "key": "AC-1884", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-05-22T21:18:25.000+0000", "created": "2013-05-22T20:26:49.000+0000", "labels": [ "android-installation" ], "versions": [], "issuelinks": [ { "id": "29007", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "114690", "key": "TIMOB-13944", "fields": { "summary": "Android: build: TypeError: argument of type 'NoneType' is not iterable", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:40:48.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "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:\r\n\r\n...\r\n[INFO] Compiling localization files\r\n[ERROR] Exception occured while building Android project:\r\n[ERROR] Traceback (most recent call last):\r\n[ERROR] File \"/Users/uno/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/builder.py\", line 2553, in \r\n[ERROR] builder.build_and_run(True, avd_id, device_args=device_args, debugger_host=debugger_host, profiler_host=profiler_host)\r\n[ERROR] File \"/Users/uno/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/builder.py\", line 2264, in build_and_run\r\n[ERROR] self.manifest_changed = self.generate_android_manifest(compiler)\r\n[ERROR] File \"/Users/uno/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/builder.py\", line 1404, in generate_android_manifest\r\n[ERROR] '-I', self.android_jar], warning_regex=r'skipping')\r\n[ERROR] File \"/Users/uno/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/run.py\", line 38, in run\r\n[ERROR] print \"[DEBUG] %s\" % subprocess.list2cmdline(args_to_log)\r\n[ERROR] File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py\", line 587, in list2cmdline\r\n[ERROR] TypeError: argument of type 'NoneType' is not iterable\r\n[ERROR] : Build process exited with code 1\r\n[ERROR] : Project failed to build after 1s 809ms\r\n\r\n\r\n\r\n\r\n----\r\nThe project runs OK in the iPhone Simulator\r\n\r\n", "attachment": [], "flagged": false, "summary": "Can't install app to android device", "creator": { "name": "unoengborg", "key": "unoengborg", "displayName": "Uno Engborg", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "unoengborg", "key": "unoengborg", "displayName": "Uno Engborg", "active": true, "timeZone": "Europe/Berlin" }, "environment": "\r\nMacOS-X version 10.8.3\r\n\r\n\r\nTitanium Studio, build: 3.1.1.201305211949\r\n(c) Copyright 2012-2013 by Appcelerator, Inc. All rights reserved.\r\n\r\nBuild: jenkins-titanium-rcp-master-433 (origin/master)\r\nDate: 21 May 2013, 19:52:45", "comment": { "comments": [ { "id": "253495", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Uno,\r\n\r\nWe're currently looking into this and the fix will make it into 3.1.1.\r\n\r\nIn 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\r\n\r\nClosing as duplicate of TIMOB-13944.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-22T21:18:25.000+0000", "updated": "2013-05-22T21:18:25.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }