Hi Easter Bunny,
Many thanks for your tool and response.
I found a way to build and sign a release version of the APK file.
I just had to modify the sign.cmd file and remove %JAVA_HOME%\bin from the command
Before the file contained the following and was not executed:
- "%JAVA_HOME%/bin/jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore %1 %2 %3"
After modification, the file contains the following and is correctly executed:
- "jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore %1 %2 %3"
I guess the installation is correct as, at the end, all the building and signing process is working.
However, please find below the copy/paste of the error I obtain when I run "%JAVA_HOME%/bin/jarsigner" (sorry it is in french:
- "'C:\Program' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes."
The matters seems to come frome the fact there is space in the "c:\Program File\xxx" and so the command is not recognised.
But without the %JAVA_HOME%\bin all is working fine.
Regarding verification process, I had to do the same and remove "%JAVA_HOME\bin" from the verify.cmd command file.
So there is the verification result:
- " [CertPath not validated: Path does not chain with any of the trust anchors
]
sm 154817 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh42.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 17116 Fri Oct 26 16:38:54 CEST 2012 assets/media/mesh43.0.jpg
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 187410 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh43.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 21676 Fri Oct 26 16:38:54 CEST 2012 assets/media/mesh44.0.jpg
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 232555 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh44.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 17116 Fri Oct 26 16:38:54 CEST 2012 assets/media/mesh45.0.jpg
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 142567 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh45.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 26581 Fri Oct 26 16:38:54 CEST 2012 assets/media/mesh46.0.jpg
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 92126 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh46.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 36516 Fri Oct 26 16:38:54 CEST 2012 assets/media/mesh47.0.jpg
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 319736 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh47.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 36516 Fri Oct 26 16:38:54 CEST 2012 assets/media/mesh48.0.jpg
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 319736 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh48.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 49148 Fri Oct 26 16:38:54 CEST 2012 assets/media/mesh49.0.jpg
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 163499 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh49.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 31431 Fri Oct 26 16:38:54 CEST 2012 assets/media/mesh5.1.jpg
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 282326 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh5.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 49142 Fri Oct 26 16:38:54 CEST 2012 assets/media/mesh50.0.jpg
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 100970 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh50.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 18665 Fri Oct 26 16:38:54 CEST 2012 assets/media/mesh6.1.jpg
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 190101 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh6.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 35395 Fri Oct 26 16:38:54 CEST 2012 assets/media/mesh7.1.jpg
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 180560 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh7.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 14978 Fri Oct 26 16:38:54 CEST 2012 assets/media/mesh8.0.jpg
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 48341 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh8.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 10971 Fri Oct 26 16:38:54 CEST 2012 assets/media/mesh9.0.jpg
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 212010 Mon Mar 24 15:10:26 CET 2014 assets/media/mesh9.obj
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 291 Mon Mar 24 15:10:26 CET 2014 assets/media/pixel.ps
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 381 Mon Mar 24 15:10:26 CET 2014 assets/media/vertex.vs
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 956 Mon Mar 24 15:10:26 CET 2014 res/layout/facebookmain.xml
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 956 Mon Mar 24 15:10:26 CET 2014 res/layout/main.xml
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 3704 Mon Mar 24 15:10:26 CET 2014 AndroidManifest.xml
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 1660 Mon Mar 24 15:10:24 CET 2014 resources.arsc
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 4676 Mon Mar 24 15:10:24 CET 2014 res/drawable-hdpi/icon.png
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 1913 Mon Mar 24 15:10:24 CET 2014 res/drawable-ldpi/icon.png
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 3412 Mon Mar 24 15:10:24 CET 2014 res/drawable-mdpi/icon.png
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 333208 Mon Mar 24 15:10:22 CET 2014 classes.dex
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 3190408 Sat Sep 07 02:21:26 CEST 2013 lib/armeabi/libandroid_player.so
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 3097064 Sat Sep 07 02:21:30 CEST 2013 lib/armeabi-v7a/libandroid_player.so
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
sm 3790256 Sat Sep 07 02:21:34 CEST 2013 lib/x86/libandroid_player.so
X.509, CN=MYTHIC MIKE, O=PU, L=MASSILIA, C=FR
[certificate is valid from 22/03/14 20:06 to 07/08/41 21:06]
[CertPath not validated: Path does not chain with any of the trust anchors
]
s = signature was verified
m = entry is listed in manifest
k = at least one certificate was found in keystore
i = at least one certificate was found in identity scope
jar verified.
Warning:
This jar contains entries whose certificate chain is not validated.
This jar contains signatures that does not include a timestamp. Without a timest
amp, users may not be able to validate this jar after the signer certificate's e
xpiration date (2041-08-07) or after any future revocation date.
C:\Applications\The Game Creators\AGK\APK_Installer_Automayte2.1\APKs>pause
Appuyez sur une touche pour continuer...
Regarding JAVA_HOME it is initiated and contains then following:
- "JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51"
Many thanks again for your help and comments.
Michel
Michel