[ 
https://issues.apache.org/jira/browse/CB-10287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15087519#comment-15087519
 ] 

Miha Svalina commented on CB-10287:
-----------------------------------

I folowed procedure described here: 
http://taco.visualstudio.com/en-us/docs/tutorial-package-publish-readme/

{code}keytool -genkey -v -keystore c:\my-release-key.keystore -alias myName
-keyalg RSA -keysize 2048 -validity 10000{code}

And because I am using cordova 5.4.1 (> 5.x) file build.json got below content:

{code}
{
  "android": {
    "release": {
      "keystore": "my-release-key.keystore",
      "storePassword": "pass",
      "alias": "myname",
      "password": "pass",
      "keystoreType": ""
    }
  }
}
{code}

Is there anything else I could try. Updated visual studio, Tools -> Android -> 
Android SDK Manager -> update all.

> Error: Could not find apk architecture: arm build-type: release
> ---------------------------------------------------------------
>
>                 Key: CB-10287
>                 URL: https://issues.apache.org/jira/browse/CB-10287
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, cordova-windows, CordovaLib
>    Affects Versions: 5.4.1
>            Reporter: Miha Svalina
>             Fix For: 5.0.0
>
>
> I'm using Visual Studio 2015 to build Release Android to Device (Android 
> 4.4.4). I also tried the same command that visual studio issues to cmd. Error 
> is of course the same.
> Note that Debug works OK, even debugging on device works ok.
> I'm using:
> - windows 10, 64bit (if that makes any difference)
> {code}
> X:\androidApp\androidApp\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 
> (X:\androidApp\androidApp\platforms\android\cordova\lib\build.js:621:11)
>     at X:\androidApp\androidApp\platforms\android\cordova\lib\device.js:97:30
>     at _fulfilled 
> (X:\androidApp\androidApp\platforms\android\cordova\node_modules\q\q.js:798:54)
>     at self.promiseDispatch.done 
> (X:\androidApp\androidApp\platforms\android\cordova\node_modules\q\q.js:827:30)
>     at Promise.promise.promiseDispatch 
> (X:\androidApp\androidApp\platforms\android\cordova\node_modules\q\q.js:760:13)
>     at 
> X:\androidApp\androidApp\platforms\android\cordova\node_modules\q\q.js:526:49
>     at flush 
> (X:\androidApp\androidApp\platforms\android\cordova\node_modules\q\q.js:108:17)
>     at doNTCallback0 (node.js:428:9)
>     at process._tickCallback (node.js:357:13)androidApp\androidApp
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to