Failed to digitally sign signature file : Stencyl build 10252 [solved ]

Zuidsoft

  • Posts: 13
I am building for android and generates this Error in stencyl  build 10252

 > Task :app:packageRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:packageRelease'.
> java.io.IOException: Failed to digitally sign signature file.

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

« Last Edit: February 04, 2019, 10:53:52 am by Zuidsoft »

sasorysoft

  • Posts: 1
Same to my projects.. after upgrading to Stencyl vers. 4.0... Please advise....

« Last Edit: January 31, 2019, 03:16:51 pm by sasorysoft »

Zuidsoft

  • Posts: 13
the build 10252 solves it, you just have to download the JDK 11

rob1221

  • *
  • Posts: 9471
I updated my JDK version to 201 but I still don't get the signing error you two are getting.  Maybe it's a factor but clearly not the only one.  Also Sasorysoft is on Windows 10 so this isn't a Mac-only issue either.

Zuidsoft

  • Posts: 13
When I installed JDK 8 and stencyl build 10252, this error is generated and with JDK 11 it is not generated.

rob1221

  • *
  • Posts: 9471
After creating a new certificate I'm getting the same error now so something seems to be broken related to newly created certificates using the later versions of JDK 8.  I don't think the certificates themselves are the problem.

Update: changing my minimum Android version from 14 to 18 fixes this problem for me.  If 18 doesn't work for you then try 21.

In b10255, API 18 is now the default minimum for new games.

Also, JDK 11 apparently requires Gradle 5 so at this current time, do NOT upgrade to JDK 11.

« Last Edit: February 04, 2019, 10:25:41 am by rob1221 »

yoplalala

  • *
  • Posts: 1594
With newly created by Stencyl 4.1 certificates, I have the same problem.
If I use some certificates created by an old stencyl ( 3 ... ) or if create mine using keytool, I don't have this problem