공유하기 기능 실행하는 함수는 무엇인가요?

예시 코드인 아래코드를 전송하려면 어떤 함수를 써야하나요? 우선 저렇게만 두어서는 따로 호출을해도 동작을 하지않습니다. 버튼 클릭시, 앱이 실행되면 start() 같은 함수가 있을것 같은데 알려주시면 감사하겠습니다.
val defaultFeed = FeedTemplate(
content = Content(
title = “오늘의 디저트”,
description = “#케익 #딸기 #삼평동 #카페 #분위기 #소개팅”,
imageUrl = “https://mud-kage.kakao.com/dn/Q2iNx/btqgeRgV54P/VLdBs9cvyn8BJXB3o7N8UK/kakaolink40_original.png”,
link = Link(
webUrl = “https://developers.kakao.com”,
mobileWebUrl = “https://developers.kakao.com
)
),
itemContent = ItemContent(
profileText = “Kakao”,
profileImageUrl = “https://mud-kage.kakao.com/dn/Q2iNx/btqgeRgV54P/VLdBs9cvyn8BJXB3o7N8UK/kakaolink40_original.png”,
titleImageUrl = “https://mud-kage.kakao.com/dn/Q2iNx/btqgeRgV54P/VLdBs9cvyn8BJXB3o7N8UK/kakaolink40_original.png”,
titleImageText = “Cheese cake”,
titleImageCategory = “Cake”,
items = listOf(
ItemInfo(item = “cake1”, itemOp = “1000원”),
ItemInfo(item = “cake2”, itemOp = “2000원”),
ItemInfo(item = “cake3”, itemOp = “3000원”),
ItemInfo(item = “cake4”, itemOp = “4000원”),
ItemInfo(item = “cake5”, itemOp = “5000원”)
),
sum = “Total”,
sumOp = “15000원”
),
social = Social(
likeCount = 286,
commentCount = 45,
sharedCount = 845
),
buttons = listOf(
Button(
“웹으로 보기”,
Link(
webUrl = “https://developers.kakao.com”,
mobileWebUrl = “https://developers.kakao.com
)
),
Button(
“앱으로 보기”,
Link(
androidExecutionParams = mapOf(“key1” to “value1”, “key2” to “value2”),
iosExecutionParams = mapOf(“key1” to “value1”, “key2” to “value2”)
)
)
)
)

스크린샷 2023-05-02 오후 2.09.05
로그인과 같이 사용 하려는데 Share 관련은 안나오고 Login만 나오는 이유도 알고싶습니다

현재 유니티에서 사용중이고 예시에 나온 안드로이드 스튜디오에서는 문제없이 동작하엿습니다. 이후 네이티브 플러그인을 유니티로 갖고온뒤 사용할 경우 isKakaoTalkSharingAvailable 이 나오지 않는 상태이며, 강제적으로 사용할시 오류가 나서 빌드가 되지않고 있습니다.
유니티에서 버튼을 누른다 → 해당 Feed를 생성한다 → 이방식을 원합니다

1개의 좋아요

유니티에서 안드로이드 네이티브 코드를 실행 시, 표시되지 않는게 정상인것 같습니다.
어떻게 구현하셨을까요?

package com.unity3d.player

import com.kakao.sdk.auth.model.OAuthToken
import com.kakao.sdk.user.UserApiClient
import com.unity3d.player.UnityPlayer
import com.kakao.sdk.share.ShareClient
import com.kakao.sdk.template.model.Button
import com.kakao.sdk.template.model.Content
import com.kakao.sdk.template.model.FeedTemplate
import com.kakao.sdk.template.model.ItemContent
import com.kakao.sdk.template.model.ItemInfo
import com.kakao.sdk.template.model.Link
import com.kakao.sdk.template.model.Social

class UKakao {
   
