com.android.ddmlib.InstallException error

1,440 views
Skip to first unread message

Randall Toepfer

unread,
Jun 3, 2011, 6:35:30 PM6/3/11
to phonegap
I get the following message when trying to deploy to the Android
emulator. The framework states installing my app is a success then
then states a failure. Any suggestions how to proceed? I'm on 64bit
Ubuntu Natty with latest Android SDK (I can see the Android emulator
window appear with the emulator gui fine).


[2011-06-03 17:26:21 - HelloPhoneGap] ------------------------------
[2011-06-03 17:26:21 - HelloPhoneGap] Android Launch!
[2011-06-03 17:26:21 - HelloPhoneGap] adb is running normally.
[2011-06-03 17:26:21 - HelloPhoneGap] Performing
com.phonegap.helloworld.helloworld activity launch
[2011-06-03 17:26:21 - HelloPhoneGap] Automatic Target Mode: launching
new emulator with compatible AVD 'TestDevice'
[2011-06-03 17:26:21 - HelloPhoneGap] Launching a new emulator with
Virtual Device 'TestDevice'
[2011-06-03 17:26:25 - Emulator] emulator: emulator window was out of
view and was recentred
[2011-06-03 17:26:25 - Emulator]
[2011-06-03 17:26:25 - HelloPhoneGap] New emulator found:
emulator-5554
[2011-06-03 17:26:25 - HelloPhoneGap] Waiting for HOME
('android.process.acore') to be launched...
[2011-06-03 17:28:12 - HelloPhoneGap] WARNING: Application does not
specify an API level requirement!
[2011-06-03 17:28:12 - HelloPhoneGap] Device API version is 12
(Android 3.1)
[2011-06-03 17:28:12 - HelloPhoneGap] HOME is up on device
'emulator-5554'
[2011-06-03 17:28:12 - HelloPhoneGap] Uploading HelloPhoneGap.apk onto
device 'emulator-5554'
[2011-06-03 17:28:12 - HelloPhoneGap] Installing HelloPhoneGap.apk...
[2011-06-03 17:29:40 - HelloPhoneGap] Success!
[2011-06-03 17:29:40 - HelloPhoneGap] Failed to install
HelloPhoneGap.apk on device 'emulator-5554': device not found
[2011-06-03 17:29:40 - HelloPhoneGap]
com.android.ddmlib.InstallException: device not found
[2011-06-03 17:29:40 - HelloPhoneGap] Launch canceled!

Simon MacDonald

unread,
Jun 3, 2011, 8:03:50 PM6/3/11
to phon...@googlegroups.com
You can try doing:

adb install -r programname.apk

From the command line if eclipse install is failing.

Simon

> --
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to phon...@googlegroups.com
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go to www.phonegap.com
>

--
Simon Mac Donald
http://hi.im/simonmacdonald

Reply all
Reply to author
Forward
0 new messages