long ago i tried to run my running suddenly it showed error , but i didn't find any error in my source code in java & XML also ,
The problem comes from the fact that Android required the applications to be signed even in the debug mode. So it uses a keystore file called debug.keystore to providde keys for signing applications in debug mode. This key store file has a validity period by default 365 days from its creation date.
The First Solution:
Navigate to the .android folder in your home directory “~/.android” (Linux,Mac OS)
or c:\Documents and Settings\[User Name]\.android in windows XP
or C:\Users\.android in windows Vista or Windows 7, and delete debug.keystore file.
how to find .android folder in Linux ( UBuntu ) :
click on places menu under select home folder under then click on View Menu under click on showhiddenfiles (ctrl+h) , then u can find out .Android file
Then go to eclipse clean the project, this will create a new debug.keystore file with
default validity period 365 days.
The Second Solution:
Create a new default.keystore file with custom validity period (say 1000 days).
Navigate to the .android folder.
Delete the old default.keystore file.
We will use JDK Keytool.exe to generate the new key file. It is found in C:\Program Files\Java\jre6\bin in windows or inside the Java\jre6\bin folder in Mac OS or Linux.
Open the terminal app in Mac OS or Linux or the command prompt and navigate to keytool.exe directory.
Run the following command:
keytool -genkey -keypass android -keystore debug.keystore -alias androiddebugkey -storepass android -validity 1000 -dname “CN=Android Debug,O=Android,C=US”
This will generate a new default.keystore file with validity period 1000 days.
Copy the generated file to the .android folder, go to eclipse and clean projects and it should work.
The above command has the following options:
genkey: generates a key pair.
keystore : the name of the key store file.
alias : an alias for the key store. If the alias name is more than 8 characters the first 8 only are used.
storepass : the password for the key.
validity : the validity period for the key in days.
dname : A Distinguished Name that describes who created the key. The value is used as the issuer and subject fields in the self-signed certificate.
About Android tips and Tricks , Blogging Guide, SEO Tips, Computer Reference and Android games and Application
Accordion Menu
Recent Post
Total Pageviews
Contact Us
Powered by Blogger.
Pages - Menu
Popular Posts
-
Spotty wireless connections can be a puzzler. Is it your computer? Your router? Your ISP? Try a few things before calling your Internet ser...
-
There is a Risk in installing a Custom ROM on Android because if you commit mistake by installing your New Custom ROM your phone will be B...
-
Steps On How To Prepare Our Workspace: 1. First make a Folder just name it "APK MOD" 2. Download 3 Files below (one_Click_s...
-
Sometimes the biggest problems have the easiest fixes. According to support technicians, the lion’s share of issues are due to an incorrect...
-
. Do you ever know what is the most popular and the most downloaded Psp game in this year? We list Top 10 most popular,rated and download...
-
A google adsense program google ad from a fairly lucrative side income from a blogger. Many of us bloggers who are interested must create...
-
How to Prevent your Phone from losing or by getting Stole My Mother always Remind me not to leave my phone anywhere because we do not ...
-
Phone Keeps Rebooting: Wipe Your Data and Cache If you've flashed a ROM and your phone won't boot into the home screen, it...
-
Update on Sony Ericsson Xperia X8 RHONZHOW.BLOGSPOT.COM X8 have many of the same thing as the above two, but the brilliance of X8 is:...
-
Requirements: Rooted Android Devices sd card card reader Android Terminal Emulator Swapper2 for Root Users lastly your ROM should be SWAP SU...
Games & Multimedia
SCIENCE & TECHNOLOGY
Blog Archive
-
▼
2014
(61)
-
▼
November
(11)
- Things you Need to Know before Installing New Cust...
- Most Downloaded PSP Games 2014
- Top 10 Most Popular Android Games 2014
- Top 10 Useful Application for Android 2014
- Solve the “Debug certificate expired on” error mes...
- How To Upgrade Samsung Galaxy Y 5360 To Android 2.3.6
- Update on Sony Ericsson Xperia X8
- How to Prevent your Android Phone from losing or b...
- CyanogenMod 11 M12 Snapshot now available
- How to Fix Bricked Android Devices
- Android Rooting Terms You Should Know
-
▼
November
(11)
Gagdet
Popular Posts
- Top 10 Useful Application for Android 2014
- Things you Need to Know before Installing New Custom ROM on Android
- GET FREE MOBILE INTERNET : OPERA MINI 7 GLOBE
- Top 10 Most Popular Android Games 2014
- Most Downloaded PSP Games 2014
- APK Modding Tutorial
- How to speedup Slow computer 100% Working
- Update any Android Phone to The latest Version
- Add Page Number (with First and Last Page) Navigation Link for Blogger (Blogspot)
- The Most Fastest Way to Root you Android Devices
Search Bar
Home
Tips
Solve the “Debug certificate expired on” error message , Android Error: Error generating final archive: Debug certificate expired on
Solve the “Debug certificate expired on” error message , Android Error: Error generating final archive: Debug certificate expired on
RhonzHow
Hey Guys Thanks to take Time to visit my Blog i guess you learn something today and i hope i helped you with your problem keep Us Tune by Subscribing Us
Popular Posts
-
Spotty wireless connections can be a puzzler. Is it your computer? Your router? Your ISP? Try a few things before calling your Internet ser...
-
There is a Risk in installing a Custom ROM on Android because if you commit mistake by installing your New Custom ROM your phone will be B...
-
Steps On How To Prepare Our Workspace: 1. First make a Folder just name it "APK MOD" 2. Download 3 Files below (one_Click_s...
-
Sometimes the biggest problems have the easiest fixes. According to support technicians, the lion’s share of issues are due to an incorrect...
-
. Do you ever know what is the most popular and the most downloaded Psp game in this year? We list Top 10 most popular,rated and download...
-
A google adsense program google ad from a fairly lucrative side income from a blogger. Many of us bloggers who are interested must create...
-
How to Prevent your Phone from losing or by getting Stole My Mother always Remind me not to leave my phone anywhere because we do not ...
-
Phone Keeps Rebooting: Wipe Your Data and Cache If you've flashed a ROM and your phone won't boot into the home screen, it...
-
Update on Sony Ericsson Xperia X8 RHONZHOW.BLOGSPOT.COM X8 have many of the same thing as the above two, but the brilliance of X8 is:...
-
Requirements: Rooted Android Devices sd card card reader Android Terminal Emulator Swapper2 for Root Users lastly your ROM should be SWAP SU...
0 (mga) komento: