There is no debug.keystore in .android folder

后端 未结 10 1733
滥情空心
滥情空心 2020-11-30 19:47

Someone I\'m helping with an application needs to locate her debug.keystore - mine is in my .android folder, but when I navigate there on her computer it is not there.

相关标签:
10条回答
  • 2020-11-30 20:15

    Try this for Generating PKCS keys.

    keytool -importkeystore -srckeystore C:\Users\xxx\.android\debug.keystore -destkeystore C:\Users\xxx\.android\debug.keystore -deststoretype pkcs12
    

    Note: RSA2048 is not a recommended industry standard and the above command can be used to migrate the existing debug.keystore in RSA2048 to PKCS format

    The old debug.keystore which was in RSA2048 will be renamed to debug.keystore.old and saved automatically

    0 讨论(0)
  • 2020-11-30 20:24

    On Windows 7, I had to create the file manually using John's suggested command. Don't forget to enclose the path in a pair of double quotes (").

    0 讨论(0)
  • 2020-11-30 20:25

    try this....it will generate the file debug.keystore to

    C:/

    for all versions of Windows

    keytool -genkey -v -keystore C:/debug.keystore -alias androiddebugkey -storepass android -keypass android -keyalg RSA -keysize 2048 -validity 999999 -dname "CN=Android Debug,O=Android,C=US"
    
    0 讨论(0)
  • 2020-11-30 20:30

    According to the documentation, performing a build in Eclipse or using ant debug should automatically generate ~/.android/debug.keystore.

    But in case this doesn't work, you can create one manually by running:

    keytool -genkey -v -keystore ~/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"
    
    0 讨论(0)
  • 2020-11-30 20:31

    You can create keystore using this command..

    keytool -genkey -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android -keyalg RSA -keysize 2048 -validity 10000 -dname "CN=Android Debug,O=Android,C=US"

    0 讨论(0)
  • 2020-11-30 20:36

    If she is using Eclipse then go to Windows -> Preferences

    Select Android -> Build

    There you will see Default debug keystore: "Path"

    See if you can locate it there.

    0 讨论(0)
提交回复
热议问题