Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1743] Android: Exported apk cannot be installed - INSTALL_PARSE_FAILED_NO_CERTIFICATES

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNot Our Bug
Resolution Date2013-09-23T05:54:41.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterSoh Thiam Hing
AssigneeRitu Agrawal
Created2013-09-21T02:20:25.000+0000
Updated2016-03-08T07:40:37.000+0000

Description

Steps to Reproduce

Create sample Alloy app, export as Android APK using throwaday private key and install on device with adb install command

Actual Result

adb install command returns Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES] as output

Expected Result

adb install command should return Success as output

Attachments

FileDateSize
.log2013-09-21T02:23:04.000+00004708806
diagnostic7011766668917454266.log2013-09-21T02:23:08.000+000013779

Comments

  1. Mostafizur Rahman 2013-09-23

    Hello Soh Thiam Hing, Most of the time the solution for this error is really simple: Uninstall your apk. Clean your android project. Build your android project. Install / run your apk Still if not working then check you private key. I hope its help to you. Now I am going to resolve this issue if needed then we will open again. Thanks
  2. Ritu Agrawal 2014-01-20

    Your log file indicates that you are using JDK 1.7. Titanium requires JDK 1.6 version as documented here: http://docs.appcelerator.com/titanium/latest/#!/guide/Prerequisites A number of discussion forums indicate INSTALL_PARSE_FAILED_NO_CERTIFICATES error with JDK 1.7 so you can resolve this issue by uninstalling JDK 1.7 and installing JDK 1.6.

JSON Source