Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google map in android by using keytool

I am going type the below command to get the information of keytool

keytool -list -v -keystore “C:\Users\key\.android\debug.keystore” -alias androiddebugkey -   storepass android -keypass android

however, it said my key file is not exist.

    at sun.security.tools.KeyTool.doCommands(KeyTool.java:738)
    at sun.security.tools.KeyTool.run(KeyTool.java:340)
    at sun.security.tools.KeyTool.main(KeyTool.java:333)

Btw I am using key in my user name, I dont know it is related or not. Please help me if You know what happen. Thanks.

I have used the highest premission to run cmd but it is the same result.

Here are the snap shot about the path of keytool and androiddebugkey

http://postimg.org/image/xew43joon/ http://postimg.org/image/hwbrj0d5h/

like image 702
user3423149 Avatar asked Aug 04 '26 05:08

user3423149


2 Answers

Its Simple.Try replacing your double quotes “ and ” with ". They are different in command prompt.

like image 74
Antony Avatar answered Aug 07 '26 00:08

Antony


i have one more solution to this problem. Simple press Ctrl+shift+Right Click you will get option Open command window here open Command Window . Do all this where your debug.keystore file exist & paste this line keytool -list -v keystore debug.keystore and it will ask for password Enter android as default Password. Imean to say follow this steps You will surely get rid of your problem.Its working From myside.Hope this will solve your problem.

like image 21
i.n.e.f Avatar answered Aug 07 '26 00:08

i.n.e.f



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!