crossplatformkorea / react-native-kakao-login

react-native native module for Kakao sign in.
MIT License
350 stars 133 forks source link

react-native 0.69.1 빌드 안되는 문제 #316

Closed swkang0513 closed 1 year ago

swkang0513 commented 1 year ago

Version of kakao-login libraries

4.2.2

Version of react-native

0.69.1

Platforms you faced the error (IOS or Android or both?)

Android

Expected behavior

빌드가 정상적으로 되어야 하나 오류 발생.

Actual behavior

react-native run-android 실행 시 빌드 도중 빌드 실패.

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 -PreactNativeDebugArchitectures=arm64-v8a -PreactNativeArchitectures=arm64-v8a

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/{userName}/{projectName}/node_modules/react-native/ReactAndroid/build.gradle' line: 11

* What went wrong:
Error resolving plugin [id: 'org.jetbrains.kotlin.android', version: '1.6.10']
> Plugin request for plugin already on the classpath must not include a version

Tested environment (Emulator? Real Device?)

실제 기기

steadev commented 1 year ago

저도 비슷한 에러가 발생했었는데 kotlinVersion: "1.6.21"로 하니까 해결되더라구요..!

LEEJAEHYUB commented 1 year ago

android studio에서 kotlin 버전 확인 후 해당 버전으로 수정하시고 다시 빌드해보세요!