# BitRise can't seem to find the .jks key I uploaded. My build always failed. I need help

**URL:** <https://discuss.bitrise.io/t/bitrise-cant-seem-to-find-the-jks-key-i-uploaded-my-build-always-failed-i-need-help/12320>\
**Category:** Question & Answer\
**Tags:** android\
**Created:** [March 20, 2020, 5:06am UTC](https://discuss.bitrise.io/t/bitrise-cant-seem-to-find-the-jks-key-i-uploaded-my-build-always-failed-i-need-help/12320 "2020-03-20T05:06:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![navaljr](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@navaljr](https://discuss.bitrise.io/u/navaljr)\
**Post date:** [March 20, 2020, 5:06am UTC](https://discuss.bitrise.io/t/bitrise-cant-seem-to-find-the-jks-key-i-uploaded-my-build-always-failed-i-need-help/12320/1 "2020-03-20T05:06:30Z")

</div>

I am in so desperate need help now.

So I can’t seem to complete the build process using BitRise because my gradle can’t seem to find the .jks keystore I uploaded in the Signing Config tab. I also used a File Downloader step to download it from `BITRISEIO_ANDROID_KEYSTORE_URL` to destination `KEYSTORE_DOWNLOAD_PATH` which points to `file://$HOME/keystores/mykey.jks`.

Now everytime my build step runs it kept throwing out:

```
* What went wrong:
Execution failed for task ':app:validateSigningTstReleaseBitrise'.
> Keystore file '/root/keystores/[REDACTED].jks' not found for signing config 'bitrise'.

```

Here is my build.gradle file:

```
signingConfigs {
   ...
    bitrise {
        keyAlias System.getenv("BITRISEIO_ANDROID_KEYSTORE_ALIAS")
        keyPassword System.getenv("BITRISEIO_ANDROID_KEYSTORE_PASSWORD")
        storeFile file("file://" + System.getenv("HOME") + "/keystores/mykey.jks")
        storePassword System.getenv("BITRISEIO_ANDROID_KEYSTORE_PASSWORD")
    }
}

buildTypes {
    ....
    releaseBitrise {
        shrinkResources true
        minifyEnabled true
        multiDexEnabled true
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        signingConfig signingConfigs.bitrise
    }
}

```

I am really so stuck. What else am I missing here? I am spending so much time on this already hence this post. None of the dev articles really helped [[1]](http://discuss.bitrise.io/t/android-signing-fail-because-keystore-not-found-in-the-specified-path/5394), [[2]](https://devcenter.bitrise.io/code-signing/android-code-signing/downloading-a-keystore-file/), [[3]](https://devcenter.bitrise.io/code-signing/android-code-signing/android-code-signing-in-gradle/).

Can someone help out?

---

<div class="post-metadata">

**Author:** ![Roland-Bak](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/roland-bak/32/3480_2.png) [@Roland-Bak](https://discuss.bitrise.io/u/Roland-Bak)\
**Post date:** [April 6, 2020, 8:25am UTC](https://discuss.bitrise.io/t/bitrise-cant-seem-to-find-the-jks-key-i-uploaded-my-build-always-failed-i-need-help/12320/2 "2020-04-06T08:25:34Z")

</div>

Hi there @navaljr , could you please send me a build URL of the related build and enable Support Access on the Settings tab of the app ([Enabling the Bitrise Support user for your app | Bitrise DevCenter](https://devcenter.bitrise.io/troubleshooting/enabling-bitrise-support-user/)), so that we may check things out? 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [May 6, 2020, 8:25am UTC](https://discuss.bitrise.io/t/bitrise-cant-seem-to-find-the-jks-key-i-uploaded-my-build-always-failed-i-need-help/12320/3 "2020-05-06T08:25:35Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
