![]() To fix this problem, simply delete the debug.keystore file. In Eclipse/ADT, you will see a similar error in the Android console. Debug Certificate expired on 8/4/08 3:43 PM Packaging bin/samples-debug.apk, and signing it with a debug key. On Ant builds, the error looks like this: When the certificate expires, you will get a build error. The self-signed certificate used to sign your application in debug mode (the default on Eclipse/ADT and Ant builds) will have an expiration date of 365 days from its creation date. Read Developing In Other IDEs: Building in debug mode for more information. When you run ant debug to compile your app, the build script generates a keystore/key and signs the. apk files, debug signing mode is enabled by using the debug option, assuming that you are using a build.xml file generated by the android tool. No specific action on your part is needed, provided ADT has access to Keytool. apk with the debug certificate and installs it on the emulator. When you run or debug your application, ADT signs the. ![]() If you are developing in Eclipse/ADT and have set up Keytool as described above, signing in debug mode is enabled by default. | Note: You cannot release your application to the public when signed with the debug certificate. However, any custom debug keystore/key must use the same keystore/key names and passwords as the default debug key (as described above). In Eclipse/ADT, you can use Windows > Prefs > Android > Build. If necessary, you can change the location/name of the debug keystore/key or supply a custom debug keystore/key to use. ![]()
0 Comments
Leave a Reply. |