Android keytool 키값 생성

less than 1 minute read

2013.05 현재시점에서 동작하는 방법
예전사이트는 접속도 안되고.. 구글에서 이 주소를 찾는것도 정말 힘들다.
구글은 역시… 기술은 좋은데 기획은 엉망이다.

keytool -list -keystore “C:/Documents and Settings/<”your user name here”>/.android/debug.keystore”

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore openssl sha1 -binary openssl base64 디버그용 키 생성할 때… Signing in Debug Mode The Android build tools provide a debug signing mode that makes it easier for you to develop and debug your application, while still meeting the Android system requirement for signing your APK. When using debug mode to build your app, the SDK tools invoke Keytool to automatically create a debug keystore and key. This debug key is then used to automatically sign the APK, so you do not need to sign the package with your own key.

The SDK tools create the debug keystore/key with predetermined names/passwords:

Keystore name: “debug.keystore” Keystore password: “android” Key alias: “androiddebugkey” Key password: “android” CN: “CN=Android Debug,O=Android,C=US”