Bitbucket 管道 INSTALL_PARSE_FAILED_NO_CERTIFICATES 问题

Bitbucket Pipeline INSTALL_PARSE_FAILED_NO_CERTIFICATES Issue

I generated the build(apk) using bitbucket pipeline with the help of the link

While trying to run the apk I am getting this issue INSTALL_PARSE_FAILED_NO_CERTIFICATES. I didn't find the solution how to include default keystore file details to bitbucket.

Fixed this issue by doing some changes in build.sh file.

#!/bin/bash

./gradlew :assembleDebug || exit 1
BRANCH_NAME=
mkdir -p ~/.ssh
(umask  077 ; echo $BUILD_KEY | base64 --decode > ~/.ssh/id_rsa)
chmod 600 ~/.ssh/id_rsa
TOSEND=$BITBUCKET_COMMIT
if [ "" == "true" ]
then

if [ "" == "venkat" ]
then
    ssh -i ~/.ssh/id_rsa build@buildstore.venkat.com mkdir -p build/androidsdk/${BRANCH_NAME}/$TOSEND
    scp -i ~/.ssh/id_rsa venkat/build/outputs/aar/venkat-debug.aar build@buildstore.venkat.com:build/androidsdk/${BRANCH_NAME}/$TOSEND || exit 1
fi
if [ "" == "app" ]
then 
ssh -i ~/.ssh/id_rsa build@buildstore.venkat.com  mkdir -p build/androidtestapp/${BITBUCKET_BRANCH}/$TOSEND
scp -i ~/.ssh/id_rsa app/build/outputs/apk/app-debug.apk  build@buildstore.venkat.com:build/androidtestapp/${BITBUCKET_BRANCH}/$TOSEND || exit 1
fi
fi

现在构建已成功生成并可以安装在设备中。