Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15805] Ubuntu 12.04 : Debugger Not working for Android Device

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-12-06T22:39:13.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 24
ComponentsCore
Labelsqe-3.2.0
ReporterPriya Agarwal
AssigneeChris Barber
Created2013-11-19T11:23:39.000+0000
Updated2013-12-06T22:39:14.000+0000

Description

Debugger not working for Android Device. Steps to reproduce: 1. Create new classic/alloy Project. 2. Add breakpoint at proper place. 3. Debug the app on device. Expected Result: Must hit the breakpoint and app must be launched successfully. Actual Result: Build Failed with logs and screenshot attached.

Attachments

FileDateSize
debugger failed.png2013-11-19T11:23:39.000+0000402603
debugger fails - console file.txt2013-11-19T11:23:39.000+0000179580
Debuggerfails - log file.txt2013-11-19T11:23:39.000+00004791

Comments

  1. Christopher Williams 2013-11-22

    I tested debugging on Android emulator on Linux and was able to get it to work. I don't have an Android device to verify with, so we'll likely need someone in the office to try this out (like QE!).
  2. Christopher Williams 2013-11-22

    [~emerriman] Can someone in QE with access to a Linux machine and an Android device try to reproduce this? Looking at the error, it looks like there was some sort of issue where the app was uninstalled before being run or something.
  3. Praveen Innamuri 2013-11-23

    As I tried to debug into the Linux machine for Android debugging issue, I have noticed that the Application Installer failed due to the below exception. This might be probably causing the android debugging failure on Windows : /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184 throw e; ^ TypeError: Object # has no method 'setRawMode' at Text._get (/home/labuser/.titanium/mobilesdk/linux/3.2.0.v20131122172908/node_modules/fields/lib/prompter.js:313:16) at Text.prompt (/home/labuser/.titanium/mobilesdk/linux/3.2.0.v20131122172908/node_modules/fields/lib/types/text.js:19:7) at /usr/local/lib/node_modules/titanium/lib/cli.js:946:12 at conf.options.key-password.prompt (/home/labuser/.titanium/mobilesdk/linux/3.2.0.v20131122172908/android/cli/commands/_build.js:559:8) at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:938:9) at q.process (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:728:21) at processImmediate (timers.js:330:15) [ERROR] Application Installer abnormal process termination. Process exit value was 8 [1mWhat is the keystore's [22m [36mkey password [39m [1m? [90m(leave blank to use the store password) [39m [22m:
  4. Chris Barber 2013-11-26

    I tested this on Ubuntu 13.04, Studio 3.2.0.201311221859, CLI 3.2.0 (master), Ti SDK 3.2.0.v20131125103938 with a Samsung Galaxy X4 and it works just fine.

JSON Source