cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grolleau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8912) cordova does not install the app in my device
Date Fri, 22 May 2015 16:49:17 GMT

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

Grolleau commented on CB-8912:
------------------------------

I have the same issue. I run "cordova run android" it says it's deployed and started but actually
nothing happens.
I only have the issue since I upgraded the CLI and android platform.
Deploying the app using adb after cordova build android works.

I filled a question on stackoverflow with full details : http://stackoverflow.com/questions/30308317/cordova-run-android-not-deploying-any-more-with-cordova-5-cordova-android-4-0-0

and have seen other SO question with similar issue since then :
http://stackoverflow.com/questions/30335214/cordova-application-not-launching-after-updating-to-cordova-android-4-0-0
http://stackoverflow.com/questions/30048429/cordova-does-not-actually-install-app-on-android-device/30331751#30331751
http://stackoverflow.com/questions/30149970/cordova-hello-world-app-wont-display

In this latest post there is an explanation to the issue : cordova\lib\device.js and cordova\lib\emulator.js
 contain the line
adb -s ' + resolvedTarget.target + ' install -r -d "' + apk_path + '"
wich returns: "Error: unknown option -d"

It seems removing the -d option solves the issue.

> cordova does not install the app in my device
> ---------------------------------------------
>
>                 Key: CB-8912
>                 URL: https://issues.apache.org/jira/browse/CB-8912
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Windows 8
>            Reporter: yasin mansour
>            Assignee: Joe Bowser
>
> cordova run android  command line does not install the app in my devices 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message