728x90

๐ŸŽฎ Unity Study/ERROR Q&A 13

[Unity Build Error&Solution] Unity 2018.4.31f1 ์—์„œ Android Build ์ค‘ ๋งŒ๋‚œ ์—๋Ÿฌ

Unity 2018.4.31f1 ๋ฒ„์ „์—์„œ Android Build ์ค‘ ๋งŒ๋‚œ ์—๋Ÿฌ ERROR) AAPT: error: attribute android:requestLegacyExternalStorage not found ์ƒ์„ธ ์—๋Ÿฌ๋ฅผ ์ฝ์–ด๋ณด๋‹ˆ, AndroidManifest.xml ์—์„œ legacy ํ•œ ์š”์ฒญ์ด ์žˆ์—ˆ๋‹จ ๋“ฏ... ANSWER) Player Settings > Other Settings ์—์„œ Target API Level ์„ Android 10.0(API Level 29)๋กœ ๋งž์ถฐ์ฃผ๋ฉด ๋œ๋‹ค. ๊ทธ๋Ÿผ ์ž๋™์œผ๋กœ android sdk๋ฅผ ์—…๋ฐ์ดํŠธ ํ•œ๋‹ค. ์—…๋ฐ์ดํŠธ ํ›„, ๋‹ค์‹œ taget api level ์€ automatic์œผ๋กœ ๋งž์ถ”๊ณ  ๋‹ค์‹œ ๋นŒ๋“œ๋ฅผ ์ง„ํ–‰ํ•˜๋ฉด ๋œ๋‹ค! P.S) Stackoverflow ์ฐธ์กฐ AAPT:..

[Unity Build Error&Solution] iOS build error(feat. Facebook SDK 9.0)

Facebook SDK 9.0 ์„ ์‚ฌ์šฉํ•˜๋Š” Unity Project(2020.1.0f)๋ฅผ iOS ๋นŒ๋“œ ํ•˜๋˜ ์ค‘ ๋งŒ๋‚œ ์—๋Ÿฌ... Exception: Calling TargetGuidByName with name='Unity-iPhone' is deprecated. There are two targets now, call GetUnityMainTargetGuid() - for app or GetUnityFrameworkTargetGuid() - for source/plugins to get Guid instead. UnityEditor.iOS.Xcode.PBXProject.TargetGuidByName (System.String name) (at /Users/builduser/buildslave/unity/..

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

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..

728x90