[AC-1743] Android: Exported apk cannot be installed - INSTALL_PARSE_FAILED_NO_CERTIFICATES
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2013-09-23T05:54:41.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Soh Thiam Hing |
Assignee | Ritu Agrawal |
Created | 2013-09-21T02:20:25.000+0000 |
Updated | 2016-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
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
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.