First Lets see what a "Debug Certificate" is in Android Programming
"This is a Certificate generated by Android SDK tool and is used to sign your app during development process."
Error Message :
Error generating final archive:
Debug certificate expired on 1/30/2020 5:40 PM!
If you have encountered this error it is because your debug certificate has expired (normally has a validity of 365 days).
Cause :
This issue is due to the validity expiry of your debug certificate debug.keystore
Solution :
You have to locate debug.keystore file on your system. Depending on what Operating System that you are working on you may find this file inside .android folder,
On Windows: Go to C:\Users\[user-name]\.android you will find the file debug.keystore Delete this file
On Linux: Go to home/[user-name]/.android you will find the file debug.keystore Delete this file
On Mac: Go to ~/.android/ you will find the file debug.keystore Delete this file
After you delete the debug.keystore file, you need to Clean the android project that you are working with (under Project > Clean), cleaning remove the cached keystore that contained expired certificate and creates a new one.
If still the issue persists, restart eclipse. ✌️
- Increase Android Emulator Timeout time
- Android : Remove ListView Separator/divider programmatically or using xml property
- Error : Invalid key hash.The key hash does not match any stored key hashes
- How to Change Android Toast Position?
- Android Alert Dialog with Checkboxes example
- Android : No Launcher activity found! Error
- Android Development: Spinners with Example
- Failed to sync Gradle project Error:failed to find target android-23
- INSTALL_FAILED_INSUFFICIENT_STORAGE Android Error
- Disable Fading Edges Scroll Effect Android Views
- How to create Toast messages in Android?
- Channel 50 SMSes received every few minutes Android Phones
- Android xml error Attribute is missing the Android namespace prefix [Solution]
- Create Custom Android AlertDialog
- How To Disable Landscape Mode in Android Application
- Android Development - How to switch between two Activities
- incorrect line ending: found carriage return (\r) without corresponding newline (\n)
- Generate Facebook Android SDK keyhash using java code
- Android Error Generating Final Archive - Debug Certificate Expired
- 21 Useful Android Emulator Short-cut Keyboard Keys
- Android RatingBar Example
- 11 Weeks of Android Online Sessions-15-Jun-to-28-Aug-2020
- Download interrupted: Unknown Host dl-ssl.google.com Error Android SDK Manager
- fill_parent vs match_parent vs wrap_content
- Android : Connection with adb was interrupted 0 attempts have been made to reconnect
- How to open new Terminal using Bash Command - Bash
- Bash Command to Find String in a File - Bash
- Horizontally Center Align tag in HTML using CSS - CSS
- Find and Replace Multiple different words with the same word in a text file - NotepadPlusPlus
- How to Manage Profile Picture on Microsoft Teams - Teams
- Using Java 8 Month Enum with Examples - Java
- PowerShell: How to Write Output to a File - Powershell
- How to Find the Location of Notepad on Windows 11 - Windows