Failed to install HelloAndroid.apk on device 'emulator-5554!

 

When i run an application of Hello Android, I find the following logs.

 

======Problem==================================================

[2011-06-17 10:17:44 - HelloAndroid] ------------------------------

[2011-06-17 10:17:44 - HelloAndroid] Android Launch!

[2011-06-17 10:17:44 - HelloAndroid] adb is running normally.

[2011-06-17 10:17:44 - HelloAndroid] Performing com.example.helloandroid.HelloAndroidActivity activity launch

[2011-06-17 10:17:44 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'My_AVD'

[2011-06-17 10:17:44 - HelloAndroid] Launching a new emulator with Virtual Device 'My_AVD'

[2011-06-17 10:17:50 - HelloAndroid] New emulator found: emulator-5554

[2011-06-17 10:17:50 - HelloAndroid] Waiting for HOME ('android.process.acore') to be launched...

[2011-06-17 10:22:11 - HelloAndroid] HOME is up on device 'emulator-5554'

[2011-06-17 10:22:11 - HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5554'

[2011-06-17 10:22:11 - HelloAndroid] Installing HelloAndroid.apk...

[2011-06-17 10:24:11 - HelloAndroid] Failed to install HelloAndroid.apk on device 'emulator-5554!

 

 

======Fixed===================================================

By finding some materials, I know i need to set up the system environment variables, add "C:/Marvin/Android/android-sdk_r11-windows/android-sdk-windows/tools" to system Path. Restart Eclipse and rerun HelloAndroid application.

 

Someone said if you met this problem, you could renew an emulator or take several minutes for waiting.

 

 

 

你可能感兴趣的