同步期间出错:使用maven将apk部署到设备时超时

Jim*_*mmy 9 android android-maven-plugin

我正在使用maven android插件来构建我的项目并将它们部署到设备上.

使用mvn clean install android:undeploy android:deploy我可以成功部署到我的2.2中兴刀片:

[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
Run Code Online (Sandbox Code Playgroud)

但是当我在2.3.3上插入三星GT-I9000时,这似乎不起作用,这就是我得到的:

[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.
Run Code Online (Sandbox Code Playgroud)

什么会造成超时?

Cap*_*low 1

我在eclipse中遇到这个问题,这是因为ADB连接超时。

默认为 5000 毫秒,更改为 10000 后修复。