org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'androidDeviceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.android.ddmlib.IDevice com.github.xsavikx.androidscreencast.api.AndroidDeviceImpl.device; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'initDevice' defined in com.github.xsavikx.androidscreencast.spring.config.ApplicationConfiguration: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.github.xsavikx.androidscreencast.app.DeviceChooserApplication]: Error creating bean with name 'deviceChooserApplication': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.android.ddmlib.AndroidDebugBridge com.github.xsavikx.androidscreencast.app.DeviceChooserApplication.bridge; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'initAndroidDebugBridge' defined in com.github.xsavikx.androidscreencast.spring.config.ApplicationConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.android.ddmlib.AndroidDebugBridge]: Factory method 'initAndroidDebugBridge' threw exception; nested exception is java.lang.IllegalArgumentException: java.io.IOException: Cannot run program "C:UsersEnnoAppDataLocalAndroidandroid-sdkplatform-toolsadb.exe": CreateProcess error=2, Das System kann die angegebene Datei nicht finden; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deviceChooserApplication': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.android.ddmlib.AndroidDebugBridge com.github.xsavikx.androidscreencast.app.DeviceChooserApplication.bridge; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'initAndroidDebugBridge' defined in com.github.xsavikx.androidscreencast.spring.config.ApplicationConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.android.ddmlib.AndroidDebugBridge]: Factory method 'initAndroidDebugBridge' threw exception; nested exception is java.lang.IllegalArgumentException: java.io.IOException: Cannot run program "C:UsersEnnoAppDataLocalAndroidandroid-sdkplatform-toolsadb.exe": CreateProcess error=2, Das System kann die angegebene Datei nicht finden

GitHub | SchoolGuy | 5 months ago
  1. 0

    Programm failed to launch

    GitHub | 5 months ago | SchoolGuy
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'androidDeviceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.android.ddmlib.IDevice com.github.xsavikx.androidscreencast.api.AndroidDeviceImpl.device; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'initDevice' defined in com.github.xsavikx.androidscreencast.spring.config.ApplicationConfiguration: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.github.xsavikx.androidscreencast.app.DeviceChooserApplication]: Error creating bean with name 'deviceChooserApplication': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.android.ddmlib.AndroidDebugBridge com.github.xsavikx.androidscreencast.app.DeviceChooserApplication.bridge; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'initAndroidDebugBridge' defined in com.github.xsavikx.androidscreencast.spring.config.ApplicationConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.android.ddmlib.AndroidDebugBridge]: Factory method 'initAndroidDebugBridge' threw exception; nested exception is java.lang.IllegalArgumentException: java.io.IOException: Cannot run program "C:UsersEnnoAppDataLocalAndroidandroid-sdkplatform-toolsadb.exe": CreateProcess error=2, Das System kann die angegebene Datei nicht finden; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deviceChooserApplication': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.android.ddmlib.AndroidDebugBridge com.github.xsavikx.androidscreencast.app.DeviceChooserApplication.bridge; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'initAndroidDebugBridge' defined in com.github.xsavikx.androidscreencast.spring.config.ApplicationConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.android.ddmlib.AndroidDebugBridge]: Factory method 'initAndroidDebugBridge' threw exception; nested exception is java.lang.IllegalArgumentException: java.io.IOException: Cannot run program "C:UsersEnnoAppDataLocalAndroidandroid-sdkplatform-toolsadb.exe": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
  2. 0

    Hudson on Windows - Error: java.io.IOException: Cannot run program "sh"

    Stack Overflow | 4 years ago | Markus_DE_HH
    java.io.IOException: Cannot run program "sh" (in directory "C:\Users\Markus\.hudson\jobs\Test1 Unit TEst\workspace"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden
  3. 0

    Minecraft: Couldn't unpack natives (PC-Spiele)

    gutefrage.net | 1 year ago
    java.io.IOException: Cannot run program "C:\Programme\Java\jre7\bin\javaw.exe" (in directory "C:\Users\Alex\AppData\Roaming\.minecraft"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hudson on Windows - Error: java.io.IOException: Cannot run program "sh" - windows pressing answers

    itanswerz.com | 1 year ago
    java.io.IOException: Cannot run program "sh" (in directory "C:\Users\Markus\.hudson\jobs\Test1 Unit TEst\workspace"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden
  6. 0

    GitHub comment 3#73196168

    GitHub | 2 years ago | PowerPan
    java.io.IOException: Cannot run program "cmd /c C:\Users\build\.gitlab-ci-runner-scala\projects\build-2-15-script.bat" (in directory "C:\Users\build\.gitlab-ci-runner-scala\projects"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    CreateProcess error=2, Das System kann die angegebene Datei nicht finden

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(Unknown Source)
    3. java.lang.ProcessImpl.start(Unknown Source)
    4. java.lang.ProcessBuilder.start(Unknown Source)
    4 frames
  3. com.android.tools.ddms.ddmlib
    AndroidDebugBridge$1.run
    1. com.android.ddmlib.AndroidDebugBridge$1.run(AndroidDebugBridge.java:606)
    1 frame
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame