运行 android-sdk-osx 修订版 20(附加 XML Schema #5,存储库 XML Schema #7(无论是什么)),我以推荐的方式生成默认应用程序,然后尝试在调试模式下运行它,如此处所述:http: //developer.android.com/training/basics/firstapp/running-app.html
ant debug
. . .
[apkbuilder] Creating AndroidHelloWorld-debug-unaligned.apk and signing it with a debug key...
BUILD FAILED
/Users/dsw/android-sdk-macosx/tools/ant/build.xml:920: The following error occurred while executing this line:
/Users/dsw/android-sdk-macosx/tools/ant/build.xml:931: The following error occurred while executing this line:
/Users/dsw/android-sdk-macosx/tools/ant/build.xml:295: com.android.sdklib.build.ApkCreationException: Debug Certificate expired on 3/2/10 8:46 PM
at com.android.sdklib.build.ApkBuilder.getDebugKey(ApkBuilder.java:283)
at com.android.sdklib.build.ApkBuilder.<init>(ApkBuilder.java:390)
at com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:334)
. . .
坦率地说,我对 Google 的期望会更好。任何人都知道如何更新调试证书(真的,我需要一个证书才能在本地运行吗?)