[Android] Jetpack Compose Version과 알맞는 Kotlin compiler Version

Android/팁 · 2023. 4. 5. 03:46
반응형

Jetpack Compose는 Kotlin Compiler Version과 호환이 되야한다.

 

서로 호환이 되지 않는 버전이면 에러가 발생한다.

 

다음은 compose 버전별 kotlin compiler 버전이다.

 

Compose Compiler Version Compatible Compiler Version
1.3.0 1.7.10
1.3.0-rc01 1.7.10
1.3.0-beta01 1.7.10
1.2.0 1.7.0
1.2.0-rc01 1.6.21
1.2.0-beta03 1.6.21
1.2.0-alpha08 1.6.20
1.1.0 1.6.10
1.1.1 1.6.10
1.1.0-rc03 1.6.10

 

https://marketbusinessnews.com/solutions-to-the-problem-the-binary-version-of-its-metadata-is-1-7-1-expected-version-is-1-5-1/307985/

 

Solutions to the problem "the binary version of its metadata is 1.7.1, expected version is 1.5.1".

Reason: The reason why this error occurs is that “the binary version of its metadata is 1.7.1, but the intended version is 1.5.1.“ It’s possible that this error was thrown by Android Studio since you concurrently added Jetpack Compose and Room for a

marketbusinessnews.com

 

반응형