You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexander Sorokin (JIRA)" <ji...@apache.org> on 2015/07/23 17:53:05 UTC
[jira] [Updated] (CB-9404) 'cordova run android --release' fails if
path contains '-release' and '-debug'
[ https://issues.apache.org/jira/browse/CB-9404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Sorokin updated CB-9404:
----------------------------------
Description:
{code}
mkdir foo-release-debug-bar
cd foo-release-debug-bar
cordova create helloWorld
cd helloWorld
cordova platform add android
cordova run android --release
{code}
{quote}
BUILD SUCCESSFUL
Total time: 1 mins 21.038 secs
Built the following apk(s):
C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\build\outputs\apk\android-release-unsigned.apk
C:\Projects\Testing\foo-release-debug-bar\helloWorld\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 (C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\androi
d\cordova\lib\build.js:621:11)
at C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\lib\emulator.js:308:30
at _fulfilled (C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_modules\q\q.js:798:54)
at self.promiseDispatch.done (C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_modules\
q\q.js:827:30)
at Promise.promise.promiseDispatch (C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_mo
dules\q\q.js:760:13)
at C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_modules\q\q.js:526:49
at flush (C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_modules\q\q.js:108:17)
at process._tickCallback (node.js:419:13)
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}
was:
{code}
mkdir foo-release-debug-bar
cd foo-release-debug-bar
cordova create helloWorld
cd helloWorld
cordova platform add android
cordova run android --release
{code}
{quote}
BUILD SUCCESSFUL
Total time: 1 mins 21.038 secs
Built the following apk(s):
C:\Projects\Testing\cordova-release-testing\foo-release-debug-bar\helloWorld\platforms\android\build\outputs\apk\android-release-unsigned.apk
C:\Projects\Testing\cordova-release-testing\foo-release-debug-bar\helloWorld\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 (C:\Projects\Testing\cordova-release-testing\foo-release-debug-bar\helloWorld\platforms\androi
d\cordova\lib\build.js:621:11)
at C:\Projects\Testing\cordova-release-testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\lib\emulator.js:308:30
at _fulfilled (C:\Projects\Testing\cordova-release-testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_modules\q\q.js:798:54)
at self.promiseDispatch.done (C:\Projects\Testing\cordova-release-testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_modules\
q\q.js:827:30)
at Promise.promise.promiseDispatch (C:\Projects\Testing\cordova-release-testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_mo
dules\q\q.js:760:13)
at C:\Projects\Testing\cordova-release-testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_modules\q\q.js:526:49
at flush (C:\Projects\Testing\cordova-release-testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_modules\q\q.js:108:17)
at process._tickCallback (node.js:419:13)
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}
> 'cordova run android --release' fails if path contains '-release' and '-debug'
> ------------------------------------------------------------------------------
>
> Key: CB-9404
> URL: https://issues.apache.org/jira/browse/CB-9404
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Reporter: Alexander Sorokin
> Assignee: Alexander Sorokin
> Priority: Minor
>
> {code}
> mkdir foo-release-debug-bar
> cd foo-release-debug-bar
> cordova create helloWorld
> cd helloWorld
> cordova platform add android
> cordova run android --release
> {code}
> {quote}
> BUILD SUCCESSFUL
> Total time: 1 mins 21.038 secs
> Built the following apk(s):
> C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\build\outputs\apk\android-release-unsigned.apk
> C:\Projects\Testing\foo-release-debug-bar\helloWorld\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 (C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\androi
> d\cordova\lib\build.js:621:11)
> at C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\lib\emulator.js:308:30
> at _fulfilled (C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_modules\q\q.js:798:54)
> at self.promiseDispatch.done (C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_modules\
> q\q.js:827:30)
> at Promise.promise.promiseDispatch (C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_mo
> dules\q\q.js:760:13)
> at C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_modules\q\q.js:526:49
> at flush (C:\Projects\Testing\foo-release-debug-bar\helloWorld\platforms\android\cordova\node_modules\q\q.js:108:17)
> at process._tickCallback (node.js:419:13)
> 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}
--
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