kullanarak cihaz için apk konuşlandırırken zaman aşımı Projemi oluşturmak ve bir cihaza dağıtmak için maven android eklentisini kullanıyorum.Senkronizasyon sırasında hata oluştu: maven
başarıyla benim 2.2 ZTE bıçağına dağıtabilir mvn clean install android:undeploy android:deploy
kullanma: Ancak bu ben 2.3.3 benim Samsung GT-I9000 taktığınızda çalışmaya görünmüyor
[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
, bu ne alıyorum :
[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.
Zaman aşımına neden olan nedir?
Lütfen bunu yapmak için denediğiniz diğer Maven komutları ile ilgili ayrıntıları ekleyin. aynı şey. Örneğin 'adb install' vb ... ve sonuç ne idi. –
Zaman aşımı süresini bir şekilde artırmanız gerekir. Bu tutulma ile ilgili tipik bir sorundur. – Warpzit
Size bunun neden olduğunu söyleyemem ama size aynı sorunu yaşadığımı söyleyebildiğim ve uygulamanın kaldırılması için adb komutunu kullanmam gerektiğinde, adb uninstall com.jameselsey.apps' – avalancha