KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to sign my Android app so I can release it in Market. When I generate the keystore, I get an access denied error. How do I fix this? This is what I've been trying to do: Right click project in Eclipse Helios. Android Tools > Export Signed Application Package. Click next. I check "Create new keystore" and realize it does nothing to help me. It still asks for the location of keystore. So I decide to do it the hard way. Turned off read-only access on C:\Program Files\Java\jdk1.6.0_25\bin and granted the CREATOR OWNER group full control of the folder. Open command line on Windows 7 64-bit. Traverse to C:\Program Files\Java\jdk1.6.0_25\bin . Run keytool. Got an access denied error. . C:\Program Files\Java\jdk1.6.0_25\bin>keytool -genkey -v -alias company -keyalg R SA -keysize 2048 -validity 10000 -keystore company.keystore Enter keystore password: Re-enter new password: What is your first and last name? [Unknown]: John Smith What is the name of your organizational unit? [Unknown]: Android What is the name of your organization? [Unknown]: Company What is the name of your City or Locality? [Unknown]: Albany What is the name of your State or Province? [Unknown]: NY What is the two-letter country code for this unit? [Unknown]: US Is CN=John Smith, OU=Android, O=Company, L=Albany, ST=NY, C=US correct? [no]: yes Generating 2,048 bit RSA key pair and self-signed certificate (SHA1withRSA) with a validity of 10,000 days for: CN=John Smith, OU=Android, O=Company, L=Albany, ST=NY, C=US Enter key password for <veetle> (RETURN if same as keystore password): Re-enter new password: [Storing company.keystore] keytool error: java.io.FileNotFoundException: veetle.keystore (Access is
Tags (comma-separated)
Save Edits
Cancel