How to package android project into apk

1.) To generate a keystore

Follow the command line below in the E disk directory,

enter keytool -genkey -alias android.keystore -keyalg RSA -validity 500-keystore android.keystore

parameter meaning: -validity is mainly the validity period of the certificate, write 500 days ; Space and backspace are all passwords.

After the command is executed, the android.keystore file will be generated in the E disk directory.



 

 



 

 

2.) Eclipse generates an apk file

and selects the project to be packaged, right-click ->Android tools->Export Signed Application Package...such as

If you click on Export Signed Application Package...and report the exception "XXX" is not translated in "af" (Afrikaans), "am" (Amharic), "ar" (Arabic)..... a blog post

 

3) Just look at the pictures for the next steps

 

 



 

 



 

 

 



 

 



 

 



 

 

You're done!

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326607321&siteId=291194637