   fun KakaoShare() {
    
          val defaultFeed = FeedTemplate(
                             content = Content(
                                 title = "오늘의 디저트",
                                 description = "#케익 #딸기 #삼평동 #카페 #분위기 #소개팅",
                                 imageUrl = "https://mud-kage.kakao.com/dn/Q2iNx/btqgeRgV54P/VLdBs9cvyn8BJXB3o7N8UK/kakaolink40_original.png",
                                 link = Link(
                                     webUrl = "https://developers.kakao.com",
                                     mobileWebUrl = "https://developers.kakao.com"
                                 )
                             ),
                             itemContent = ItemContent(
                                 profileText = "Kakao",
                                 profileImageUrl = "https://mud-kage.kakao.com/dn/Q2iNx/btqgeRgV54P/VLdBs9cvyn8BJXB3o7N8UK/kakaolink40_original.png",
                                 titleImageUrl = "https://mud-kage.kakao.com/dn/Q2iNx/btqgeRgV54P/VLdBs9cvyn8BJXB3o7N8UK/kakaolink40_original.png",
                                 titleImageText = "Cheese cake",
                                 titleImageCategory = "Cake",
                                 items = listOf(
                                     ItemInfo(item = "cake1", itemOp = "1000원"),
                                     ItemInfo(item = "cake2", itemOp = "2000원"),
                                     ItemInfo(item = "cake3", itemOp = "3000원"),
                                     ItemInfo(item = "cake4", itemOp = "4000원"),
                                     ItemInfo(item = "cake5", itemOp = "5000원")
                                 ),
                                 sum = "Total",
                                 sumOp = "15000원"
                             ),
                             social = Social(
                                 likeCount = 286,
                                 commentCount = 45,
                                 sharedCount = 845
                             ),
                             buttons = listOf(
                                 Button(
                                     "웹으로 보기",
                                     Link(
                                         webUrl = "https://developers.kakao.com",
                                         mobileWebUrl = "https://developers.kakao.com"
                                     )
                                 ),
                                 Button(
                                     "앱으로 보기",
                                     Link(
                                         androidExecutionParams = mapOf(
                                             "key1" to "value1",
                                             "key2" to "value2"
                                         ),
                                         iosExecutionParams = mapOf("key1" to "value1", "key2" to "value2")
                                     )
                                 )
                             )
                         )
          }
   }
   

    fun KakaoLogin() {
        // 로그인 공통 callback 구성
        val callback: (OAuthToken?, Throwable?) -> Unit = { token, error ->
            if (error != null) {
                com.unity3d.player.UnityPlayer.UnitySendMessage("SignInPassApp(Clone)","KakaoPluginError",error.toString())
                //Log.e(TAG, "로그인 실패", error)
                println("로그인 실패 : $error")
            }
            else if (token != null) {
                com.unity3d.player.UnityPlayer.UnitySendMessage("SignInPassApp(Clone)","RequestKakaoToken",token.accessToken)
                //Log.i(TAG, "로그인 성공 ${token.accessToken}")
                println("로그인 성공 ${token.accessToken}")
            }
        }

// 카카오톡이 설치되어 있으면 카카오톡으로 로그인, 아니면 카카오계정으로 로그인
        if (UserApiClient.instance.isKakaoTalkLoginAvailable(UnityPlayer.currentActivity)) {
            UserApiClient.instance.loginWithKakaoTalk(UnityPlayer.currentActivity, callback = callback)
        } else {
            com.unity3d.player.UnityPlayer.UnitySendMessage("SignInPassApp(Clone)","KakaoPluginError","nonKakao")
        }
    }
}

으로 되어있으며 로그인은 현재 문제없이 작동합니다.
네이티브에서 카카오 공유하기를 실행해줘야하는데 현재 ShareClient.instance 뒤의 함수 부분이 로그인 부분만 호출되고 있습니다.

안드로이드 스튜디오에서는 문제없이 작동하였고
if (ShareClient.instance.isKakaoTalkSharingAvailable(context)) {
// 카카오톡으로 카카오톡 공유 가능
ShareClient.instance.shareCustom(context, templateId, serverCallbackArgs) { sharingResult, error →
if (error != null) {
Log.e(TAG, “카카오톡 공유 실패”, error)
}
else if (sharingResult != null) {
Log.d(TAG, “카카오톡 공유 성공 ${sharingResult.intent}”)
startActivity(sharingResult.intent)

        // 카카오톡 공유에 성공했지만 아래 경고 메시지가 존재할 경우 일부 컨텐츠가 정상 동작하지 않을 수 있습니다.
        Log.w(TAG, "Warning Msg: ${sharingResult.warningMsg}")
        Log.w(TAG, "Argument Msg: ${sharingResult.argumentMsg}")
    }
}

이 부분에서 문제가 생겨 유니티 빌드시 그라들 오류가 발생하는 중입니다.
이후 실행부분인 ShareClient.instance.isKakaoTalkSharingAvailable(context) 부분이 카카오 공유를 실행하는 부분으로 보이는데 이 실행하는 부분을 유니티에서 따로 구현을 한다 해도 유니티에서는 네이티브를 호출만 하는 것이지 실행은 따로 관여를 하지 않기떄문에 네이티브 자체에서 공유하기를 실행하는 코드가 필요합니다.
예를들어 start(KakaoShare); 를 네이티브 자체에서 진행해 줘야하는 상태입니다. 현재 필요한 부분은 start() 이 함수 입니다.

그리고 기존에 Feed Template를 사용예정이라 intent 데이터가 아닌 Json 데이터를 넘겨주려고 합니다

그리고 혹시 3년전 자료인데 이 유튜브와 다른점이 많이있는지도 궁금합니다
https://www.youtube.com/watch?v=ZhSJFIZq7Os

그리고 현재 커스텀 피드 메시지로 전송을 할경우 코드입니다 템플릿 아이디는 내 애플리케이션 → 메시지 의 숫자로 구성된 아이디를 사용하였습니다.
스크린샷 2023-05-03 오전 10.40.41

안녕하세요.

확인을 위해 앱 ID 부탁드립니다.

1개의 좋아요

ID 92769 입니다

앱 92769 에서 호출이력이 없습니다.
KakaoSdk.init 함수를 통해 앱 초기화를 하셨을가요?

네 init 을통해 초기화하여습니다

실패 시, 로그를 확인 부탁드립니다.

우선 Feed Json 코드만 사용시 문제없습니다 ShareClient.instance.isKakaoTalkSharingAvailable(context) 를 통해 실행할 경우 해당 코드줄에 코틀린에서 사용할수 없는 코드라는 로그만 나오는상태입니다. 안드로이드 스튜디오 빌드시엔 실행되고 유니티에서 빌드시엔 오류가 나는상태입니다

Task :launcher:preBuild UP-TO-DATE
Task :launcher:preReleaseBuild UP-TO-DATE
Task :unityLibrary:preBuild UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:preBuild UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:preReleaseBuild UP-TO-DATE
Task :unityLibrary:preReleaseBuild UP-TO-DATE
Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseAidl NO-SOURCE
Task :unityLibrary:compileReleaseAidl NO-SOURCE
Task :launcher:generateReleaseBuildConfig UP-TO-DATE
Task :launcher:compileReleaseAidl NO-SOURCE
Task :launcher:compileReleaseRenderscript NO-SOURCE
Task :launcher:javaPreCompileRelease UP-TO-DATE
Task :launcher:generateReleaseResValues UP-TO-DATE
Task :launcher:generateReleaseResources UP-TO-DATE
Task :unityLibrary:generateReleaseResValues UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseRenderscript NO-SOURCE
Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
Task :launcher:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResValues UP-TO-DATE
Task :unityLibrary:generateReleaseResources UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResources UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:packageReleaseResources UP-TO-DATE
Task :unityLibrary:packageReleaseResources UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:processReleaseManifest UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:parseReleaseLocalResources UP-TO-DATE
Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseRFile UP-TO-DATE
Task :unityLibrary:parseReleaseLocalResources UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseLibraryResources UP-TO-DATE
Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseBuildConfig UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:javaPreCompileRelease UP-TO-DATE
Task :unityLibrary:prepareLintJarForPublish UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseJavaWithJavac UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:bundleLibCompileToJarRelease UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:prepareLintJarForPublish UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE
Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:compileReleaseShaders NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseShaders NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:packageReleaseAssets UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:bundleLibResRelease NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseJniLibFolders UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseNativeLibs UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:stripReleaseDebugSymbols NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE
Task :unityLibrary:packageReleaseAssets

Task :unityLibrary:processReleaseManifest
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:66:3-124 Warning:
Element activity#com.vuplex.webview.HelperActivity at AndroidManifest.xml:66:3-124 duplicated with element declared at AndroidManifest.xml:65:5-126
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:8:3-66:138 Warning:
application@android:allowBackup was tagged at AndroidManifest.xml:8 to replace other declarations but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:9:5-204 Warning:
provider#com.google.firebase.provider.FirebaseInitProvider was tagged at AndroidManifest.xml:9 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:10:5-197 Warning:
provider#com.facebook.internal.FacebookInitProvider was tagged at AndroidManifest.xml:10 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:67:3-100 Warning:
uses-permission#android.permission.WRITE_EXTERNAL_STORAGE was tagged at AndroidManifest.xml:67 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:68:3-99 Warning:
uses-permission#android.permission.READ_EXTERNAL_STORAGE was tagged at AndroidManifest.xml:68 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:73:3-134 Warning:
permission#com.samsungfire.omoomo.permission.C2D_MESSAGE was tagged at AndroidManifest.xml:73 to remove other declarations but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:74:3-103 Warning:
uses-permission#com.samsungfire.omoomo.permission.C2D_MESSAGE was tagged at AndroidManifest.xml:74 to remove other declarations but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:76:3-114 Warning:
uses-permission#com.samsungfire.sandboxdevomoomo.permission.C2D_MESSAGE was tagged at AndroidManifest.xml:76 to replace another declaration but no other declaration present

Task :unityLibrary:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:mergeReleaseJniLibFolders
Task :unityLibrary:mergeReleaseNativeLibs
Task :unityLibrary:stripReleaseDebugSymbols
Task :unityLibrary:copyReleaseJniLibsProjectOnly
Task :unityLibrary:generateReleaseRFile

Task :launcher:processReleaseManifest
[:unityLibrary] /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/build/intermediates/library_manifest/release/AndroidManifest.xml:253:9-255:75 Warning:
Element activity#com.vuplex.webview.HelperActivity at [:unityLibrary] AndroidManifest.xml:253:9-255:75 duplicated with element declared at [:unityLibrary] AndroidManifest.xml:250:9-252:75
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/launcher/src/main/AndroidManifest.xml:4:3-83 Warning:
application@android:allowBackup was tagged at AndroidManifest.xml:4 to replace other declarations but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/launcher/src/main/AndroidManifest.xml:31:5-76 Warning:
uses-permission#android.permission.READ_MEDIA_IMAGES was tagged at AndroidManifest.xml:31 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/launcher/src/main/AndroidManifest.xml:32:5-75 Warning:
uses-permission#android.permission.READ_MEDIA_VIDEO was tagged at AndroidManifest.xml:32 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/launcher/src/main/AndroidManifest.xml:33:5-75 Warning:
uses-permission#android.permission.READ_MEDIA_AUDIO was tagged at AndroidManifest.xml:33 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/launcher/src/main/AndroidManifest.xml:49:5-51:32 Warning:
uses-permission#com.samsungfire.sandboxdevomoomo.permission.C2D_MESSAGE was tagged at AndroidManifest.xml:49 to replace another declaration but no other declaration present

Task :launcher:prepareLintJar UP-TO-DATE
Task :launcher:checkReleaseDuplicateClasses
Task :launcher:mergeReleaseShaders UP-TO-DATE
Task :launcher:compileReleaseShaders NO-SOURCE
Task :launcher:generateReleaseAssets UP-TO-DATE
Task :launcher:mergeReleaseAssets
Task :launcher:processReleaseJavaRes NO-SOURCE
Task :launcher:collectReleaseDependencies
Task :launcher:sdkReleaseDependencyData
Task :launcher:mergeReleaseJniLibFolders UP-TO-DATE
Task :launcher:validateSigningRelease UP-TO-DATE
Task :launcher:mergeReleaseResources
aapt2 W 05-03 14:11:08 25740 383334 LoadedArsc.cpp:657] Unknown chunk type ‘200’.

Task :launcher:processReleaseResources

Task :unityLibrary:compileReleaseKotlin FAILED
51 actionable tasks: 15 executed, 36 up-to-date

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)

UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ce] in /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPlayerWindowBuildMethods.cs:193
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPlayerWindowBuildMethods.cs:94
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)

CommandInvokationFailure: Gradle build failed.
/Applications/Unity/Hub/Editor/2021.3.14f1/PlaybackEngines/AndroidPlayer/OpenJDK/bin/java -classpath “/Applications/Unity/Hub/Editor/2021.3.14f1/PlaybackEngines/AndroidPlayer/Tools/gradle/lib/gradle-launcher-6.1.1.jar” org.gradle.launcher.GradleMain “-Dorg.gradle.jvmargs=-Xmx4096m” “assembleRelease”

Environment Variables:
DEBUG_ENV_VAR = UnityHub
__CFBundleIdentifier = com.unity3d.unityhub
XPC_FLAGS = 0x0
HOME = /Users/salin
AMPLITUDE_API_KEY = 28f3cae0b33b8b3702120c9ed1a935aa
JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
SENTRY_ACCESS_TOKEN = 3df78d9e53f8456aa90fbae044ce1a6261421ab1d0014674bc2e933477289017
JAVA_HOME = /Applications/Unity/Hub/Editor/2021.3.14f1/PlaybackEngines/AndroidPlayer/OpenJDK
LAUNCH_DARKLY_CLIENT_TOKEN = 60a7e30fafc7e60e33446283
XPC_SERVICE_NAME = application.com.unity3d.unityhub.8455617.8455623
ANDROID_NDK_ROOT = /Applications/Unity/Hub/Editor/2021.3.14f1/PlaybackEngines/AndroidPlayer/NDK
HEAP_CLIENT_TOKEN = 1717415662
AMPLITUDE_API_KEY_STAGING = 83ee04fccc67e4fcc7dd527c4c6f1e21
grpc_cfstream = 0
WOOTRIC_CLIENT_TOKEN = NPS-aa8be4c3
USER = salin
MallocNanoZone = 0
LOGNAME = salin
BURST_ANDROID_MIN_API_LEVEL = 22
__CF_USER_TEXT_ENCODING = 0x1F5:0x3:0x33
PATH = /usr/bin:/bin:/usr/sbin:/sbin
LAUNCH_DARKLY_CLIENT_TOKEN_STAGING = 60a7e30fafc7e60e33446282
SSH_AUTH_SOCK = /private/tmp/com.apple.launchd.r4z2JmSxXs/Listeners
HEAP_CLIENT_TOKEN_STAGING = 3786794399
COMMAND_MODE = unix2003
TMPDIR = /var/folders/1w/zxkbxxcn49d_f77vr3jrpqb00000gn/T/
SHELL = /bin/zsh
ORIGINAL_XDG_CURRENT_DESKTOP = undefined

