• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps .apk load error

spikey100

Lurker
I have written an application that runs OK in an emulator.
When I export a signed package and try and load the .apk into a Samsung Galaxy S I get the message "application not installed"

Any ideas on what my problem might be?
 
Are you running the app directly from eclipse on the SGS?

Sounds like you have an apk signed with the developer key.
 
Thanks for the reply,

I am using Netbeans and "Exporting a signed android package" using a private key.
When I check with jarsigner -verify mypackage.apk I get the following result

jar verified
Warning:
This jar contains entries whose certificate chain is not validated.
Re-run with the -verbose and -certs options for more details.

This produces a report for every resource file and each one includes the lines
[certificate is valid from....to...]
[CertPath not validated: null]

The question is now, is this coincidental or is it pointing me to a problem?
 
Hmm... I dont really know netbeans, nor jarsigner specifically. I usually build with Ant or Eclipse.

If you're familiar with jarsigner and command-line building you may want to give ant a try. There are example ant build script that will take care of the signing and zipaling stuff.

Sorry, wish I could be more help. I guess as a last resort you could download eclipse and ADT and at least setup the signing process/keys through the wizard, then use ant from then on.
 
Back
Top Bottom