Project

General

Profile

Issue #1815

error when signing new build, how to

Added by Fil Lupin over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Build system
Target version:
Start date:
06/21/2017
Due date:
% Done:

0%

Estimated time:
Resolution:
fixed
Device:
Galaxy S 3 (I9300)
Grant:

Description

Hi there,
when trying to sign my build, I got following error :

    signing: UserDictionaryProvider.apk       (/home/debian/replicant/replicant-6.0/vendor/replicant-security/shared)
java.io.FileNotFoundException: /home/debian/replicant/replicant-6.0/vendor/replicant-security/shared.x509.pem (No such file or directory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at com.android.signapk.SignApk.readPublicKey(SignApk.java:160)
        at com.android.signapk.SignApk.main(SignApk.java:908)

   ERROR: signapk.jar failed: return code 1

I probably made a mistake when answering questions, but it seems ./vendor/replicant/sign-build has only one parameter which is the device.
How can I clean before launch it again?

Thanks.

#1

Updated by Wolfgang Wiedmeyer over 3 years ago

  • Assignee set to Wolfgang Wiedmeyer

You can remove the keys with rm -r vendor/replicant-security.

#2

Updated by Fil Lupin over 3 years ago

Wolfgang Wiedmeyer wrote:

You can remove the keys with rm -r vendor/replicant-security.

It works, thank you. :)
This issue can be closed.

#3

Updated by Wolfgang Wiedmeyer over 3 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also mentioned on the BuildTips page.

Also available in: Atom PDF