[Flutter] Algorithm HmacPBESHA256 not available ํด๊ฒฐ๋ฐฉ๋ฒ
ํ๋ก๊ทธ๋๋ฐ/Dart, Flutter | 2022. 5. 7. 19:35
โฏ flutter build appbundle
๐ช Building with sound null safety ๐ช
Removed unused resources: Binary resource data reduced from 76KB to 62KB: Removed 18%
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:signReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Failed to read key key from store "/.../android/keystore/key.jks": Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available
์ฑ ์๋ก ๋ง๋ค์ด์ ๋น๋๋ฅผ ํ๋ ค๊ณ ํ๋๋ฐ ์ด๋ ๊ฒ ๋์ต๋๋ค
HmacPBESHA256 not available. · Issue #5871 · flutter/website
Page URL: https://flutter.dev/docs/deployment/android.html Page source: https://github.com/flutter/website/tree/master/src/docs/deployment/android.md Found a typo? You can fix it yourself by going ...
github.com
์ด์๋ ์๋ค์. ํด๊ฒฐ ๋ฐฉ๋ฒ์ ๋๊ฐ์ง๊ฐ ์๋ ๊ฒ ๊ฐ์ต๋๋ค
1. ์๋ฐ ๋ฒ์ ์ 11์ ์ด๋ค (์ ๋ 17 ์ฌ์ฉ์ค)
2. keystore ๋ง๋ค ๋ -storetype JKS๋ฅผ ์ถ๊ฐํ๋ค
keytool -genkey -v -keystore ~/upload-keystore.jks -keyalg RSA \
-keysize 2048 -validity 10000 -alias upload -storetype JKS
์ด๋ฐ์์ผ๋ก keytool๋ก keystore ๋ง๋ค ๋ ๋งจ ๋ค์ ๋ถ์ฌ์ฃผ๋ฉด ๋๋ ๊ฒ ๊ฐ์ต๋๋ค
์ ์ด์ฐจํผ ํค๋ฅผ ์๋ก ๋ง๋ค์ด๋ ๋ผ์ 2๋ฒ์ผ๋ก ์งํํ์ต๋๋ค
๋น๋๊ฐ ์ ๋๋ค์
'ํ๋ก๊ทธ๋๋ฐ > Dart, Flutter' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Flutter] Algorithm HmacPBESHA256 not available ํด๊ฒฐ๋ฐฉ๋ฒ (0) | 2022.05.07 |
---|---|
[Flutter] ProgressIndicator CPU ๊ด๋ จ ์ด์ (0) | 2022.02.11 |
[Flutter] Provider๋ฅผ ์ด์ฉํ ์ํ๊ด๋ฆฌ ์์ (counter) (0) | 2022.02.01 |
[Flutter] Navigator push() vs pushNamed() ์ด๋ค ๊ฑธ ์จ์ผ ํ ๊น? (0) | 2022.01.30 |
[Flutter] ๋๋ฒ๊ทธ ๋ชจ๋์ธ์ง ํ์ธํ๋ ๋ฐฉ๋ฒ (0) | 2022.01.24 |
[Flutter] TextField๊ฐ ์๊พธ ์ด๊ธฐํ ๋ ๋ (0) | 2022.01.23 |