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

Studio occasionally errors with "Unable to find any connected devices"

    Details

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

      Description

      Could not judge from the error the source of the issue. Could be CLI as well.

      Steps to reproduce:

      1. Use studio 4.10.0.201709271713.
      2. Build for android with android devices connected (I had 2 devices connected).
      3. Try building multiple times & the error comes up occasionally.

      Actual results:

      1. Studio errors:

      [ERROR] :  Unable to find any connected devices
      [ERROR] Application Installer abnormal process termination. Process exit value was 1
      [ERROR] Application Installer abnormal process termination. Process exit value was 1
      

      Studio Logs:

      !ENTRY com.appcelerator.titanium.android.core 2 0 2017-10-18 18:50:52.870
      !MESSAGE (Build 4.10.0.201709271713) [WARNING]  Exit value not available until process terminates.
      !STACK 1
      org.eclipse.debug.core.DebugException: Exit value not available until process terminates.
      	at org.eclipse.debug.core.model.RuntimeProcess.getExitValue(RuntimeProcess.java:380)
      	at com.appcelerator.titanium.android.internal.ui.DebugLaunchStatusHandler.handleStatus(DebugLaunchStatusHandler.java:31)
      	at com.appcelerator.titanium.android.core.launching.AndroidInstallerLaunchConfigurationDelegate.cleanUp(AndroidInstallerLaunchConfigurationDelegate.java:123)
      	at com.appcelerator.titanium.android.core.launching.AndroidInstallerLaunchConfigurationDelegate.access$0(AndroidInstallerLaunchConfigurationDelegate.java:104)
      	at com.appcelerator.titanium.android.core.launching.AndroidInstallerLaunchConfigurationDelegate$TitaniumDeployListener.error(AndroidInstallerLaunchConfigurationDelegate.java:92)
      	at com.appcelerator.titanium.core.internal.cli.TitaniumDeployManager.fireError(TitaniumDeployManager.java:67)
      	at com.appcelerator.titanium.core.internal.cli.TitaniumDeployManager.fireError(TitaniumDeployManager.java:59)
      	at com.appcelerator.titanium.android.core.launching.AndroidInstallAppStreamListener.streamAppended(AndroidInstallAppStreamListener.java:67)
      	at org.eclipse.debug.internal.core.OutputStreamMonitor$ContentNotifier.run(OutputStreamMonitor.java:267)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.debug.internal.core.OutputStreamMonitor$ContentNotifier.notifyAppend(OutputStreamMonitor.java:278)
      	at org.eclipse.debug.internal.core.OutputStreamMonitor.fireStreamAppended(OutputStreamMonitor.java:118)
      	at org.eclipse.debug.internal.core.OutputStreamMonitor.read(OutputStreamMonitor.java:159)
      	at org.eclipse.debug.internal.core.OutputStreamMonitor.access$1(OutputStreamMonitor.java:137)
      	at org.eclipse.debug.internal.core.OutputStreamMonitor$1.run(OutputStreamMonitor.java:212)
      	at java.lang.Thread.run(Thread.java:745)
      !SUBENTRY 1 org.eclipse.debug.core 4 5010 2017-10-18 18:50:52.871
      !MESSAGE Exit value not available until process terminates.
       
      !ENTRY org.eclipse.debug.ui 4 120 2017-10-18 18:50:53.378
      !MESSAGE Error logged from Debug UI: 
      !STACK 0
      java.io.IOException
      	at org.eclipse.debug.internal.core.StreamsProxy.write(StreamsProxy.java:132)
      	at org.eclipse.debug.internal.ui.views.console.ProcessConsole$InputReadJob.run(ProcessConsole.java:708)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

      Expected result:

      1. Studio should not throw error Unable to find any connected devices when devices are connected.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lchoudhary Lokesh Choudhary
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: