유니티 안드로이드 카카오 로그인 v2 라이브러리 문의 ㅠㅠ

문의 시, 사용하시는 SDK 버전 정보와 디벨로퍼스 앱ID를 알려주세요.

Faq 목록 - 10. Android ( Faq 목록 입니다 ) 먼저 확인해주세요.


Id : 1075007
안녕하세요 유니티에서 카카오 로그인 연동 기능 만들고 있는 개발자입니다.
image
유니티 GlobalApplication.kts 코드이구요
image
유니티 mainTemplate.gradle 코드입니다

카카오sdk 버전이 잘못 implementation 된 것 같은데 어떤 버전을 써야하고 어떻게 implementation 해야하는지 코드를 찾을수가 없어 여쭤보게되었습니다!

Execution failed for task ‘:launcher:checkReleaseDuplicateClasses’.

Could not resolve all files for configuration ‘:launcher:releaseRuntimeClasspath’.
Could not find com.Kakao.sdk:v2-user:2.10.0.

안녕하세요.

모듈간 의존성 참고하셔서 추가하시거나

https://developers.kakao.com/docs/latest/ko/android/getting-started#module-dependency

v2-all 하나만 implementation 하시면 좋을 것 같습니다.

https://developers.kakao.com/docs/latest/ko/android/getting-started#apply-sdk-select-module


https://developers.kakao.com/docs/latest/ko/android/getting-started#apply-sdk

1개의 좋아요

안녕하세요

에러 상황을 봤을 때 baseProjectTemplate.gradle 파일에다가 아래와 같이 선언을 해주시면 정상적으로 동작할 것 같습니다.

참고) 시작하기 | Kakao Developers 시작하기

allprojects {
        // 생략

    repositories {**ARTIFACTORYREPOSITORY**
        // 생략

        maven { url 'https://devrepo.kakao.com/nexus/content/groups/public/' }
    }
}
1개의 좋아요

dependencies {
implementation fileTree(dir: ‘libs’, include: [‘*.jar’])
implementation (“com.kakao.sdk:v2-all:2.20.1”)
DEPS}

이렇게 수정했더니 에러 안나네요 ! 감사합니다 ㅎㅎ

감사합니다 !
근데 한가지 궁금한건 유니티에서 baseProjectTemplate.gradle 의 기본 코드는

----전문----
plugins {
// If you are changing the Android Gradle Plugin version, make sure it is compatible with the Gradle version preinstalled with Unity
// See which Gradle version is preinstalled with Unity here https://docs.unity3d.com/Manual/android-gradle-overview.html
// See official Gradle and Android Gradle Plugin compatibility table here https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
// To specify a custom Gradle version in Unity, go do “Preferences > External Tools”, uncheck “Gradle Installed with Unity (recommended)” and specify a path to a custom Gradle version
id ‘com.android.application’ version ‘7.1.2’ apply false
id ‘com.android.library’ version ‘7.1.2’ apply false
BUILD_SCRIPT_DEPS
}

task clean(type: Delete) {
delete rootProject.buildDir
}

이렇게 구현되어 있던데 제 유니티가 이상한건가요 …?ㅠㅠ

baseProjectTemplate.gradle, mainTemplate.gradle 내부 코드는 프로젝트에서 사용하고 있는 gradle 버전에 따라 달라질 수 있습니다.

제가 답변드렸던 baseProjectTemplate.gradle는 작성자분의 프로젝트 gradle 버전보다 더 낮은 버전의 gradle 일 때 였던 것 같네요ㅎㅎ

프로젝트 혹은 유니티가 이상한게 아니라서 정상적으로 동작한다면 신경쓰지 않으셔도 될 것 같아요.

아 넵 !! 매우 감사드립니다!
혹시 하나만 더 여쭤봐도 될까요??

안드로이드에서 globalapplication.kts 를 만들어서 유니티로 import하고 코드를 수정중인데용


유니티 AndroidManifest.xml 코드이구요


유니티 GlobalApplication.kts 코드입니다 !

gradle 에러가 나는 것으로 보아 문법적인 오류가 있는 것 같은데 유니티 콘솔창에서는 확인하기가 가독성도 안좋은것 같고 … 혹시 gradle 에러를 좀 더 정확하고 세세하게 알 수 있는 방법이 있을까요???
참고로 개발 툴은 vscode 사용 중 입니다!


gradle 빌드 에러전문입니다.

CommandInvokationFailure: Gradle build failed. 
C:\Program Files\Unity\Hub\Editor\2022.3.27f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2022.3.27f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-7.2.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"

Environment Variables:
PROCESSOR_ARCHITECTURE = AMD64
AMPLITUDE_API_KEY_YELLOWBUCKET_DEV = 48835b4d1f5e342aefe5f016324d296a
ANDROID_NDK_ROOT = C:\Program Files\Unity\Hub\Editor\2022.3.27f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK
DriverData = C:\Windows\System32\Drivers\DriverData
USERDOMAIN = DESKTOP-A0GN2BD
CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
COMPUTERNAME = DESKTOP-A0GN2BD
DEBUG_ENV_VAR = UnityHub
LOGONSERVER = \\DESKTOP-A0GN2BD
AMPLITUDE_TOKEN_GREENBUCKET_PROD = ZpUcbAdZXJYzNSoHsAWtL_s_JppwWid9
PUBLIC = C:\Users\Public
ProgramData = C:\ProgramData
SESSIONNAME = Console
AMPLITUDE_TOKEN_YELLOWBUCKET_PROD = UYDQtPOw83dIfVy3SrW5oMyo7ru4PRkV
ALLUSERSPROFILE = C:\ProgramData
ANDROID_HOME = C:\Users\USER\AppData\Local\Android\Sdk
SystemRoot = C:\Windows
windir = C:\Windows
AMPLITUDE_API_KEY_REDBUCKET_DEV = 46b8b46515e7632fc42a504b72e05fd0
ProgramFiles(x86) = C:\Program Files (x86)
ProgramW6432 = C:\Program Files
OS = Windows_NT
PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 183 Stepping 1, GenuineIntel
HOMEPATH = \Users\USER
FPS_BROWSER_USER_PROFILE_STRING = Default
AMPLITUDE_TOKEN_REDBUCKET_DEV = U4PSN7S7PuYVRODivvdcFwbu8R6IHGqa
CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_12844_EVNRVLQOWVNKYXXC
PROCESSOR_LEVEL = 6
ANDROID_SDK_ROOT = C:\Users\USER\AppData\Local\Android\Sdk
JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
CommonProgramFiles = C:\Program Files\Common Files
OPENSSL_CONF = C:\Program Files\OpenSSL-Win64\bin\openssl.cfg
JAVA_HOME = C:\Program Files\Unity\Hub\Editor\2022.3.27f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK
USERDOMAIN_ROAMINGPROFILE = DESKTOP-A0GN2BD
TEMP = C:\Users\USER\AppData\Local\Temp
ProgramFiles = C:\Program Files
CommonProgramW6432 = C:\Program Files\Common Files
AMPLITUDE_TOKEN_YELLOWBUCKET_DEV = wKi8foVigDditGFvmZewRFWsEbX9Y0YO
AMPLITUDE_API_KEY_GREENBUCKET_DEV = 3ded2a762163603391a425f688f990c8
AMPLITUDE_API_KEY_REDBUCKET_PROD = ca12bb461ea96f9bdf5df4ded7d52994
HOMEDRIVE = C:
AMPLITUDE_API_KEY_STAGING = 83ee04fccc67e4fcc7dd527c4c6f1e21
USERNAME = USER
OneDrive = C:\Users\USER\OneDrive
AMPLITUDE_API_KEY_YELLOWBUCKET_PROD = e03a9bbe92dc38a88cdb068d24c65b46
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
AMPLITUDE_TOKEN_REDBUCKET_PROD = jTIgKs5KTZOjiqEEVdZFbgo_VRhABduL
EFC_7192 = 1
NUMBER_OF_PROCESSORS = 20
AMPLITUDE_TOKEN_GREENBUCKET_DEV = 84H2gMm_FJzhr3mBaX1lM1JVukmCM7d9
AMPLITUDE_DEPLOYMENT_KEY_RED_BUCKET_DEV = client-wbjHYrmeSR87GmWOE7LDpf7sUySOIKHm
AMPLITUDE_API_KEY_GREENBUCKET_PROD = c86fea37a9e1d3f0878b96e15b111c7c
ComSpec = C:\Windows\system32\cmd.exe
ORIGINAL_XDG_CURRENT_DESKTOP = undefined
PROCESSOR_REVISION = b701
AMPLITUDE_DEPLOYMENT_KEY_RED_BUCKET_PROD = client-zH8Y7OK1i331EKuG77C6UxN8ygcM6LzS
TMP = C:\Users\USER\AppData\Local\Temp
SystemDrive = C:
AMPLITUDE_API_KEY = 28f3cae0b33b8b3702120c9ed1a935aa
FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
SENTRY_ACCESS_TOKEN = 3df78d9e53f8456aa90fbae044ce1a6261421ab1d0014674bc2e933477289017
APPDATA = C:\Users\USER\AppData\Roaming
Path = C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\PlasticSCM5\server;C:\Program Files\PlasticSCM5\client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\dotnet\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\OpenSSL-Win64\bin;C:\Program Files\Java\jdk-11\bin;C:\Program Files\nodejs\;C:\Users\USER\AppData\Local\Programs\Python\Python311\Scripts\;C:\Users\USER\AppData\Local\Programs\Python\Python311\;C:\Users\USER\AppData\Local\Microsoft\WindowsApps;C:\Users\USER\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\USER\.dotnet\tools;C:\Users\USER\AppData\Local\Android\Sdk\tools;C:\Users\USER\AppData\Local\Android\Sdk\platform-tools;C:\Users\USER\AppData\Local\Android\Sdk\emulator;C:\Users\USER\AppData\Local\Android\Sdk\build-tools;%GRADLE_HOME%;C:\Program Files\OpenSSL-Win64\bin;C:\Users\USER\AppData\Roaming\npm
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
LOCALAPPDATA = C:\Users\USER\AppData\Local
USERPROFILE = C:\Users\USER
WOOTRIC_CLIENT_TOKEN = NPS-aa8be4c3


stderr[
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
e: C:/Users/USER/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-android-extensions-runtime/1.6.10/4a6b6e4fb87c54c5d2a7eb51a497ac23dd200d62/kotlin-android-extensions-runtime-1.6.10.jar!/META-INF/kotlin-android-extensions-runtime.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-parcelize-runtime/1.6.10/c58baadb61a92d63b124293db47e3aa198148d86/kotlin-parcelize-runtime-1.6.10.jar!/META-INF/parcelize-runtime.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.6.10/c118700e3a33c8a0d9adc920e9dec0831171925/kotlin-stdlib-common-1.6.10.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.6.10/e1c380673654a089c4f0c9f83d0ddfdc1efdb498/kotlin-stdlib-jdk7-1.6.10.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.6.10/e80fe6ac3c3573a80305f5ec43f86b829e8ab53d/kotlin-stdlib-jdk8-1.6.10.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.6.10/b8af3fe6f1ca88526914929add63cf5e7c5049af/kotlin-stdlib-1.6.10.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/transforms-3/1ccd52baffd81bbb15e0ac5acd393a51/transformed/v2-auth-2.20.1-api.jar!/META-INF/auth_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/transforms-3/20990a36448915a088a43d727555ba83/transformed/v2-share-2.20.1-api.jar!/META-INF/share_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/transforms-3/3976e75cb8698c50fb392f0eed15fa94/transformed/v2-template-2.20.1-api.jar!/META-INF/template_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/transforms-3/5998f5b5edd16eb40321911cc0063e64/transformed/v2-user-2.20.1-api.jar!/META-INF/user_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/transforms-3/66cb954902f92cff5d50686cc2fd77e8/transformed/v2-navi-2.20.1-api.jar!/META-INF/navi_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/transforms-3/80dc6b529c4952505d90d717168da719/transformed/v2-talk-2.20.1-api.jar!/META-INF/talk_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/transforms-3/a15868ab7bf97b7727f5d803ba49ce79/transformed/v2-friend-2.20.1-api.jar!/META-INF/friend_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/transforms-3/cc1f96485e4e4257a1939dfd3055524e/transformed/v2-cert-2.20.1-api.jar!/META-INF/cert_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/transforms-3/e1437183f904626d544cd6663070a675/transformed/v2-network-2.20.1-api.jar!/META-INF/network_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:/Users/USER/.gradle/caches/transforms-3/fdc7215823c61813259fd487269eb41b/transformed/v2-common-2.20.1-api.jar!/META-INF/common_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
e: C:\Users\USER\My project\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity3d\player\GlobalApplication.kt: (4, 29): Class 'com.kakao.sdk.common.KakaoSdk' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
The class is loaded from C:/Users/USER/.gradle/caches/transforms-3/fdc7215823c61813259fd487269eb41b/transformed/v2-common-2.20.1-api.jar!/com/kakao/sdk/common/KakaoSdk.class
e: C:\Users\USER\My project\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity3d\player\GlobalApplication.kt: (8, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
The class is loaded from C:/Users/USER/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.6.10/b8af3fe6f1ca88526914929add63cf5e7c5049af/kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: C:\Users\USER\My project\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity3d\player\GlobalApplication.kt: (9, 9): Class 'com.kakao.sdk.common.KakaoSdk' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
The class is loaded from C:/Users/USER/.gradle/caches/transforms-3/fdc7215823c61813259fd487269eb41b/transformed/v2-common-2.20.1-api.jar!/com/kakao/sdk/common/KakaoSdk.class
e: C:\Users\USER\My project\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity3d\player\GlobalApplication.kt: (9, 18): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
The class is loaded from C:/Users/USER/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.6.10/b8af3fe6f1ca88526914929add63cf5e7c5049af/kotlin-stdlib-1.6.10.jar!/kotlin/Unit.class
e: C:\Users\USER\My project\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity3d\player\GlobalApplication.kt: (9, 18): Class 'com.kakao.sdk.common.model.ServerHosts' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
The class is loaded from C:/Users/USER/.gradle/caches/transforms-3/fdc7215823c61813259fd487269eb41b/transformed/v2-common-2.20.1-api.jar!/com/kakao/sdk/common/model/ServerHosts.class
e: C:\Users\USER\My project\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity3d\player\GlobalApplication.kt: (9, 18): Class 'com.kakao.sdk.common.model.ApprovalType' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
The class is loaded from C:/Users/USER/.gradle/caches/transforms-3/fdc7215823c61813259fd487269eb41b/transformed/v2-common-2.20.1-api.jar!/com/kakao/sdk/common/model/ApprovalType.class
e: C:\Users\USER\My project\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity3d\player\GlobalApplication.kt: (9, 18): Class 'com.kakao.sdk.common.model.SdkIdentifier' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.
The class is loaded from C:/Users/USER/.gradle/caches/transforms-3/fdc7215823c61813259fd487269eb41b/transformed/v2-common-2.20.1-api.jar!/com/kakao/sdk/common/model/SdkIdentifier.class

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':unityLibrary:compileReleaseKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
]
stdout[
> Task :launcher:preBuild UP-TO-DATE
> Task :unityLibrary:preBuild UP-TO-DATE
> Task :launcher:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:compileReleaseAidl NO-SOURCE
> Task :launcher:generateReleaseBuildConfig UP-TO-DATE
> Task :unityLibrary:mergeReleaseJniLibFolders UP-TO-DATE
> Task :launcher:compileReleaseAidl NO-SOURCE
> Task :unityLibrary:mergeReleaseNativeLibs UP-TO-DATE
> Task :launcher:javaPreCompileRelease UP-TO-DATE
> Task :launcher:writeReleaseApplicationId UP-TO-DATE
> Task :unityLibrary:stripReleaseDebugSymbols UP-TO-DATE
> Task :launcher:analyticsRecordingRelease
> Task :launcher:generateReleaseResValues UP-TO-DATE
> Task :unityLibrary:copyReleaseJniLibsProjectAndLocalJars UP-TO-DATE
> Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
> Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
> Task :launcher:extractDeepLinksRelease UP-TO-DATE
> Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
> Task :launcher:extractProguardFiles UP-TO-DATE
> Task :unityLibrary:generateReleaseResValues UP-TO-DATE
> Task :unityLibrary:generateReleaseResources UP-TO-DATE
> Task :launcher:mergeReleaseJniLibFolders UP-TO-DATE
> Task :unityLibrary:packageReleaseResources UP-TO-DATE
> Task :unityLibrary:parseReleaseLocalResources UP-TO-DATE
> Task :unityLibrary:processReleaseManifest UP-TO-DATE
> Task :unityLibrary:generateReleaseRFile UP-TO-DATE
> Task :launcher:checkReleaseDuplicateClasses UP-TO-DATE
> Task :launcher:desugarReleaseFileDependencies UP-TO-DATE
> Task :launcher:mergeExtDexRelease UP-TO-DATE
> Task :launcher:mergeReleaseShaders UP-TO-DATE
> Task :launcher:compileReleaseShaders NO-SOURCE
> Task :launcher:generateReleaseAssets UP-TO-DATE
> Task :launcher:processReleaseJavaRes NO-SOURCE
> Task :launcher:collectReleaseDependencies UP-TO-DATE
> Task :launcher:sdkReleaseDependencyData UP-TO-DATE
> Task :launcher:validateSigningRelease UP-TO-DATE
> Task :launcher:writeReleaseAppMetadata UP-TO-DATE
> Task :launcher:writeReleaseSigningConfigVersions UP-TO-DATE

> Task :unityLibrary:compileReleaseKotlin FAILED
29 actionable tasks: 2 executed, 27 up-to-date
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <36229cb14f41449da8c9699f7090a8e2>:<message truncated>

초보 개발자라서 아는 것이 많이 없어 죄송합니다 ㅠㅠ

우선 제가 Unity에 대해서는 잘 모르고 Kakao SDK가 공식적으로 Unity를 지원하지는 않고 있어서 제가 알고있는 지식 기반으로 답변을 드리고, 답변이 틀릴 수 있다는 점 양해 부탁드리겠습니다.

문의주신 내용 확인했을 때 Unity에서 Android 플랫폼 코드를 수정하려고 하고 있고, Visual Studio Code를 사용했을 때는 안드로이드 관련 컴파일 에러를 제대로 감지하지 못하는 것으로 이해했습니다.

일반적으로 Android 개발을 진행할 때는 Android Studio 라는 IDE를 사용하고 있어요.
Visual Studio Code는 플러그인 설치를 통해 다양한 개발 환경을 지원하지만 일반적으로 Android 개발에서 사용하는 툴은 아니기 때문에 Android Studio 설치 후 Unity 프로젝트의 Android 디렉토리를 열어보시면 조금 더 수월하게 개발 진행하실 수 있을 것 같습니다.