Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can't recognize keytool-importkeypair

I'm trying to release an android app with system privileges using the following link:

http://paulononaka.wordpress.com/2011/10/19/apk-with-system-privileges/

my OS knowlage is somewhat poor and i cant get my system to recognize "keytool-importkeypair" as a command.

  • I'm using Win ex.
  • added the folder to the system PATH.
  • started cmd as Admin.
  • changed the keytool-importkeypair file to: exe,com and bat files, the system could recognize the file then, but still didnt do the right oporation.

May it be a file for linux only? i really don't know much about system command files, so any help would be great. Thanks.

like image 381
EranGL Avatar asked Mar 09 '14 11:03

EranGL


1 Answers

keytool-importkeypair is a Linux file. It will not work on Windows. To use this as a command on Linux:

1) Download the keytool-importkeypair from following location and save it to the same folder where platform certs are present

https://github.com/getfatday/keytool-importkeypair

2) Once the file is there, you can simply use it by typing

$./keytool-importkeypair "rest of the command"

like image 72
kmaini Avatar answered Nov 15 '22 01:11

kmaini