Android/Eclipse:在哪里可以找到 /Users/USER_NAME/.android/debug.keystore 文件夹?

发布于 2024-11-27 16:25:32 字数 286 浏览 0 评论 0原文

要使用 Google Maps API,我需要生成调试 API 密钥。为此,我需要找到 /Users/USER_NAME/.android/debug.keystore 文件夹...但我的 Mac 上什么也没有!你知道如何找到这个文件夹吗???

请注意,我在 Mac 上运行 Eclipse。我在 Eclipse=>Preferences=>Android=>Debug 中检查默认调试密钥库确实是 /Users/USER_NAME/.android/debug.keystore 但无法找到它。

谢谢 !!

To use the Google Maps API, I need to generate a debug API key. For this, I need to find the /Users/USER_NAME/.android/debug.keystore folder...but nothing on my Mac ! Do you know how to find this folder ???

Note that I run Eclipse on a Mac. I checked in Eclipse=>Preferences=>Android=>Debug that the default debug keystore is indeed /Users/USER_NAME/.android/debug.keystore but no way to find it.

Thanks !!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

苏别ゝ 2024-12-04 16:25:32

打开终端并输入 cd ~/.android。接下来,输入 open .,您的 Finder 窗口将打开,显示其中的所有文件,包括 debug.keystore

Open the terminal and type cd ~/.android. Next, type open . and your Finder window will open displaying all the files there, including debug.keystore.

梦年海沫深 2024-12-04 16:25:32

文件夹 .android 可能是隐藏的。使用控制台/终端进行导航。

The folder .android is probably hidden. Navigate using the console/terminal.

や三分注定 2024-12-04 16:25:32

我以前遇到过这个问题。此 UNIX 代码解决了该错误。

在终端中,键入

cp -r /var/root/.android /tmp

此命令会将整个 .android 目录复制到您的临时文件夹。
也许原因是 android 模拟器不断从 Mac 的 tmp 文件夹中搜索 .android 目录。安装程序将该 .android 目录保留在您的根目录中,而不是在 tmp 目录中。每次 Mac 启动时,您都必须手动将该目录复制到 /tmp 目录。

Mac 隐藏每个名称以符号开头的目录。

I encountered this problem before. This UNIX Code solves the error.

In the terminal, type

cp -r /var/root/.android /tmp

This command will copy the entire .android directory to your temp folder.
Maybe the reason for this is that android emulator keeps on searching the .android directory from your Mac's tmp folder. The installer keeps that .android directory to your root directory not on the tmp directory. You have to manually copy the directory to your /tmp directory everytime your mac starts.

Mac hides every directory which names starts with a symbol.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文