今天新建項(xiàng)目時(shí)突然提示:
Error generating final archive: Debug Certificate expired on 11-3-27 下午3:05 MyMp3Player Unknown Android Packaging Problem
而且項(xiàng)目上有個(gè)小紅叉
原因:Google官方給出了解決辦法:
To fix this problem, simply delete the debug.keystore file. The default storage location for AVDs is in ~/.android/avd on OS X and Linux, in C:\Documents and Settings\\.android\ on Windows XP, and in C:\Users\\.android\ on Windows Vista.
The next time you build, the build tools will regenerate a new keystore and debug key
也就是刪掉.android文件夾下的debug.keystore文件,然后重新build一下獲取新的debug.keystore。這樣新建項(xiàng)目時(shí)就正常了。
我表示很?chē)濉?br />
posted on 2011-03-27 17:55
Ying-er 閱讀(619)
評(píng)論(0) 編輯 收藏 所屬分類:
Android