"creating unsigned app" message in console while building for Play store beta

Hi,

The console included the following message: “creating unsigned app” while building the newest version of my app for the Play store.

I’m using the same keystore that I created and used for the first build I ran for a store release. I don’t recall seeing that “creating unsigned app” message during that build.

Is my apk file in fact not signed or am I misunderstanding that message, and/or what it means to be signed?   Google accepted the new file when I uploaded it (uploading as beta releases).

Are you using the debug keystore or are you using a hand created keystore?

Rob

I’m using the one I created following the tutorial

https://coronalabs.com/blog/2014/08/26/tutorial-understanding-android-app-signing/

I tried using jarsigner to see how it was signed (replacing your_apk.apk with the actual file name) :

jarsigner -verify -verbose -certs your_apk.apk

But Terminal returned an unable to unzip error

found info about jarsigner here:   

(https://medium.com/@chintanrathod/verify-if-apk-is-signed-with-certificate-or-debug-build-44a729e684ca)

Is this message showing up in your Corona simulator’s console log window during build? Can you copy/paste the entire log file?  Can you provide a screen shot of your build dialog just before you click the “Build” button?  Please do not blur out/redact any fields.

Rob

Thanks for the help, Rob.

Yes, it’s showing up in the simulator’s console log. 

I’ve just built it twice and noticed the log file from the second time doesn’t contain as much info as the first, but they both contain the creating unsigned message

here’s the log from the first time

Using java version "1.6.0\_65" Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-468-11M4833) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode) May 03 06:05:59.381 Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en May 03 06:05:59.827 Testing credentials for '/Users/thebox/keystores/batterbake.keystore': May 03 06:05:59.888 Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en May 03 06:06:03.752 Testing credentials for '/Users/thebox/keystores/batterbake.keystore': May 03 06:06:03.815 Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en May 03 06:06:41.708 Using java version "1.6.0\_65" Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-468-11M4833) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode) May 03 06:06:42.462 Building Android app for jeff@riverworksmedia.com with 2017.3184 May 03 06:06:45.347 BUILD SUCCESSFUL Total time: 0 seconds May 03 06:08:15.478 Excluding specified files from build: excluding: Icon.png excluding: Icon-??.png excluding: Icon-???.png excluding: LaunchScreen.storyboardc BuildID: 5aeb87f5c3cca May 03 06:08:29.734 [echo] "creating unsigned.apk" May 03 06:08:29.735 May 03 06:08:39.281 BUILD SUCCESSFUL Total time: 12 seconds May 03 06:08:39.356 Android build succeeded in 115 seconds May 03 06:08:58.719 Using java version "1.6.0\_65" Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-468-11M4833) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)

screenshot-build-keystore-1.png is the screenshot before doing the first build.

second build’s log

Using java version "1.6.0\_65" Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-468-11M4833) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode) May 03 06:11:28.976 Using java version "1.6.0\_65" Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-468-11M4833) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode) May 03 06:11:29.744 Building Android app for jeff@riverworksmedia.com with 2017.3184 May 03 06:11:32.257 BUILD SUCCESSFUL Total time: 0 seconds May 03 06:13:05.263 Excluding specified files from build: excluding: Icon.png excluding: Icon-??.png excluding: Icon-???.png excluding: LaunchScreen.storyboardc BuildID: 5aeb8914b32aa May 03 06:13:16.343 [echo] "creating unsigned.apk" May 03 06:13:25.041 BUILD SUCCESSFUL Total time: 11 seconds May 03 06:13:25.119 Android build succeeded in 114 seconds May 03 06:15:15.844 Using java version "1.6.0\_65" Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-468-11M4833) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)

screenshot-build-keystore-2.png is from during the second build process.

Jeff

I believe this is a message that’s not important. When we build on the server, we don’t sign the app there. Signing happens once we send the build back to your computer. Unless you’re seeing a problem other than a message in the build log, I think your fine.

Rob

great, thanks!

Are you using the debug keystore or are you using a hand created keystore?

Rob

I’m using the one I created following the tutorial

https://coronalabs.com/blog/2014/08/26/tutorial-understanding-android-app-signing/

I tried using jarsigner to see how it was signed (replacing your_apk.apk with the actual file name) :

jarsigner -verify -verbose -certs your_apk.apk

But Terminal returned an unable to unzip error

found info about jarsigner here:   

(https://medium.com/@chintanrathod/verify-if-apk-is-signed-with-certificate-or-debug-build-44a729e684ca)

Is this message showing up in your Corona simulator’s console log window during build? Can you copy/paste the entire log file?  Can you provide a screen shot of your build dialog just before you click the “Build” button?  Please do not blur out/redact any fields.

Rob

Thanks for the help, Rob.

Yes, it’s showing up in the simulator’s console log. 

I’ve just built it twice and noticed the log file from the second time doesn’t contain as much info as the first, but they both contain the creating unsigned message

here’s the log from the first time

Using java version "1.6.0\_65" Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-468-11M4833) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode) May 03 06:05:59.381 Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en May 03 06:05:59.827 Testing credentials for '/Users/thebox/keystores/batterbake.keystore': May 03 06:05:59.888 Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en May 03 06:06:03.752 Testing credentials for '/Users/thebox/keystores/batterbake.keystore': May 03 06:06:03.815 Picked up JAVA\_TOOL\_OPTIONS: -Duser.language=en May 03 06:06:41.708 Using java version "1.6.0\_65" Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-468-11M4833) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode) May 03 06:06:42.462 Building Android app for jeff@riverworksmedia.com with 2017.3184 May 03 06:06:45.347 BUILD SUCCESSFUL Total time: 0 seconds May 03 06:08:15.478 Excluding specified files from build: excluding: Icon.png excluding: Icon-??.png excluding: Icon-???.png excluding: LaunchScreen.storyboardc BuildID: 5aeb87f5c3cca May 03 06:08:29.734 [echo] "creating unsigned.apk" May 03 06:08:29.735 May 03 06:08:39.281 BUILD SUCCESSFUL Total time: 12 seconds May 03 06:08:39.356 Android build succeeded in 115 seconds May 03 06:08:58.719 Using java version "1.6.0\_65" Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-468-11M4833) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)

screenshot-build-keystore-1.png is the screenshot before doing the first build.

second build’s log

Using java version "1.6.0\_65" Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-468-11M4833) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode) May 03 06:11:28.976 Using java version "1.6.0\_65" Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-468-11M4833) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode) May 03 06:11:29.744 Building Android app for jeff@riverworksmedia.com with 2017.3184 May 03 06:11:32.257 BUILD SUCCESSFUL Total time: 0 seconds May 03 06:13:05.263 Excluding specified files from build: excluding: Icon.png excluding: Icon-??.png excluding: Icon-???.png excluding: LaunchScreen.storyboardc BuildID: 5aeb8914b32aa May 03 06:13:16.343 [echo] "creating unsigned.apk" May 03 06:13:25.041 BUILD SUCCESSFUL Total time: 11 seconds May 03 06:13:25.119 Android build succeeded in 114 seconds May 03 06:15:15.844 Using java version "1.6.0\_65" Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-468-11M4833) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)

screenshot-build-keystore-2.png is from during the second build process.

Jeff

I believe this is a message that’s not important. When we build on the server, we don’t sign the app there. Signing happens once we send the build back to your computer. Unless you’re seeing a problem other than a message in the build log, I think your fine.

Rob

great, thanks!