Jarsigner: Unable to find the Qulordy certificate chain. Qulordy must reference a valid KeyStore key entry that contains the private key and the corresponding public key certificate chain.
This is the wrong statement, hint.
On this error, the online said less, found a blog, that is to say:
/** * This is the problem mentioned in the blog, and the solution, the original address: http://blog.csdn.net/jzh2012/article/details/7400737 * But after I saw this, I still couldn't get my head out. Issue two: Jarsigner: Unable to find the Androidapp.keystore certificate chain. Androidapp.keystore must reference a valid KeyStore key entry that contains the private key and the corresponding public key certificate chain. Method: When generating a digital certificate with Keytool, you must ensure that the name-keystore Androidapp.keystore-alias Androidapp.keystore must be the same.
OK, he's right, but it's too vague for the first time to get people to make it more blurred.
I'm going to go after him in this direction. There is a keystore command to generate a command, as follows
Keytool-genkey-alias android.keystore-keyalg rsa-validity 20000-keystore android.keystore
According to the method described above,-keystore Androidapp.keystore-alias Androidapp.keystore must have the same name.
I looked, indeed the same, and then eclipse in ->android Tools, Export signed application package ...
Then use existing KeyStore, this time unexpectedly can, then explain my keystore is correct, the problem must be in eclipse or my build.xml and custom_rules.xml inside.
But 1.eclipse must be right.
Follow the 2.build.xml is automatically generated, it is not wrong (of course, the attitude of doubt authority is very good, but here I chose to believe)
Last 3. It's just me. Custom_rules.xml a problem.
After a thorough examination, sure enough, (the code below is custom_rules.xml )
<property name= "KeyStore" value= " Android.keystore " /> <property name= "Keystore.password" value= "Your password" /> <property name= "Key.alias" value= "andy.com" /> <!-- Here's the wrong The solution to the quoted blog post is -->
Change the above to
<property name= "KeyStore" value= " Android.keystore " /> <property name= "Keystore.password" value= "Your password" /> <property name= "Key.alias" value= "Android.keystore" /> <!-- To be consistent with KeyStore, I finally understood the meaning of this sentence -->
And then the rest of the Custom_rules.xml , it's not wrong.
Android Signature issue, Jarsigner problem