[์ค๋ฅํด๊ฒฐ] Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
2021. 8. 26. 00:29
Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
C:/Users/user/.gradle/caches/transforms-3/.../transformed/jetified-kotlin-stdlib-jdk8-1.5.20.jar (version 1.5)
C:/Users/user/.gradle/caches/transforms-3/.../transformed/jetified-kotlin-stdlib-jdk7-1.5.20.jar (version 1.5)
C:/Users/user/.gradle/caches/transforms-3/.../transformed/jetified-kotlin-reflect-1.4.10.jar (version 1.4)
C:/Users/user/.gradle/caches/transforms-3/.../transformed/jetified-kotlin-stdlib-1.5.20.jar (version 1.5)
C:/Users/user/.gradle/caches/transforms-3/.../transformed/jetified-kotlin-stdlib-common-1.5.20.jar (version 1.5)
koin์ ์ฌ์ฉํ๊ธฐ ์ํด setupํ ๋ ๋ง์ง ์๋ ๋ฒ์ ์ ์ฌ์ฉํ์ฌ ์๊ธฐ๋ ์ค๋ฅ์๋ค.
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
์ด์ ์๋ ํ๋ก์ ํธ๋ฅผ ์์ฑํ ๋ ์์ dependency๊ฐ ์๋์ผ๋ก ์ถ๊ฐ๋์ด ์์๋๋ฐ
ํ์ฌ๋ ์ถ๊ฐ๋์ด์์ง ์๊ธฐ ๋๋ฌธ์ ์ต์ ๋ฒ์ ์ dependencies๋ฅผ ์ถ๊ฐํด์ฃผ์ด์ผ ํ๋ ๊ฒ์ผ๋ก ๋ณด์ธ๋ค.
ํด๊ฒฐ๋ฐฉ๋ฒ
์๋์ ์ฝ๋๋ฅผ app:build.gradle์ ์ถ๊ฐํ๋ค.
// Koin
def koin_version= "3.1.2"
implementation "io.insert-koin:koin-android:$koin_version"
implementation "io.insert-koin:koin-android-compat:$koin_version"
implementation "io.insert-koin:koin-androidx-workmanager:$koin_version"
implementation "io.insert-koin:koin-androidx-compose:$koin_version"
๋ฒ์ ์ ๊ณ์ ๋ฐ๋ ์ ์์ผ๋ฏ๋ก ๊ณต์๋ฌธ์๋ฅผ ์ฐธ๊ณ ํ๋ ๊ฒ์ด ์ข๋ค.
2021.08.26 - [๐ป๊ฐ๋ฐ/android studio] - Koin Setup : ์ฝ์ธ ์ ์ ํ๊ธฐ
728x90
'๐ป๊ฐ๋ฐ > Android' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
MVC, MVP, MVVM ๊ฐ๋จ ์ ๋ฆฌ (0) | 2021.09.07 |
---|---|
์๋๋ก ๋น๊ฒจ ์๋ก๊ณ ์นจ : SwipeRefreshLayout (0) | 2021.09.02 |
Koin Setup : ์ฝ์ธ ์ ์ ํ๊ธฐ (0) | 2021.08.26 |
coroutines Setup : ์ฝ๋ฃจํด ์ ์ ํ๊ธฐ (0) | 2021.08.26 |
[์ค๋ฅํด๊ฒฐ] ๋ค์ด๋ฒ์ง๋ API ์์กด์ฑ ์ถ๊ฐํ๊ธฐ (2) | 2021.08.20 |