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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Provide a working directory instead of pointing it to a file or an empty directory in process builder.

,
Expert tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

Solutions on the web

via GitHub by SchoolGuy
, 1 year ago
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
via Stack Overflow by Biswa
, 6 months ago
Error creating bean with name 'stockDao': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory
via Stack Overflow by delucasvb
, 1 year ago
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Server': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException
via websystique.com by Unknown author, 1 year ago
Error creating bean with name ‘orderDao’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory
via Stack Overflow by Kallel Omar
, 2 years ago
Error creating bean with name 'getAppConfigMongoDB': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.lang.String
via Stack Overflow by zhixiao jiang
, 2 years ago
Error creating bean with name 'loginController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cn.vamos.reg.service.PushService
java.io.IOException: CreateProcess error=2, Das System kann die angegebene Datei nicht finden
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at com.android.ddmlib.AndroidDebugBridge$1.run(AndroidDebugBridge.java:606)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

Once, 1 month ago
Once, 3 months ago
3 times, 6 months ago
Once, 1 year ago
5 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.