Android Forums

Go Back   These FORUMS ARE DISABLED!! OUR NEW FORUMS ARE AT http://androidforum.com/ > Android Coders > Android Development, Answers, Tutorials, and Code Snippets
Connect with Facebook

Click Here To Register!
 
 
LinkBack Thread Tools Display Modes
Old 02-17-2009, 10:31 AM   #1
Junior Member
 
Join Date: Feb 2009
Posts: 8
Friends: 0
View arcarocket's Profile   View arcarocket's Photo Album   View arcarocket's Blog   View Social Groups
I created a new project and and trying to sign the .apk file, but can't figure it out.

I got the .apk file in the c: and also got the android.keystore in the c:

In the CMD prompt for c:\> I type in:

jarsigner -verbose -keystore android.keystore appname.apk android

Comes back with error:

'jarsigner' is not recognized as an internal or external command, operable program or batch file.

I have the already installed the JDK 6 Update 12 and JRE 6 Update 12

What am I doing wrong? Anyone help?
arcarocket is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 02-17-2009, 06:12 PM   #2
Junior Member
 
Join Date: Feb 2009
Posts: 7
Friends: 0
View ians's Profile   View ians's Photo Album   View ians's Blog   View Social Groups
you need to have the JDK binaries in the path, or else you need to specify the path to the jarsigner executable explicitly.
ians is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 02-17-2009, 08:19 PM   #3
Junior Member
 
Join Date: Feb 2009
Posts: 8
Friends: 0
View arcarocket's Profile   View arcarocket's Photo Album   View arcarocket's Blog   View Social Groups
I was able to add the path, but am still having an error message:

I put the android.keystore file in my c:\ folder. I put the app.apk file in the c:\ as well. I also added the "path" to the jarsigner.exe file as well.

So I go to cmd prompt and at the c:\ I type in:

jarsigner -verbose -keystore android.keystore app.apk android

It then asks me for the Passphrase, I type in my password

it comes back with this error message:

jarsigner: unable to create: app.apk.sig

Any help on this one?
arcarocket is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 02-18-2009, 07:15 AM   #4
Junior Member
 
Join Date: Feb 2009
Posts: 7
Friends: 0
View ians's Profile   View ians's Photo Album   View ians's Blog   View Social Groups
No idea really, but as just a 'shot in the dark', make sure you have defined the JAVA_HOME environment variable as well to point to the location of your JDK.
ians is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 02-22-2009, 04:40 PM   #5
Junior Member
 
Join Date: Feb 2009
Posts: 8
Friends: 0
View Destroythenseek's Profile   View Destroythenseek's Photo Album   View Destroythenseek's Blog   View Social Groups
I made a tutorial on how to do it and posted it in market.... hope it helps.
Destroythenseek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 02-22-2009, 04:41 PM   #6
Junior Member
 
Join Date: Feb 2009
Posts: 8
Friends: 0
View Destroythenseek's Profile   View Destroythenseek's Photo Album   View Destroythenseek's Blog   View Social Groups
Destroythenseek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Limewire like file sharing for android jandroid Android Development, Answers, Tutorials, and Code Snippets 5 10-14-2010 10:30 AM
Cannot download file not supported on phone, but it is wantagejamie Android Games And Applications 1 03-18-2010 06:12 PM
Installing and signing? chaoz1336 Android Development, Answers, Tutorials, and Code Snippets 2 03-09-2009 06:37 PM
File Management and ringtones JackD3ath Android Chat 1 12-28-2008 09:48 AM
Traceview can't find trace file graham Android Games And Applications 1 11-02-2008 08:33 PM


Unlocked G1 Phones | Buy T-Mobile G1 | Google Phone

All times are GMT -6. The time now is 03:51 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright (c) 2012 TalkAndroid.com. All rights reserved.