Location of debug keystore in Android Studio, does it exist?

半腔热情 提交于 2021-02-08 09:53:41

问题


After a lay off, I migrated my Android development from Eclipse under Windows to a new machine with Android Studio running under Ubuntu.

Because I wished to port an existing project using Google Maps v1 (which no longer issues new API keys) I copied the release and debug keystores to the new machine.

Under Eclipse there was no need to know the location of the debug keystore which was created automatically and debug loads signed with it.

Under Android Studio, does the same principle apply? If there is a system created debug keystore, where is it, or do I have to define one explicitly?


回答1:


As described here in the documentation: http://developer.android.com/tools/publishing/app-signing.html

You can find the debug keystore in $HOME/.android/debug.keystore




回答2:


Yes, a debug.keystore file is created for you by Android Studio. It is in your user home directory under .android/debug.keystore (i.e., on Linux/Mac at ~/.android/debug.keystore



来源:https://stackoverflow.com/questions/36593634/location-of-debug-keystore-in-android-studio-does-it-exist

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!