You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Justin Wark (JIRA)" <ji...@apache.org> on 2014/11/05 06:34:34 UTC
[jira] [Created] (CB-7943) cordova-android 'install-device' script
throws error 'Cannot read property 'apkPaths' of undefined'
Justin Wark created CB-7943:
-------------------------------
Summary: cordova-android 'install-device' script throws error 'Cannot read property 'apkPaths' of undefined'
Key: CB-7943
URL: https://issues.apache.org/jira/browse/CB-7943
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 3.6.0
Reporter: Justin Wark
Priority: Minor
cordova-android 'install-device' script throws error and does not install on device.
"$ ./platforms/android/cordova/lib/install-device
ERROR: ERROR: Failed to launch application on device: ERROR: Failed to install apk to device: TypeError: Cannot read property 'apkPaths' of undefined"
It seems to be a problem where 'install-device' uses 'device.js' 'install' function, which requires 'buildResults' as the second parameter, but it is not supplied.
It seems to work fine on the android 3.6.3 platform but is broken on 3.6.4.
--
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