๐ŸŽฎ Unity Study/ERROR Q&A

[Unity Build Error&Solution] Facebook SDK 9.0 ์‚ฌ์šฉ ์‹œ, Android Gradle ์˜ค๋ฅ˜ ์›์ธ&ํ•ด๊ฒฐ๋ฐฉ๋ฒ•

ibelieveinme 2022. 2. 21. 15:58
728x90
Error:
FileNotFoundException: Temp/gradleOut/build/outputs/bundle/release/gradleOut.aab does not exist

Facebook SDK 9.0.0 ๋ฒ„์ „์„ ์‚ฌ์šฉํ•˜๋Š” ํ”„๋กœ์ ํŠธ์—์„œ Android Build(aab)๋ฅผ ํ•˜๋‹ค๊ฐ€ Gradle ์˜ค๋ฅ˜๊ฐ€ ๋‚ฌ๋‹ค.

 

๊ฒ€์ƒ‰ํ•ด๋ณด๋‹ˆ, Facebook SDK 9.0.0 ๋ฒ„์ „์€ ์ตœ์†Œ Gradle version์œผ๋กœ 5.6.4๋ฅผ ๋งŒ์กฑํ•ด์•ผ ํ•˜๋Š”๋ฐ,

๋‚ด๊ฐ€ ๋งŒ๋“  ํ”„๋กœ์ ํŠธ๋Š” Unity Version 2019.2.21(Gradle Version 5.1.1) ์ด์—ˆ๊ธฐ ๋•Œ๋ฌธ์ด๋‹ค.

 

์ฆ‰, Unity Version ์„ 2020.1 ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œ ํ•ด์„œ Gradle Version์„ 5.6.4๋กœ ๋งž์ถฐ์ฃผ๋ฉด ๋œ๋‹ค.

ํ˜น์‹œ ๋ชจ๋ฅด๋‹ˆ, Unity Hub์—์„œ Android ๋ชจ๋“ˆ๊ณผ iOS ๋ชจ๋“ˆ(iOS ๋นŒ๋“œ๋„ ํ• ๊ฑฐ๋ฉด!) ์„ ํ•œ๋ฒˆ์— ๋ฐ›์•„์ฃผ์ž !

๊ดœํžˆ ๊ฒฝ๋กœ ๊ผฌ์ด๋ฉด ๋˜ ๋‹ค๋ฅธ ์—๋Ÿฌ๋ฅผ ๋งŒ๋“ค๊ธฐ์— ใ… 

 

์ฐธ๊ณ ๋กœ Unity 2020.1.0f ๋ฒ„์ „์˜ Android Minimum API Level ์€ Andorid 6.0(API Level 23) ์ด๋‹ค.

๋Œ€์‘ํ•ด์•ผ ํ•  Android ๊ธฐ๊ธฐ ๋ฒ„์ „ ํ™•์ธ&์กฐ์œจ์ด ํ•„์š”ํ•˜๋‹ค...!

 

์ด์ œ iOS ๋นŒ๋“œ ์˜ค๋ฅ˜ ์žก์œผ๋Ÿฌ ๊ฐ€์•ผ์ง€...ใ… 

 

 

 

์ž์„ธํ•œ ์‚ฌํ•ญ์€ ์•„๋ž˜ Unity ๊ณต์‹ ๋ฌธ์„œ ์ฐธ๊ณ  ~!

 

 

Unity - Manual: Gradle for Android

Customizing an Android Splash Screen Gradle for Android Gradle is an Android build system that automates a number of build processes and prevents many common build errors. In Unity, Gradle reduces the method reference count in DEX (Dalvik Executable format

docs.unity3d.com

 

728x90