I'm using the maven android plugin to build my projects and deploy them to a device.
Using mvn clean install android:undeploy android:deploy
I can successfully deploy to my 2.2 ZTE blade :
[INFO] Found 1 devices connected with the Android Debug Bridge
[INFO] android.device parameter not set, using all attached devices
[INFO] Successfully uninstalled com.jameselsey.apps from P729J_SBM_ZTE_ZTE-BLADE
[INFO] Found 1 devices connected with the Android Debug Bridge
[INFO] android.device parameter not set, using all attached devices
[INFO] Successfully installed D:\development\james-projects\MyApp\target\myapp-0.5-SNAPSHOT.apk to P729J_SBM_ZTE_ZTE-BLADE
However this doesn't seem to work when I plug in my Samsung GT-I9000 on 2.3.3, this is what I get :
[INFO] Found 1 devices connected with the Android Debug Bridge
[INFO] android.device parameter not set, using all attached devices
[INFO] Successfully uninstalled com.jameselsey.apps from 333297C93FD200EC_samsung_GT-I9000
[INFO] Found 1 devices connected with the Android Debug Bridge
[INFO] android.device parameter not set, using all attached devices
01:36:59 E/Device: Error during Sync: timeout.
What would be causing the timeout?
I faced this problem in eclipse and it was because of ADB connection timeout.
default was 5000 ms and it got fixed after changing that to 10000.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With