2013-05-04 143 views
7

我想更新我的應用程序到playstore,我丟失了我的密鑰庫密碼。現在我正在嘗試創建一個新密碼庫。如果我使用其他密鑰庫密碼構建APK,是否會有任何問題?丟失的密鑰庫密碼

+0

可能的重複[請建議,丟失的KeyStore密碼](http://stackoverflow.com/questions/6089813/please-advice-needed-lost-keystore-password) – 2015-03-28 08:55:45

回答

2

上傳新應用程序不會有問題。但是您無法繼續使用新的密鑰庫更新現有的應用程序。如果您想更新以前的應用程序,則需要通過重新提交來創建新的應用程序。

永遠保持一個最好的方式:(

3

那麼,你是不是第一次失去庫密碼密鑰庫..

我用這一個暴力破解,當我卡住了:Android Keystore recover

你可以用一些猜測去。

正如@StinePike提到..你不能繼續更新現有的應用程序

+0

你試過嗎?它成功了嗎?我正在嘗試這一點。 – user2306862 2013-05-04 11:22:02

2

如果您丟失了密鑰庫的密碼,那麼唯一的選擇是創建一個新的簽名密鑰。這樣做不會有問題。

但是,您將無法更新現有的應用程序。您也不能上傳另一個具有相同package名稱的應用程序。

例如,如果您當前的包是:

com.example.mycurrentapp 

您將需要使用不同的軟件包的名稱以新的簽名密鑰一起去。例如,您可以將包名更改爲:

com.example.mynewapp 

以上是當然的說明。 ;-)

Google Play生態系統使用其軟件包名稱標識不同的應用程序,因此它們必須是唯一的。不幸的是,如果您擁有良好的用戶羣,除非他們安裝了新的應用程序,否則他們將無法獲得舊應用程序的更新。

+0

如果Google Play上的應用程序尚未發佈(仍處於草稿階段),請刪除該應用程序,幸運的是該軟件包名稱可用於新應用程序。 – heMac 2013-12-04 03:47:51

0

這很不幸,但是當您丟失密鑰庫或密鑰庫的密碼時,您的應用程序就會成爲孤兒。您唯一能做的就是用新密鑰重新提交您的應用程序到市場。如果沒有密鑰,您將無法更新您的應用。

您將不得不再次發佈您的應用程序,並使用新的密鑰存儲並使用不同的包名稱,或記住您的密碼。

3

正如@CRUSADER所說,Android Keystore Password Recovery可能適合您。我可以用它取回我的密碼。這是如何做到這一點。我是在Windows 7

運行以下命令,

java -jar AndroidKeystoreBrute_v1.05.jar 

然後你會得到下面的指導,

AndroidKeystorePasswordRecoveryTool by [email protected] 

Version 1.03 
There are 3 Methods to recover the key for your Keystore: 

1: simply bruteforce - good luck 
2: dictionary attack - your password has to be in the dictionary 
3: smart dictionary attack - you specify a dictionary with regular pieces you use in your passwords. Numbers are automat 
icly added and first letter will tested uppercase and lowercase 

args: 
-m <1..3> Method 
-k <path> path to your keystore 
-d <path> dictionary (for method 2 and 3) 
-w saves the certificate in a new Keystore with same passwort than key 

-start <String> sets start String of the word (for method 1) 

-p use common replacements like '@' for 'a'(for method 3) WARNING - very slow!! 

-h prints this helpscreen 

Max memory: 247M 

我使用方法2,因爲我有一些猜測我密碼。我輸入下面的命令,

java -jar AndroidKeystoreBrute_v1.05.jar -m 2 -k android.keystore -d dict.txt 

在你可能不知道的情況下,我dict.txt成這個樣子了,

gussedpassword1 
gussedpassword2 
gussedpassword3 

我能成功找回我的密碼和別名。

+0

工程就像一個魅力:-)謝謝! – Qorbani 2016-04-25 03:16:54