Hi all,
I'm trying to build the framework using my own private keys. I created my keys using the development/tools/make_key and followed the instructions on build/target/product/security/README file. Then after generating my own shared, media, platform and test pk8 and pems, I put them into build/target/product/security/ to replace the old ones.
Now the problem is when building the framework using the make -j4 command, it always tries to prompt for the certificate password and then after some time it will just throw a nullpointer exception.
Enter password for build/target/product/security/testkey.pk8 (password will not be hidden): java.lang.NullPointerException
at com.android.signapk.SignApk.decryptPrivateKey(SignApk.java:130)
at com.android.signapk.SignApk.readPrivateKey(SignApk.java:154)
at com.android.signapk.SignApk.main(SignApk.java:436)
Without actually waiting for me to input any value. Is there a way to store this credentials as part of the build process or am I missing something here?
Thanks in advance.
--
Cheers,
Marc Lester Tan