Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-9120

[Android] Unable to connect to the debugger on a Windows Machine


    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 5.1.1
    • Fix Version/s: None
    • Component/s: Debugging
    • Labels:
    • Environment:


      When running the debugger on the windows machine for Android, the debugger does not connect. (In this instance for device).

      Test Steps

      1. Create an alloy Application in studio
      2. Set some breakpoints in the index.js
      3. Set Studio to debug
      4. Select your android device
      5. Press run

      Console log

      [INFO] :   Forwarding host port 52521 to device for debugging
      [INFO] :   Project built successfully in 1m 8s 280ms
      [ERROR] :  E/com.appc.asd: Not starting debugger since process cannot load the jdwp agent.
      [INFO] :   I/com.appc.asd: The ClassLoaderContext is a special shared library.
      [WARN] :   W/com.appc.asd: resources.arsc in APK '/data/app/com.appc.asd-FvEwSJOzldalcq9lG1Jwlw==/base.apk' is compressed.
      [INFO] :   TiApplication: (main) [0,0] checkpoint, app created.
      [INFO] :   TiApplication: (main) [26,26] Titanium 7.4.0 (2018/09/06 09:33 undefined)
      [INFO] :   MultiDex: VM with version 2.1.0 has multidex support
      [INFO] :   MultiDex: Installing application
      [INFO] :   MultiDex: VM has multidex support, MultiDex support library is disabled.
      [WARN] :   JSDebugger: (main) [1103,1129] Debugger listening on ws://
      [WARN] :   JSDebugger: (main) [0,1129] To connect Chrome DevTools, open Chrome to chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=
      [WARN] :   JSDebugger: (main) [0,1129] Waiting for debugger to connect for next 60 seconds...
      [WARN] :   JSDebugger: (WebSocketWorker-5551) [486,1615] Debugger client connected
      [INFO] :   TiApplication: (main) [74,1689] Titanium Javascript runtime: v8
      [INFO] :   TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null
      [INFO] :   TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.appc.asd.AsdActivity@6b30a2e
      [INFO] :   Adreno: QUALCOMM build                   : 984b9a6, Ibe1bf21abc
      [INFO] :   Adreno: Build Date                       : 06/04/18
      [INFO] :   Adreno: OpenGL ES Shader Compiler Version: EV031.24.00.00
      [INFO] :   Adreno: Local Branch                     : googldrp
      [INFO] :   Adreno: Remote Branch                    :
      [INFO] :   Adreno: Remote Branch                    :
      [INFO] :   Adreno: Reconstruct Branch               :
      [INFO] :   Adreno: Build Config                     : S L 4.0.10 AArch64
      [INFO] :   Adreno: PFP: 0x005ff110, ME: 0x005ff066
      [WARN] :   ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@5470877
      [INFO] :   ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
      [INFO] :   ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
      [INFO] :   OpenGLRenderer: Initialized EGL, version 1.4
      [INFO] :   ACS Login Results for environment `development`:
      [INFO] :   [object Object]
      [WARN] :   System: A resource failed to call end.
      [INFO] :   APSAnalyticsRunnable: Analytics Started

      Expected result
      Debugger should work without any issues.

      Actual result
      Breakpoints are not hit and debugger does not connect.




            • Assignee:
              emerriman Eric Merriman
              smohammed Samir Mohammed
            • Watchers:
              2 Start watching this issue


              • Created: