โฏ 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๋ฒˆ์œผ๋กœ ์ง„ํ–‰ํ–ˆ์Šต๋‹ˆ๋‹ค

 

๋นŒ๋“œ๊ฐ€ ์ž˜ ๋˜๋„ค์š”