Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unsigned APK can not be installed

I am trying to distribute my application to some people for testing. I have installed it on my Desire directly from eclipse and it works fine.

To create an APK-file, I choose "Export Unsigned Application Package" directly from eclipse, and then an APK file was created. I emailed it to myself and downloaded the file to the SD-card. But when I try to install it (using ES File Browser), I get a message saying "Application not installed".

(I have already checked the "Allow installation of non-Market application" on my phone) Any ideas?

Yeah I found the problem, see my answer below:

I did not know that even with the "Allow Installation of non-Marked application", I still needed to sign the application. I self-signed my application, following this link self-sign and release application, It only took 5 minutes, then I emailed the signed-APK file to myself and downloaded it to SD-card and then installed it without any problem.

like image 769
theAlse Avatar asked Jan 29 '11 08:01

theAlse


People also ask

Can unsigned APK be installed?

Tap the “Security” option in the Personal section. Tap the check box next to Unknown Sources. This enables your device to install unsigned, third-party apps from sources other than the Google Play app store. Open your app's APK file to install it on your Android device.

What does unsigned APK mean?

Unsigned Apk, as the name suggests it means it is not signed by any Keystore. A Keystore is basically a binary file that contains a set of private keys. Every App that we install using the Google Play App Store needs to be signed with a Keystore.


2 Answers

I did not know that even with the "Allow Installation of non-Marked application", I still needed to sign the application.

I self-signed my application, following this link self-sign and release application, It only took 5 minutes, then I emailed the signed-APK file to myself and downloaded it to SD-card and then installed it without any problem.

like image 112
theAlse Avatar answered Oct 11 '22 00:10

theAlse


You cannot install an unsigned application on a phone. You can only use it to test with an emulator. If you still want to go ahead, you can try self-signing the application.

Also, since you are installing the application from an SD card, I hope you have the necessary permissions set. Do go through stackoverflow.com and look at questions regarding installation of applications from an SD card - there have been many and they have been asked before.

Hope that helps.

like image 22
Sriram Avatar answered Oct 11 '22 00:10

Sriram