{ "id": "163616", "key": "AC-4527", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2016-11-28T18:15:34.000+0000", "created": "2016-10-03T19:11:24.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2016-11-28T18:15:34.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": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "Hello,\r\nI'm trying to run an app with the liveview running, but I can't.\r\nWhen I build and install via Studio I receive this message:\r\n[ERROR] : Failed to install apk on \"49OVGEZHUKVK8TH6\"\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n\r\nI've already followed recommendations like cleaning the project and kill node process and start again.\r\nI've already disabled the firewall and opened all the ports.\r\n\r\nI'm attaching the detailed error in a txt file\r\n\r\nobservation1: When liveview starts, liveview seems actually running fine (if I make a change and save after that, liveview updating routine starts too) UNTIL the error, that I pasted here, appears, then whatever I do liveviews doesn't update.\r\n\r\nobservation2: The app is installed in the mobile, but it doesn't connect to liveview\r\n\r\nobservation3: If I use directly the command with the adb to install the apk in the mobile, the adb closes him self with the \"not respoding\" windows alert.\r\n\r\nobservation4: Yes, they are in the same network\r\nobservation5: I've tried in 4 mobiles and in 3 differents machines.\r\n\r\nThanks", "attachment": [ { "id": "60402", "filename": "liveview_error.txt", "author": { "name": "pedro.nascimento", "key": "pedro.nascimento", "displayName": "Pedro Nascimento", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-03T18:43:51.000+0000", "size": 3079, "mimeType": "text/plain" } ], "flagged": false, "summary": "I can't run liveview in mobile(Windows)", "creator": { "name": "pedro.nascimento", "key": "pedro.nascimento", "displayName": "Pedro Nascimento", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pedro.nascimento", "key": "pedro.nascimento", "displayName": "Pedro Nascimento", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Windows 7\r\nsdk 5.3.x till 5.5.0\r\nandroid platform api 23(6.0),22(5.1),16(4.1)\r\nnode 4.5.0\r\nnpm 2.15.9\r\n", "comment": { "comments": [ { "id": "398146", "author": { "name": "pedro.nascimento", "key": "pedro.nascimento", "displayName": "Pedro Nascimento", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please can someone take a look at it!? \r\nI suppose that by this bug being in Windows and most of the effort is made for Mac, it may take a little while for someone dirt hands on it(I know because I worked solving bugs before - I kind know how priority works around teams).\r\n\r\nI'm comming to this message because I really need to put liveview working on mobile then I can a(pp)celerate the production, great?", "updateAuthor": { "name": "pedro.nascimento", "key": "pedro.nascimento", "displayName": "Pedro Nascimento", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-05T16:59:33.000+0000", "updated": "2016-10-05T16:59:33.000+0000" }, { "id": "400498", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Are you still having the issue? Try with the latest studio release. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-11-07T14:46:56.000+0000", "updated": "2016-11-07T14:46:56.000+0000" }, { "id": "400525", "author": { "name": "pedro.nascimento", "key": "pedro.nascimento", "displayName": "Pedro Nascimento", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello, thanks for the reply\r\nSo, I tried in two devices and the behavior is the same as in the issue description, nothing changed .\r\n\r\nThe news is that I got to use live reload using TIShadow https://github.com/dbankier/TiShadow\r\n\r\nI build the app using tishadow (ti build ..... --shadow) and install manually in the mobile, when I enter in the app, it's asked for my ip adress, when I enter the Ip, every saved change in the code changes in the mobile too.\r\n\r\nif you take a look you might get ideas, just saying.\r\n\r\nBut anyway, is there some data in my build log that might be useful for this issue?\r\n", "updateAuthor": { "name": "pedro.nascimento", "key": "pedro.nascimento", "displayName": "Pedro Nascimento", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-07T20:17:17.000+0000", "updated": "2016-11-07T20:17:17.000+0000" }, { "id": "400652", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Mello, Make sure your devices are connected properly. To check that run \"appc info\" in terminal and check the log. If the CLI does not detect the connected device then this is not liveview issue. This is device configuration issue. Let us know. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-11-09T15:26:53.000+0000", "updated": "2016-11-09T15:26:53.000+0000" }, { "id": "400809", "author": { "name": "pedro.nascimento", "key": "pedro.nascimento", "displayName": "Pedro Nascimento", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I did make sure, Studio Appcelerator recognize my mobiles.\r\nBy the way, when I run $appc info -l trace, \r\nI get\r\n\r\n2016-11-11T17:27:32.610Z | ERROR | titanium exited with exit code 1. re-run with -l trace to get detailed output\r\n at ChildProcess. (C:\\Users\\pedro.nascimento\\.appcelerator\\install\\5.5.1\\package\\lib\\commands\\info.js:45:23)\r\n at emitTwo (events.js:87:13)\r\n at ChildProcess.emit (events.js:172:7)\r\n at maybeClose (internal/child_process.js:829:16)\r\n at Socket. (internal/child_process.js:319:11)\r\n at emitOne (events.js:77:13)\r\n at Socket.emit (events.js:169:7)\r\n at Pipe._onclose (net.js:486:12)\r\n2016-11-11T17:36:17.918Z | TRACE | Sending exit signal to titanium process: 6068\r\n\r\nThanks", "updateAuthor": { "name": "pedro.nascimento", "key": "pedro.nascimento", "displayName": "Pedro Nascimento", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-11T17:38:27.000+0000", "updated": "2016-11-11T17:38:27.000+0000" }, { "id": "401585", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "body": "Hi,\r\nWe recommend you to upgrade your studio 4.8.0 and SDK, CLI 6.0.0.GA.\r\n *Note :*\r\n1. Check to make sure your computer and device are on the same wireless network.\r\n2. LiveView requires the following ports to be open: 8323 and 8324\r\n\r\nIf you get error again please include your studio log.\r\n\r\nRegards,\r\nAminul ", "updateAuthor": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2016-11-20T20:34:15.000+0000", "updated": "2016-11-20T20:34:15.000+0000" }, { "id": "401640", "author": { "name": "pedro.nascimento", "key": "pedro.nascimento", "displayName": "Pedro Nascimento", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ok, updated the Ti SDK Studio and appc CLI, my node and ADB is still the same.\r\n\r\nIf I run in Studio the output is the same, \r\n\r\n{{INFO] : Installing app on device: LG-E455\r\n[TRACE] : Checking if package manager service is started\r\n[TRACE] : Package manager has started\r\n[TRACE] : Executing: C:\\android-sdk-win\\platform-tools\\adb.exe -s 49OVGEZHUKVK8TH6 install -r -d C:\\Users\\pedro.nascimento\\Documents\\Appcelerator_Studio_Workspace\\appWithArrow\\build\\android\\bin\\appWithArrow.apk\r\n[LiveView] version 1.0.10\r\n[LiveView] File Server Started on Port 8324\r\n[LiveView] Alloy project monitor started\r\n[LiveView] Event Server Started on Port 8323\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n[ERROR] : Failed to install apk on \"49OVGEZHUKVK8TH6\"\r\n}}\r\n\r\n\r\n\r\nbut if I run from the CLI, the output has changed, when I run :\r\nappc ti build -p android -T device --liveview \r\nthe liveview says:\r\n......\r\n{{[INFO] Installing apk: C:\\Users\\pedro.nascimento\\Documents\\Appcelerator_Studio_\r\nWorkspace\\globo2777\\build\\android\\bin\\Globo 2777.apk\r\n[INFO] Installing app on device: LG-E455\r\n [LiveView] version 1.0.9\r\n [LiveView] File Server Started on Port 8324\r\n [LiveView] Alloy project monitor started\r\n [LiveView] Event Server Started on Port 8323\r\n[ERROR] Failed to install apk on \"49OVGEZHUKVK8TH6\"\r\n[ERROR] Error: Error: Unknown option: -d\r\n[ERROR] usage: pm list packages [-f] [-d] [-e] [-s] [-3] [-i] [-u] [FILTER]\r\n[ERROR] pm list permission-groups\r\n[ERROR] pm list permissions [-g] [-f] [-d] [-u] [GROUP]\r\n[ERROR] pm list instrumentation [-f] [TARGET-PACKAGE]\r\n[ERROR] pm list features\r\n[ERROR] pm list libraries\r\n[ERROR] pm path PACKAGE\r\n[ERROR] pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] [-s] [-f]\r\n[ERROR] [--algo --key --iv ] PATH\r\n[ERROR] pm uninstall [-k] PACKAGE\r\n[ERROR] pm clear PACKAGE\r\n[ERROR] pm enable PACKAGE_OR_COMPONENT\r\n[ERROR] pm disable PACKAGE_OR_COMPONENT\r\n[ERROR] pm disable-user PACKAGE_OR_COMPONENT\r\n[ERROR] pm grant PACKAGE PERMISSION\r\n[ERROR] pm revoke PACKAGE PERMISSION\r\n[ERROR] pm set-install-location [0/auto] [1/internal] [2/external]\r\n[ERROR] pm get-install-location\r\n[ERROR] pm set-permission-enforced PERMISSION [true|false]\r\n[ERROR]\r\n[ERROR] pm list packages: prints all packages, optionally only\r\n[ERROR] those whose package name contains the text in FILTER. Options:\r\n[ERROR] -f: see their associated file.\r\n[ERROR] -d: filter to only show disbled packages.\r\n[ERROR] -e: filter to only show enabled packages.\r\n[ERROR] -s: filter to only show system packages.\r\n[ERROR] -3: filter to only show third party packages.\r\n[ERROR] -i: see the installer for the packages.\r\n[ERROR] -u: also include uninstalled packages.\r\n[ERROR]\r\n[ERROR] pm list permission-groups: prints all known permission groups.\r\n[ERROR]\r\n[ERROR] pm list permissions: prints all known permissions, optionally only\r\n[ERROR] those in GROUP. Options:\r\n[ERROR] -g: organize by group.\r\n[ERROR] -f: print all information.\r\n[ERROR] -s: short summary.\r\n[ERROR] -d: only list dangerous permissions.\r\n[ERROR] -u: list only the permissions users will see.\r\n[ERROR]\r\n[ERROR] pm list instrumentation: use to list all test packages; optionally\r\n[ERROR] supply to list the test packages for a particular\r\n[ERROR] application. Options:\r\n[ERROR] -f: list the .apk file for the test package.\r\n[ERROR]\r\n[ERROR] pm list features: prints all features of the system.\r\n[ERROR]\r\n[ERROR] pm path: print the path to the .apk of the given PACKAGE.\r\n[ERROR]\r\n[ERROR] pm install: installs a package to the system. Options:\r\n[ERROR] -l: install the package with FORWARD_LOCK.\r\n[ERROR] -r: reinstall an exisiting app, keeping its data.\r\n[ERROR] -t: allow test .apks to be installed.\r\n[ERROR] -i: specify the installer package name.\r\n[ERROR] -s: install package on sdcard.\r\n[ERROR] -f: install package on internal flash.\r\n[ERROR]\r\n[ERROR] pm uninstall: removes a package from the system. Options:\r\n[ERROR] -k: keep the data and cache directories around after package removal\r\n.\r\n[ERROR]\r\n[ERROR] pm clear: deletes all data associated with a package.\r\n[ERROR]\r\n[ERROR] pm enable, disable, disable-user: these commands change the enabled stat\r\ne\r\n[ERROR] of a given package or component (written as \"package/class\").\r\n[ERROR]\r\n[ERROR] pm grant, revoke: these commands either grant or revoke permissions\r\n[ERROR] to applications. Only optional permissions the application has\r\n[ERROR] declared can be granted or revoked.\r\n[ERROR]\r\n[ERROR] pm get-install-location: returns the current install location.\r\n[ERROR] 0 [auto]: Let system decide the best location\r\n[ERROR] 1 [internal]: Install on internal device storage\r\n[ERROR] 2 [external]: Install on external media\r\n[ERROR]\r\n[ERROR] pm set-install-location: changes the default install location.\r\n[ERROR] NOTE: this is only intended for debugging; using this can cause\r\n[ERROR] applications to break and other undersireable behavior.\r\n[ERROR] 0 [auto]: Let system decide the best location\r\n[ERROR] 1 [internal]: Install on internal device storage\r\n[ERROR] 2 [external]: Install on external media\r\n[ERROR] rm failed for -f, No such file or directory\r\n[ERROR]\r\n}}", "updateAuthor": { "name": "pedro.nascimento", "key": "pedro.nascimento", "displayName": "Pedro Nascimento", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-21T19:40:19.000+0000", "updated": "2016-11-21T19:40:19.000+0000" }, { "id": "401752", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Liveview works fine with Windows phone. This seems to be device issue for LG-E455 device. There might be some permissions missing. Can you try with any other device? Let us know. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-11-23T14:32:28.000+0000", "updated": "2016-11-28T18:14:59.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }