Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Azure devOps signing APK give permission error

$
0
0

I’m using Azure Devops in order to build my ionic-cordova Android application. The unsigned apk is successfully built but when I’m running the signing process I get the following error:

Error: EACCES: permission denied, rename '/home/vsts/work/1/s/platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk' -> '/home/vsts/work/1/s/platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk.unaligned'
Exit code 1 returned from process: file name '/home/vsts/agents/2.175.2/externals/node/bin/node', arguments '"/home/vsts/work/_tasks/AndroidSigning_80f3f6a0-82a6-4a22-ba7a-e5b8c541b9b9/3.177.0/androidsigning.js"'.

YAML:

steps:
- task: AndroidSigning@3
  displayName: 'Signing and aligning APK file(s)'
  inputs:
    apkFiles: '$(build.sourcesdirectory)/platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk'
    apksignerKeystoreFile: 'project.keystore'
    apksignerKeystorePassword: password
    apksignerKeystoreAlias: 'project'
    apksignerKeyPassword: 123456
    apksignerArguments: '--out $(build.sourcesdirectory)/platforms/android/app/build/outputs/apk/release/app-release.apk'

Know someone who can answer?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>