Android 修改debug证书出现:Keystore was tampered with, or password was incorrect 问题解决
2015-06-09 13:36
531 查看
I have a custom keystore that I use for signing my apk. now I want to use the same keystore for debugging. when I go to eclipse->windows->preferences->android->build and set my custom key store I get "Keystore was tampered with, or password was incorrect"?
I had the same issue and here are the steps to properly create a custom keystore that can be used for debugging in Eclipse:
Basically what you should do is that change both
the alias
"android".
Here are the commands:
If you don't know your old alias, look it up using
in Command prompt not able to enter the password
I had the same issue and here are the steps to properly create a custom keystore that can be used for debugging in Eclipse:
Basically what you should do is that change both
storepasswdand
keypasswdfor
the alias
androiddebugkeyto
"android".
Here are the commands:
keytool -changealias -keystore mykeystore.keystore -alias [old alias] -destalias androiddebugkey keytool -keypasswd -keystore mykeystore.keystore -alias androiddebugkey keytool -storepasswd -keystore mykeystore.keystore
If you don't know your old alias, look it up using
keytool -list -v -keystore mykeystore.keystore
in Command prompt not able to enter the password
相关文章推荐
- Android HAL(硬件抽象层)介绍以及调用
- Android自定义View基础(1)
- Android4.0反编译笔记
- Android Studio 相关-快捷键、常见问题
- Android 省市县 三级联动(android-wheel的使用)
- Android 5.0 如何正确启用isLoggable(二)__原理分析
- Android SDK Manager需要下载类目
- Android OOM 问题的总结
- Android图片内存优化的心得
- android studio 更新 Gradle错误解决方法
- Android优化系列——代码优化
- Android之Activity的四种启动模式
- AndroidManifest.xml——activity(二)
- Android锁定屏幕或关闭状态-screen,高速按两次音量向下键来实现拍摄功能(1.1Framework在实现的形式层广播)
- android屏幕适配建议
- android webView不能加载本地html文件问题
- Android 控制台异常:ScrollView can host only one direct child
- Android NDK (学习笔记六) —— JNI交互间数组的处理
- Android性能测试工具原理
- android学习经常使用的数据文件夹