[
https://issues.apache.org/jira/browse/CB-9185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14616235#comment-14616235
]
Joe Schneider commented on CB-9185:
-----------------------------------
Submitted pull request https://github.com/apache/cordova-android/pull/193 using
suggested fix from @wellbye.
> 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: [email protected]
For additional commands, e-mail: [email protected]