Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android "INSTALL_PARSE_FAILED_NO_CERTIFICATES"

Tags:

android

gradle

I am getting this error in Gradle with an Android project:

Android "INSTALL_PARSE_FAILED_NO_CERTIFICATES" [Solved-New]

I've read these questions (1, 2, 3) but none of them solved my issue.

like image 936
Alireza Akbari Avatar asked Feb 21 '17 08:02

Alireza Akbari


1 Answers

(Posted on behalf of the OP).

Finally I find the solution.

In my case The solution is gradle plugin version! I'm using android studio ver 2.3.0-rc1 and gradle plugin (root build.gradle) with the same version, the release file could not install due to INSTALL_PARSE_FAILED_NO_CERTIFICATES failure, so I change the version of gradle plugin to 2.2.3 and make a new release again and the failure solved. I hope my solution help other guys with the same issue.

Conclusion: root build.gradle file:

Replace:

classpath 'com.android.tools.build:gradle:[any unstable version like 2.3.0-rc1]'

To:

classpath 'com.android.tools.build:gradle:2.2.3'
like image 180
halfer Avatar answered Nov 02 '22 13:11

halfer