Android Studio - debug keystore

前端 未结 7 1767
一整个雨季
一整个雨季 2020-12-02 06:11

Does Android Studio sign debug builds? If so, where is the keystore it uses to do it?

相关标签:
7条回答
  • 2020-12-02 06:45

    On Mac, you will find it here: /Users/$username/.android

    0 讨论(0)
  • 2020-12-02 06:53

    If you use Windows, you will found it follow this: File-->Project Structure-->Facets

    chose your Android project and in the "Facet 'Android'" window click TAB "Packaging",you will found what you want

    0 讨论(0)
  • 2020-12-02 06:56

    It is at the same location: ~/.android/debug.keystore

    0 讨论(0)
  • 2020-12-02 06:59

    Here's how i finally created the ~/.android/debug.keystore file.

    First some background. I got a new travel laptop. Installed Android Studio. Cloned my android project from git hub. The project would not run. Finally figured out that the debug.keystore was not created ... and i could not figure out how to get Android Studio to create it.

    Finally, i created a new blank project ... and that created the debug.keystore!

    Hope this helps other who have this problem.

    0 讨论(0)
  • 2020-12-02 07:02

    Android Studio debug.keystore file path depend on environment variable ANDROID_SDK_HOME.

    If ANDROID_SDK_HOME defined, then file placed in SDK's subfolder named .android .
    When not defined, then keystore placed at user home path in same subfolder:
    - %HOMEPATH%\.android\ on Windows
    - $HOME/.android/ on Linux

    0 讨论(0)
  • 2020-12-02 07:10

    If you use Windows, probably the location is like this:

    C:\User\YourUser\.android\debug.keystore

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