Installation error: INSTALL_PARSE_FAILED_NO_CERTIFICATES

前端 未结 7 573
春和景丽
春和景丽 2020-12-16 12:19

At the risk of repeating what appears to be a very common complaint, I think I have a substantial variation on this bug.

The application won\'t install from Eclipse

相关标签:
7条回答
  • 2020-12-16 12:51

    This is fixed now. Should someone find themselves with the same unique project setup and bug the solution may be of some value.

    The problem stemmed from the configuration of our resource directories in the POM of our test project (the project containing our unit tests). They were pointing to the resource directories of the project being tested. This set up should work so I'm going to guess that it's a bug in the Maven Android plugin that causes the resources to remain unsigned.

    So the solution was to remove the references to external resource directories (I can't say why it was done that way initially but removing them appears to have no ill effects) and configure the resource directories in the standard way (taking as an example the POM provided by the maven plugin project archetype with tests).

    0 讨论(0)
  • 2020-12-16 12:54

    For those with this problem...

    Select V1 (jar signature) instead of V2 (full apk signature)

    Selecting V2 could also cause this problem.

    0 讨论(0)
  • 2020-12-16 13:03

    Had the same problem, it was that I was configured to use the App Store instead of debug under the Android target configuration, and I hadn't set up the app store yet. Switched back to debug and it was fine.

    0 讨论(0)
  • 2020-12-16 13:04

    I had this problem with MotoDev 3.0.0

    The solution was to delete emulator and create a new one.

    In fact, you do not need to delete the old emulator, just create a new one and installation goes smoothly.

    0 讨论(0)
  • 2020-12-16 13:04

    choose Java SE 6 in the Java preference app

    0 讨论(0)
  • 2020-12-16 13:10

    I encountered this through normal debugging - while it's unlikely to help all the time, simply going to Project -> Clean and rebuilding everything may be enough to clear the error.

    0 讨论(0)
提交回复
热议问题