How to publish app to google play store?

Hi,

I have a newbie question. I have used CRNA create an app. Is it a way to publish it to
google play store?

Hi Ken!

Yeah!

The easiest way is probably to use the Expo tools. Just basically ‘npm install -g exp’ and then follow the guide here: https://docs.expo.io/versions/v15.0.0/guides/building-standalone-apps.html

Or you could also eject and then build an apk using android studio and submit that.

Hi,

I got this error: [exp] Must specify a java package in order to build this experience for Android. Please specify one in app.json at “expo.android.package”

Detail:
https://stackoverflow.com/questions/42967465/created-an-app-with-create-react-native-app-how-to-publish-it-to-the-google-pla

That error message is correct, you need to specify this field https://docs.expo.io/versions/latest/guides/configuration.html#packagethe-package-name-for-your-android-standalone-app-you-make-it-up-but-it-needs-to-be-unique-on-the-play-store-see-this-stackoverflow-question-httpstackoverflowcomquestions6273892android-package-name-convention_-reverse-dns-notation-unique-name-for-your-app-for-example-hostexpexponent-where-exphost-is-our-domain-and-exponent-is-our-app

Is there something confusing about the error message?

1 Like