How can I retrieve a saved keystore password from Android Studio?

后端 未结 6 1566
逝去的感伤
逝去的感伤 2020-12-24 12:00

The new Android Studio allows us to save keystore passwords for later use. Where are these passwords stored on my computer (OSX), and is there a way to retrieve the saved v

6条回答
  •  被撕碎了的回忆
    2020-12-24 12:49

    Gradle stores them within your project directory in a binary file. You can get them like this (from the project directory):

    strings .gradle/GRADLE_VERSION/taskArtifacts/taskArtifacts.bin | grep storePassword -A1

    (Thanks to https://stackoverflow.com/a/33624636/1982087 for the taskArtifacts.bin pointer)

提交回复
热议问题