You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Laurent Deketelaere (JIRA)" <ji...@apache.org> on 2015/06/16 10:12:00 UTC
[jira] [Created] (CB-9185) Error: Could not find apk architecture:
arm build-type: release
Laurent Deketelaere created CB-9185:
---------------------------------------
Summary: Error: Could not find apk architecture: arm build-type: release
Key: CB-9185
URL: https://issues.apache.org/jira/browse/CB-9185
Project: Apache Cordova
Issue Type: Bug
Components: CLI
Environment: Cordova Android 4.0.2
Cordova version: 5.1.1
Node version: v0.12.2
MAC OS X 10.9.5
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
Reporter: Laurent Deketelaere
When I run : {code}cordova run android --release{code}
apk build successfully, but running fail on device.
Error message :
{code}
/PROJECT/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error: Could not find apk architecture: arm build-type: release
at Object.module.exports.findBestApkForArchitecture (/PROJECT/platforms/android/cordova/lib/build.js:624:11)
at /PROJECT/platforms/android/cordova/lib/device.js:97:30
at _fulfilled (/PROJECT/platforms/android/cordova/node_modules/q/q.js:798:54)
at self.promiseDispatch.done (/PROJECT/platforms/android/cordova/node_modules/q/q.js:827:30)
at Promise.promise.promiseDispatch (/PROJECT/platforms/android/cordova/node_modules/q/q.js:760:13)
at /PROJECT/platforms/android/cordova/node_modules/q/q.js:526:49
at flush (/PROJECT/platforms/android/cordova/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:355:11)
ERROR running one or more of the platforms: Error: /PROJECT/platforms/android/cordova/run: Command failed with exit code 1
You may not have the required environment or OS to run this project
{code}
traced variables in 'module.exports.findBestApkForArchitecture' :
{code}
console.dir(buildResults); // { apkPaths: [], buildType: 'release', buildMethod: 'gradle' }
console.dir(arch); // 'arm'
console.dir(paths); // []
{code}
release-signing.properties is used for signing release.
--
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