[
https://issues.apache.org/jira/browse/CB-9185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Sorokin reopened CB-9185:
-----------------------------------
Assignee: Alexander Sorokin
Turns out that suggested fix doesn't fix the issue:
{code}
cordova create helloWorld
cd helloWorld
cordova platform add https://github.com/apache/cordova-android
cordova run --release
{code}
The output is:
{quote}
BUILD SUCCESSFUL
Total time: 1 mins 12.086 secs
Built the following apk(s):
C:\Projects\Cordova\hw2\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Failed to launch app on emulator: Error: Could not find apk architecture: arm
build-type: release
ERROR running one or more of the platforms: Error: cmd: Command failed with
exit code 8
You may not have the required environment or OS to run this project
{quote}
> 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
> Assignee: Alexander Sorokin
> Fix For: 4.1.0
>
>
> 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]