简体   繁体   English

如何在 Mac OS X for Android 中找到 ~/.android/debug.keystore?

[英]How to find ~/.android/debug.keystore in Mac OS X for Android?

I am very new to Android development.我对Android开发很陌生。 Now am facing this problem in Java Eclipse,现在我在 Java Eclipse 中面临这个问题,

Error generating final archive: Debug Certificate expired on 1/11/12 12:52 PM       Unknown Android Packaging Problem

I searched in google and found the answer for my problem from this link "Debug certificate expired" error in Eclipse Android plugins .我在 google 中搜索并从Eclipse Android plugins 中的这个链接“调试证书过期”错误中找到了我的问题的答案。 They gave the answer for my question.他们回答了我的问题。 I am using Eclipse in Mac OS X .我在Mac OS X使用 Eclipse。 They gave solution that to delete debug.key from Preferences - Android - Build - Default debug keystore .他们给出了从Preferences - Android - Build - Default debug keystore删除debug.key解决方案。 I found the ~/.android/debug.keystore from that location and i tried to delete debug.keystore from Default debug keystore: but, i can't delete it from that location because it is not editable.我从那个位置找到了~/.android/debug.keystore ,我试图从Default debug keystore:删除 debug.keystore Default debug keystore:但是,我无法从那个位置删除它,因为它不可编辑。 Can anyone please solve my problem?任何人都可以解决我的问题吗? Thanks in advance.提前致谢。

只需在终端中手动重命名或删除它: rm ~/.android/debug.keystore or mv ~/.android/debug.keystore ~/.android/debug.keystore-backup 或者看看这个线程

在 android studio 终端中写下这个命令:

./gradlew signingReport

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM