I'm running mac osx. I downloaded the latest version of the SDK starter package (platform api7, revision 2). I use processing version of the build (190).When I try to run I get the errors below.I don't know what is it ? I hope who can help me getting started with android processing,please. Thanks.
BUILD FAILED /Users/ed_crub/Documents/Android SDK/tools/ant/ant_rules_r3.xml:395: The following error occurred while executing this line: /Users/ed_crub/Documents/Android SDK/tools/ant/ant_rules_r3.xml:209: com.android.sdklib.build.ApkCreationException: Debug Certificate expired on 28/9/2497, 9:17 น. Total time: 17 seconds /Users/ed_crub/Documents/Android SDK/tools/ant/ant_rules_r3.xml:395: The following error occurred while executing this line: /Users/ed_crub/Documents/Android SDK/tools/ant/ant_rules_r3.xml:209: com.android.sdklib.build.ApkCreationException: Debug Certificate expired on 28/9/2497, 9:17 น. at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at processing.app.tools.android.Build.antBuild(Unknown Source) at processing.app.tools.android.AndroidMode.runSketchOnDevice(Unknown Source) at processing.app.tools.android.AndroidMode.access$600(Unknown Source) at processing.app.tools.android.AndroidMode$RunHandler.run(Unknown Source) at java.lang.Thread.run(Thread.java:637)
When the debug certificate is expired, just rm ~/.android/debug.keystore
. Another will be created when it's needed.
The unusual date makes me wonder: what is your TZ set to? There is a known bug if your computer is not using a Gregorian calendar, which can cause the generation of an already expired debug certificate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With