There are two ways to sign:
The first is to use eclipse.
The second one is generated by the trial command that comes with Android and needs dos.
The command is as follows: keytool-genkey-alias Android. keystore-keyalg RSA-validity 20000-keystore Android。 Keystore.
Right-click Project >>& gtAndroid Tools & gt> Export signed application package ...>& gt& gt Next & gt>> Select Create a new keystore? Select the saved address here and enter the password twice >>& gt& gt Fill in the basic information, as shown in the figure below.
The following figure shows the content generated by using the keytool -list -v -keystore command after generating android.keystore