search
LoginSignup
0
Help us understand the problem. What are the problem?

posted at

ビルドエラー Algorithm HmacPBESHA256 not available

FlutterでAndroidのビルド時にエラー

java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available

どうやらJDKのバージョンに関するエラーみたい。

解決法

keytool -genkey -v -keystore key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key -J-Dkeystore.pkcs12.legacy

署名鍵を作るときに、このコマンドを叩いてkey.jksを生成すれば解決しました。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
0
Help us understand the problem. What are the problem?