stderr[
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (8, 19): Unresolved reference: FeedTemplate
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (9, 15): Unresolved reference: Content
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (13, 16): Unresolved reference: Link
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (18, 19): Unresolved reference: ItemContent
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (25, 13): Unresolved reference: ItemInfo
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (26, 13): Unresolved reference: ItemInfo
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (27, 13): Unresolved reference: ItemInfo
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (28, 13): Unresolved reference: ItemInfo
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (29, 13): Unresolved reference: ItemInfo
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (34, 14): Unresolved reference: Social
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (40, 9): Unresolved reference: Button
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (42, 13): Unresolved reference: Link
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (47, 9): Unresolved reference: Button
e: /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UKakao.kt: (49, 13): Unresolved reference: Link

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 8s
]
stdout[

Task :launcher:preBuild UP-TO-DATE
Task :launcher:preReleaseBuild UP-TO-DATE
Task :unityLibrary:preBuild UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:preBuild UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:preReleaseBuild UP-TO-DATE
Task :unityLibrary:preReleaseBuild UP-TO-DATE
Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseAidl NO-SOURCE
Task :unityLibrary:compileReleaseAidl NO-SOURCE
Task :launcher:generateReleaseBuildConfig UP-TO-DATE
Task :launcher:compileReleaseAidl NO-SOURCE
Task :launcher:compileReleaseRenderscript NO-SOURCE
Task :launcher:javaPreCompileRelease UP-TO-DATE
Task :launcher:generateReleaseResValues UP-TO-DATE
Task :launcher:generateReleaseResources UP-TO-DATE
Task :unityLibrary:generateReleaseResValues UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseRenderscript NO-SOURCE
Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
Task :launcher:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResValues UP-TO-DATE
Task :unityLibrary:generateReleaseResources UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResources UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:packageReleaseResources UP-TO-DATE
Task :unityLibrary:packageReleaseResources UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:processReleaseManifest UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:parseReleaseLocalResources UP-TO-DATE
Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseRFile UP-TO-DATE
Task :unityLibrary:parseReleaseLocalResources UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseLibraryResources UP-TO-DATE
Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseBuildConfig UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:javaPreCompileRelease UP-TO-DATE
Task :unityLibrary:prepareLintJarForPublish UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseJavaWithJavac UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:bundleLibCompileToJarRelease UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:prepareLintJarForPublish UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE
Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:compileReleaseShaders NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseShaders NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:packageReleaseAssets UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:bundleLibResRelease NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseJniLibFolders UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseNativeLibs UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:stripReleaseDebugSymbols NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE
Task :unityLibrary:packageReleaseAssets

Task :unityLibrary:processReleaseManifest
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:66:3-124 Warning:
Element activity#com.vuplex.webview.HelperActivity at AndroidManifest.xml:66:3-124 duplicated with element declared at AndroidManifest.xml:65:5-126
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:8:3-66:138 Warning:
application@android:allowBackup was tagged at AndroidManifest.xml:8 to replace other declarations but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:9:5-204 Warning:
provider#com.google.firebase.provider.FirebaseInitProvider was tagged at AndroidManifest.xml:9 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:10:5-197 Warning:
provider#com.facebook.internal.FacebookInitProvider was tagged at AndroidManifest.xml:10 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:67:3-100 Warning:
uses-permission#android.permission.WRITE_EXTERNAL_STORAGE was tagged at AndroidManifest.xml:67 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:68:3-99 Warning:
uses-permission#android.permission.READ_EXTERNAL_STORAGE was tagged at AndroidManifest.xml:68 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:73:3-134 Warning:
permission#com.samsungfire.omoomo.permission.C2D_MESSAGE was tagged at AndroidManifest.xml:73 to remove other declarations but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:74:3-103 Warning:
uses-permission#com.samsungfire.omoomo.permission.C2D_MESSAGE was tagged at AndroidManifest.xml:74 to remove other declarations but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:76:3-114 Warning:
uses-permission#com.samsungfire.sandboxdevomoomo.permission.C2D_MESSAGE was tagged at AndroidManifest.xml:76 to replace another declaration but no other declaration present

Task :unityLibrary:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:mergeReleaseJniLibFolders
Task :unityLibrary:mergeReleaseNativeLibs
Task :unityLibrary:stripReleaseDebugSymbols
Task :unityLibrary:copyReleaseJniLibsProjectOnly
Task :unityLibrary:generateReleaseRFile

Task :launcher:processReleaseManifest
[:unityLibrary] /Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/build/intermediates/library_manifest/release/AndroidManifest.xml:253:9-255:75 Warning:
Element activity#com.vuplex.webview.HelperActivity at [:unityLibrary] AndroidManifest.xml:253:9-255:75 duplicated with element declared at [:unityLibrary] AndroidManifest.xml:250:9-252:75
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/launcher/src/main/AndroidManifest.xml:4:3-83 Warning:
application@android:allowBackup was tagged at AndroidManifest.xml:4 to replace other declarations but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/launcher/src/main/AndroidManifest.xml:31:5-76 Warning:
uses-permission#android.permission.READ_MEDIA_IMAGES was tagged at AndroidManifest.xml:31 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/launcher/src/main/AndroidManifest.xml:32:5-75 Warning:
uses-permission#android.permission.READ_MEDIA_VIDEO was tagged at AndroidManifest.xml:32 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/launcher/src/main/AndroidManifest.xml:33:5-75 Warning:
uses-permission#android.permission.READ_MEDIA_AUDIO was tagged at AndroidManifest.xml:33 to replace another declaration but no other declaration present
/Users/salin/Documents/project/nomoomo/Library/Bee/Android/Prj/IL2CPP/Gradle/launcher/src/main/AndroidManifest.xml:49:5-51:32 Warning:
uses-permission#com.samsungfire.sandboxdevomoomo.permission.C2D_MESSAGE was tagged at AndroidManifest.xml:49 to replace another declaration but no other declaration present

Task :launcher:prepareLintJar UP-TO-DATE
Task :launcher:checkReleaseDuplicateClasses
Task :launcher:mergeReleaseShaders UP-TO-DATE
Task :launcher:compileReleaseShaders NO-SOURCE
Task :launcher:generateReleaseAssets UP-TO-DATE
Task :launcher:mergeReleaseAssets
Task :launcher:processReleaseJavaRes NO-SOURCE
Task :launcher:collectReleaseDependencies
Task :launcher:sdkReleaseDependencyData
Task :launcher:mergeReleaseJniLibFolders UP-TO-DATE
Task :launcher:validateSigningRelease UP-TO-DATE
Task :launcher:mergeReleaseResources
aapt2 W 05-03 14:11:08 25740 383334 LoadedArsc.cpp:657] Unknown chunk type ‘200’.

Task :launcher:processReleaseResources

Task :unityLibrary:compileReleaseKotlin FAILED
51 actionable tasks: 15 executed, 36 up-to-date
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <51e10b9352934e7f80981b508a072fc6>:0)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <51e10b9352934e7f80981b508a072fc6>:0)
UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <51e10b9352934e7f80981b508a072fc6>:0)
UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action1[T] progress, System.String error) (at <51e10b9352934e7f80981b508a072fc6>:0) UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action1[T] progress) (at <51e10b9352934e7f80981b508a072fc6>:0)
Rethrow as GradleInvokationException: Gradle build failed
UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action`1[T] progress) (at <51e10b9352934e7f80981b508a072fc6>:0)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <51e10b9352934e7f80981b508a072fc6>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <51e10b9352934e7f80981b508a072fc6>:0)
Rethrow as BuildFailedException: Exception of type ‘UnityEditor.Build.BuildFailedException’ was thrown.
UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at <51e10b9352934e7f80981b508a072fc6>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <51e10b9352934e7f80981b508a072fc6>:0)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput buildPro

Build completed with a result of ‘Failed’ in 105 seconds (105147 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)

발생한 로그들이며 해당 로그또한 코틀린코드쪽문제라고 나오는상태입니다