nicholas
nicholas

Reputation: 14593

React Native doesn't assemble signed Android app

I'm trying to bundle a React Native app for Android. But after going through the signing steps and running ./gradlew assembleRelease, I get just a lonely app-release-unsigned.apk in the apk folder. No errors given. No warnings thrown.

Everything seems to go just fine, except no output.

This is an app I've build before and is on the play store, so I know the keystore is valid, and the signing is good. I've recently ungraded react native - to v0.40 - so must have mucked something up.

Anyone know how I might begin to debug this?

Upvotes: 2

Views: 1256

Answers (1)

Nicoschi
Nicoschi

Reputation: 71

I found a solution changing buildTypes (inside build.gradle) like this:

buildTypes {
  release {
    signingConfig signingConfigs.release
  }
}

Upvotes: 7

Related Questions