๐ŸŽฎ Unity Study/ERROR Q&A

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

ibelieveinme 2022. 2. 24. 18:34
728x90

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: error: attribute android:requestLegacyExternalStorage not found

collection error in AndroidManifest.xml AAPT: error: attribute android:requestLegacyExternalStorage not found. Although the attribute is there but it writes an error My AndroidManifest.xml <?xml

stackoverflow.com

 

728x90