How can I setup Debug Certificate for Android ApkBuilder
<p>I am trying to use 'ant' to build my android application. But it fails when it is building a debug version of my application. Here is the error:</p>

<pre><code>BUILD FAILED
/Users/michael/Programs/android-sdk-mac_x86/tools/ant/main_rules.xml:506: The following error occurred while executing this line:
/Users/samuel/Programs/android-sdk-mac_x86/tools/ant/main_rules.xml:236: com.android.sdklib.build.ApkCreationException: Debug Certificate expired on 1/5/11 8:29 PM
        at com.android.sdklib.build.ApkBuilder.getDebugKey(ApkBuilder.java:277)
        at com.android.sdklib.build.ApkBuilder.&lt;init&gt;(ApkBuilder.java:384)
        at com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:247)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
</code></pre>

<p>Can you please tell me how can I get a valid debug certificate?</p>

<p>Thank you.</p>
