[
https://issues.apache.org/jira/browse/CB-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403599#comment-13403599
]
Anis Kadri edited comment on CB-937 at 6/29/12 12:02 AM:
---------------------------------------------------------
Right now if I run "ant debug install" with no devices/emulators attached
here's what happens.
{code}
install:
[echo] Installing
/Users/akadri/Projects/cordova/incubator-cordova-android/example/bin/cordovaExample-debug.apk
onto default emulator or device...
[exec] error: device not found
[exec] - waiting for device -
{code}
and it hangs :-(
So here is what I am going to do:
when you run "cordova/debug" or "cordova/debug.bat" it will:
- build & install if a device is attached or an emulator is running
- build only if no devices/emulators are attached and invite you to plug in a
device or launch an emulator in order to install.
Android has also a BOOM command that cleans/builds/installs/launches on
device/simulator. I find it's the most convenient one.
was (Author: anis):
Right now if I run "ant debug install" with no devices/emulators attached
here's what happens.
{code}
install:
[echo] Installing
/Users/akadri/Projects/cordova/incubator-cordova-android/example/bin/cordovaExample-debug.apk
onto default emulator or device...
[exec] error: device not found
[exec] - waiting for device -
{code}
and it hangs :-(
So here is what I am going to do:
when you run "cordova/debug" or "cordova/debug.bat" it will:
- build & install if a device is attached
- build only if no devices are attached and invite you to plug in a device or
launch an emulator in order to install.
Android has also a BOOM command that cleans/builds/installs/launches on
device/simulator. I find it's the most convenient one.
> debug command in Android should install app too
> -----------------------------------------------
>
> Key: CB-937
> URL: https://issues.apache.org/jira/browse/CB-937
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Reporter: Filip Maj
> Assignee: Anis Kadri
> Priority: Minor
>
> currently it only runs {{ant debug}}, which builds the app, but doesnt
> install it to a connected device. it should probably run {{ant debug
> install}} ya?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira