incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anis Kadri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-937) debug command in Android should install app too
Date Fri, 29 Jun 2012 00:01:46 GMT

    [ https://issues.apache.org/jira/browse/CB-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403599#comment-13403599
] 

Anis Kadri commented on CB-937:
-------------------------------

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

        

Mime
View raw message