On Feb 27, 2012, at 6:03 AM, Steven Pack wrote:
> First, I generated my key:
> 
> keytool -genkey -v -keystore xxxdict-keystore2.keystore -alias -mackey2 
> -keyalg RSA -keysize 2048 -validity 10000

Is this exactly what you provided? This has an alias of "-mackey2", not 
"mackey2" (note the leading hyphen).

> Here, ST=There, C=AU
> Enter key password for <-mackey2>
>         (RETURN if same as keystore password): 

This further suggests that the keystore alias is "-mackey2".

Meanwhile...

>                 Tool /usr/bin/jarsigner execution started with arguments: 
> -keystore xxxdictionary-keystore2.keystore -storepass password -keypass 
> password -digestalg SHA1 -sigalg md5withRSA -signedjar 
> bin/Release/com.xxxdictionary.android.lite-Signed-Unaligned.apk 
> obj/Release/android/bin/com.xxxdictionary.android.lite.apk mackey2 

The jarsigner command uses "mackey2", not "-mackey2".

You should try updating your <AndroidSigningKeyAlias/> to:

        <AndroidSigningKeyAlias>-mackey2</AndroidSigningKeyAlias>

If jarsigner doesn't like that (it might not like a "-"-prefixed alias), then 
recreate your keystore with an alias that doesn't start with a hyphen.

Thanks,
 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to