๐Ÿ“ฑ App Development Study/Android

[Android] View source code of .aar file

ibelieveinme 2024. 2. 7. 09:26
728x90

android ์•ฑํŒŒ์ผ์ธ .aar ํŒŒ์ผ. Andorid Studio์—์„œ .aar ํŒŒ์ผ์„ ์—ด ์ˆ˜ ์žˆ๋‹ค.

 

1. File > Project Structure ํด๋ฆญ

 

2. Dependencies > app ์— ์ถ”๊ฐ€ํ•˜๊ธฐ

์œ„ ํ™”๋ฉด์—์„œ Jar/Arr Dependency ์ถ”๊ฐ€

 

3. Step1 ์— ๋กœ์ปฌ ๊ฒฝ๋กœ๋ฅผ ๋„ฃ๊ธฐ ๋ฐ implementation ์œผ๋กœ ์ถ”๊ฐ€

 

๋งจ ๋งˆ์ง€๋ง‰์ค„์— ์ถ”๊ฐ€๋œ ๋ชจ์Šต

 

4. app ์ˆ˜์ค€ build.gradle.kts ์—์„œ๋„ ํ™•์ธ ๊ฐ€๋Šฅํ•˜๋‹ค.

 

 

5. External Libraries ์—์„œ ์ฝ”๋“œ ํ™•์ธ

Body ๊ฐ€ ์•ˆ๋‚˜์˜ฌ ๋• Decompile to Java ๋ฅผ ํด๋ฆญํ•˜๋ฉด ๋ณด์ธ๋‹ค.

728x90