GoogleChromeLabs / GoogleChromeLabs/bubblewrap

Cannot build android project with .jks keystore

Open
#553 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.1k
Forks
319
PR merge metrics
No merged PRs in 30d

Description

Hi there.

I recently went through the process of generating a new .jks and .pem file, as found in [issue 454](https://github.com/GoogleChromeLabs/bubblewrap/issues/454). I get an error saying my build failed due to an invalid keystore format. I am using Node v14.17.0, and the latest version of bubblerwrap.

Any insight into how to move forward with the build would be much appreciated.

**twa-manifest.json signing key section**

```
"signingKey": {
"path": "/Users/amac/company/repos/repo/keystore.jks",
"alias": "upload"
},
```

**How I generated the keystore**

```
keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks
```

**What I did**

```
bubblewrap build
```

**What I expected**

A new .apk and .aab to be generated

**What I actually get**

Screen Shot 2021-06-18 at 12 07 36 PM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.