365連休

にわかのandroidとかの開発メモ。

Android Studio 4.2 Get Key failed: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.

Generate Signed Bundle / APKでビルドする際に

Get Key failed: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.

というエラーが出て失敗する場合がある。

 

developer.android.com

 

Android Studio 4.2からJDK11を使用するようになったため、署名の際の挙動が変わった。

KeyとKeyStoreは同じパスワードを使用しなければならない。

 

 

以上