======================
导出加签名的APK文件的方法
======================
1.考虑到项目很多,可以用文件夹分开管理各个项目的keystore签名文件和签好名的APK文件(下面以WiFi项目为例):
---D:\keystores\WiFi\
---完成后最好按下面目录结构
---D:\keystores\WiFi\(wifi.keystore 和 WiFi.apk)
====================
下面开始啦(用eclipse,很方便)
====================
2.导出加签名的APK文件
---eclipse中右击项目
---点击Android Tools
---点击Export Signed Application Package
---确认项目,点击Next
---首次签名点击Create new keystore,选择签名文件的保存Location(D:\keystores\WiFi\(wifi.keystore(新建)),设置password,confirm password),点击Next
---填写证书文件信息
Alias: pmtoam
Password: 123abc
Confirm: 123abc
Validity(years): 25
First and Last Name: pmtoam wong
Organizational Unit: pmtoam
Organization: pmtoam
City or Locality: shanghai
State or Province: shanghai
Country Code (XX): cn
填好,点击Next
---Destination APK file(选择签好名的APK文件保存目录(D:\keystores\WiFi\WiFi.apk),点击Finish
3.查看
---D:\keystores\WiFi\wifi.keystore(以后再签名时不需要Create new keystore,直接Use existing keystore)
---D:\keystores\WiFi\WiFi.apk(签好名的APK,可以发布啦)
======================
===== THE END===========
======================
导出加签名的APK文件的方法
======================
1.考虑到项目很多,可以用文件夹分开管理各个项目的keystore签名文件和签好名的APK文件(下面以WiFi项目为例):
---D:\keystores\WiFi\
---完成后最好按下面目录结构
---D:\keystores\WiFi\(wifi.keystore 和 WiFi.apk)
====================
下面开始啦(用eclipse,很方便)
====================
2.导出加签名的APK文件
---eclipse中右击项目
---点击Android Tools
---点击Export Signed Application Package
---确认项目,点击Next
---首次签名点击Create new keystore,选择签名文件的保存Location(D:\keystores\WiFi\(wifi.keystore(新建)),设置password,confirm password),点击Next
---填写证书文件信息
Alias: pmtoam
Password: 123abc
Confirm: 123abc
Validity(years): 25
First and Last Name: pmtoam wong
Organizational Unit: pmtoam
Organization: pmtoam
City or Locality: shanghai
State or Province: shanghai
Country Code (XX): cn
填好,点击Next
---Destination APK file(选择签好名的APK文件保存目录(D:\keystores\WiFi\WiFi.apk),点击Finish
3.查看
---D:\keystores\WiFi\wifi.keystore(以后再签名时不需要Create new keystore,直接Use existing keystore)
---D:\keystores\WiFi\WiFi.apk(签好名的APK,可以发布啦)
======================
===== THE END===========
======================