Android:测试签名的问题
使用Android Studio开发Android应用
设置Debug签名:
在Project Structure->Facets->Compiler->Custom debug keystore
Debug的签名需要以下要求:
- Keystore名字:“debug.keysotre”
- Keystore密码:“android”
- Key别名:“androiddebugkey”
- Key密码:“android”
- CN:“CN=Android Debug,O=Android,C=US”
设置Release签名:
在Project Stucture->Artifacts->Android Key store path
生成签名:
Android Studio中也有生成签名的工具
在Build->Grenerate Signed APK中操作
查看签名:
使用Java的工具keytool
keytool -list -v -keystore xxxx -storepass xxxxx