what is growler.apk in the keytool command (using MapView)

It is the first time I am building a standalone app, that’s the excuse for this basic (hopefully not very stupid) question… It is OK to laugh, BTW, good for health :grin:

I am following the instructions in https://docs.expo.io/versions/latest/sdk/map-view to build an android standalone app.

step 9 says: “Run keytool -list -printcert -jarfile growler.apk | grep SHA1 | awk ‘{ print $2 }’ where growler.apk is the path to the apk you built in step 1.”

My full apk path is:

I thought that growler.apk is android%2F%40rahamin%2FIsrael-Weather-8866e66b-6d8a-11e8-b1f8-0a580a780406-signed.apk, but when I type (in windows):

keytool -list -printcert -jarfile android%2F%40rahamin%2FIsrael-Weather-8866e66b-6d8a-11e8-b1f8-0a580a780406-signed.apk | grep SHA1 | gawk “{ print $2 }”

I get nothing…
What should I do?

(also posted in https://github.com/expo/expo/issues/1857)

I think you have the right APK file. I wonder if this is a problem with running the command in Windows?
What happens if you run that command without the pipes to grep and awk?
Do you get any output or errors?

1 Like

keytool error: java.io.FileNotFoundException: android%2F%40rahamin%2FIsrael-Weather-8866e66b-6d8a-11e8-b1f8-0a580a780406-signed.apk (The system cannot find the file specified)

Of course… The file wasn’t there… So I downloaded it from the cloud, and now the command runs successfully :slight_smile:
Thanks, @ccheever, for helping.

1 Like

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