exp build:android generates a Debug apk

I ran jarsigner -verify -verbose -certs my_application.apk on my apk to check whether it was signed in debug or release mode. This is a part of the result: X.509, C=US, O=Android, CN=Android Debug

The apk should be ready for Store submission, thus signed in release mode. I can’t seem to find any command for this, i believe the default behavior should be for it to be signed in release mode.
I can’t upload it the Play Store because of this.

Thanks in advance for any help!

Hey @emixis,

That’s very interesting. I haven’t heard of this happening to any other users. We’ll try to repro internally, but first can you provide me with what versions of the exp CLI and Expo SDK you are using as well the build ID for the affected build?



Hello, sorry for the late answer,

Here are the info you asked for:

exp: 56.0.0
Expo SDK: 29.0.0
build ID: f625c9b5-e013-4811-a322-cc7fd46835a8

Thanks in advance

Edit: Today i updated exp to 57.0.0, i rebuilt the app and cleared the credentials, then ran the command to check for the release mode, and the apk is actually in release mode now.
I was able to upload the apk on the store successfully.

Still, i have no idea why it wasn’t in release mode earlier.

Thanks for your time anyway!

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