Josh Elias
Josh Elias

Reputation: 3290

Unable to find debug key in keystore in Eclipse

I'm receiving this error when trying to use a custom debug.keystore in Eclipse for my Android application.

I'm using these commands to generate my keystore:

keytool -genkey -v -keystore debug.keystore -alias androidfacebookdebugkey -storepass android -keypass android -keyalg RSA -validity 14000

Is there any special way to generate a debug keystore for eclipse? I've never had to do anything in addition to this for any other IDEs.

Upvotes: 0

Views: 2578

Answers (2)

Lucky Rana
Lucky Rana

Reputation: 1050

GO to Window >> Preferences >> Android >> Build

It will display default debug.keystore location,MD5 and SHA1 fingerprint

Upvotes: 0

Varun
Varun

Reputation: 33983

The default keystore that is used by eclipse has a default password android and an alias of androiddebugkey. My guess is eclipse is trying to sign the debug apk using the default values mentioned above and so it fails.

Upvotes: 5

Related Questions