S steele2012 Member Licensed User Longtime User Nov 22, 2017 #1 Hi, The following error is preventing me from compiling: Signing package file (private key). Error jarsigner error: java.security.InvalidKeyException: The security strength of SHA-1 digest algorithm is not sufficient for this key size Have already tried to download the Java 8u102 as advised but it's out of date and won't download. Any help would be appreciated. Regards Kevin
Hi, The following error is preventing me from compiling: Signing package file (private key). Error jarsigner error: java.security.InvalidKeyException: The security strength of SHA-1 digest algorithm is not sufficient for this key size Have already tried to download the Java 8u102 as advised but it's out of date and won't download. Any help would be appreciated. Regards Kevin
DonManfred Expert Licensed User Longtime User Nov 22, 2017 #2 Use this tool to download all SDK-Relevant parts. Make sure to setup the file to the Android.jar inside Tools-Configure path after installing the Parts... https://www.b4x.com/android/forum/threads/gui-sdk-manager-for-newer-versions-of-android-tools.80090/ Upvote 0
Use this tool to download all SDK-Relevant parts. Make sure to setup the file to the Android.jar inside Tools-Configure path after installing the Parts... https://www.b4x.com/android/forum/threads/gui-sdk-manager-for-newer-versions-of-android-tools.80090/
S steele2012 Member Licensed User Longtime User Nov 22, 2017 #3 The SDK is installed and running fine and will let me compile without a private key, but when I put in the signature key in it won't compile and comes up with the error stated above. Upvote 0
The SDK is installed and running fine and will let me compile without a private key, but when I put in the signature key in it won't compile and comes up with the error stated above.
Erel B4X founder Staff member Licensed User Longtime User Nov 22, 2017 #4 I still wasn't able to reproduce it here, though there is no doubt that there is an issue here. If you can please send me your private key to [email protected]. 1. Which version of Java are you currently using? 2. When have you created the key? steele2012 said: Have already tried to download the Java 8u102 as advised but it's out of date and won't download. Click to expand... What prevents you from downloading it? Upvote 0
I still wasn't able to reproduce it here, though there is no doubt that there is an issue here. If you can please send me your private key to [email protected]. 1. Which version of Java are you currently using? 2. When have you created the key? steele2012 said: Have already tried to download the Java 8u102 as advised but it's out of date and won't download. Click to expand... What prevents you from downloading it?
S steele2012 Member Licensed User Longtime User Nov 27, 2017 #5 I've finally installed the Java 102 and now receiving the following error: javac 1.8.0_102 src\b4a\example\starter.java:88: error: cannot find symbol super.onTaskRemoved(rootIntent); ^ symbol: method onTaskRemoved(Intent) 1 error Upvote 0
I've finally installed the Java 102 and now receiving the following error: javac 1.8.0_102 src\b4a\example\starter.java:88: error: cannot find symbol super.onTaskRemoved(rootIntent); ^ symbol: method onTaskRemoved(Intent) 1 error
DonManfred Expert Licensed User Longtime User Nov 27, 2017 #6 Use a higher version of android.jar 25 for ex. Upvote 0
S steele2012 Member Licensed User Longtime User Nov 27, 2017 #7 That's done the trick thanks guys Upvote 0
ZenWhisk Member Licensed User Longtime User Dec 5, 2017 #8 Helllllp!!! I was trying to get google maps to work. And somehow disrupted the private key on my actual in production app !!! So tried to make a new key and got the jarsigner error: java.security.InvalidKeyException error as above. Running b4a 7.3 and java 1.8.0_152 I cannot recover my old keystore, so was trying to make a new one. I seem to be digging myself deeper and deeper today :-( Upvote 0
Helllllp!!! I was trying to get google maps to work. And somehow disrupted the private key on my actual in production app !!! So tried to make a new key and got the jarsigner error: java.security.InvalidKeyException error as above. Running b4a 7.3 and java 1.8.0_152 I cannot recover my old keystore, so was trying to make a new one. I seem to be digging myself deeper and deeper today :-(