Android build: clang++: error: linker command failed with exit code 1

I recently upgraded my project to 2021 (currently 2021.2.2f1), and began getting this error when building for Android. I’m a little lost, because it doesn’t really point me to anything as a possible solution, hoping someone can help. Thanks

Edit: It seems odd these errors all have IOSWebViewWindow in them when building for Android, but that may not be an issue.

Building Library\Bee\artifacts\Android\d8kzr\libil2cpp.so failed with output:
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_Init_m48167CEBE4AE03C7A604A777B3BAB6CDA2D865E5': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3161: undefined reference to _CWebViewPlugin_Init’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_Destroy_m0F1653661A9755A888AE09A4F0235FAC82B2853B': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3179: undefined reference to _CWebViewPlugin_Destroy’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_SetMargins_m1626783137750E80B37A52D8F1B968CBC76EEEF0': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3189: undefined reference to _CWebViewPlugin_SetMargins’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_SetVisibility_m32B2B1FCF5A17B11F45F1505C558F94C50DB6ED5': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3198: undefined reference to _CWebViewPlugin_SetVisibility’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_SetAlertDialogEnabled_m9CD356EDBF1D3FF4421E2814ADF56CED340F72A5': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3207: undefined reference to _CWebViewPlugin_SetAlertDialogEnabled’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_SetScrollBounceEnabled_m26116553EA1563FBA4E6AB6F3B176BCA51C6BB7F': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3216: undefined reference to _CWebViewPlugin_SetScrollBounceEnabled’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_SetURLPattern_m92A3784D7F10B9DA7A9B81C2840D712A2F6C7F69': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3237: undefined reference to _CWebViewPlugin_SetURLPattern’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_LoadURL_mDE10CCC63EB3FB12E8C96232027D0A6492C96EE4': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3263: undefined reference to _CWebViewPlugin_LoadURL’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_LoadHTML_m62C0D585F7E26FEAE8D4BE48C260FAE91FC14E1E': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3284: undefined reference to _CWebViewPlugin_LoadHTML’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_EvaluateJS_m79F34BB38D4949855DB60411623CF8A87F51B96A': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3305: undefined reference to _CWebViewPlugin_EvaluateJS’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_Progress_m83685F609C23EBD7548EF293C070E4868A21C96A': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3318: undefined reference to _CWebViewPlugin_Progress’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_CanGoBack_m3B898B908C0C3D0694BA4E8BFEEC1A763E578DDB': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3328: undefined reference to _CWebViewPlugin_CanGoBack’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_CanGoForward_mD08F3569A954D75CEDAE78DA946B7CFDA89675CB': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3338: undefined reference to _CWebViewPlugin_CanGoForward’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_GoBack_m850095DD617FFFA052E316484394A4E1510D7465': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3348: undefined reference to _CWebViewPlugin_GoBack’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_GoForward_m7C481014CC46ED3F364B6D4FDD6A01E265513618': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3357: undefined reference to _CWebViewPlugin_GoForward’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_Reload_m877FA0FA01544A9AC6D5111E013C95C0938A250D': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3366: undefined reference to _CWebViewPlugin_Reload’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_AddCustomHeader_mE55094DA422B4D99009B15A443C62DA06E832231': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3383: undefined reference to _CWebViewPlugin_AddCustomHeader’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_GetCustomHeaderValue_mE44243BF7AA96B751CF429918A7F6468EF605BD4': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3404: undefined reference to _CWebViewPlugin_GetCustomHeaderValue’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_RemoveCustomHeader_mE3E86AF59A81AE58AA28B263E5926FC186047951': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3430: undefined reference to _CWebViewPlugin_RemoveCustomHeader’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_ClearCustomHeader_m8757665FD05695C58CFF072835A199311B97CE6F': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3443: undefined reference to _CWebViewPlugin_ClearCustomHeader’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_ClearCookies_m4A7FBACAFD7EA2B319140872DF659A2CD337AEA4': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3452: undefined reference to _CWebViewPlugin_ClearCookies’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_SaveCookies_m2FA598D8F6AD8503D72513F58AF54694C5410F43': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3461: undefined reference to _CWebViewPlugin_SaveCookies’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_GetCookies_m1F1FA11E15A88B83B97DCA4C176A6E13D2552AE8': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3474: undefined reference to _CWebViewPlugin_GetCookies’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_SetBasicAuthInfo_mF0EF69C4F23A5EED4334E61035EDDB5D02CBA8A4': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3504: undefined reference to _CWebViewPlugin_SetBasicAuthInfo’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_ClearCache_m7B969E595D8F7AFA06723283FFD8282C2EF1721C': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3521: undefined reference to _CWebViewPlugin_ClearCache’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_SetMargins_m1626783137750E80B37A52D8F1B968CBC76EEEF0': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3189: undefined reference to _CWebViewPlugin_SetMargins’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_SetVisibility_m32B2B1FCF5A17B11F45F1505C558F94C50DB6ED5': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3198: undefined reference to _CWebViewPlugin_SetVisibility’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_SetAlertDialogEnabled_m9CD356EDBF1D3FF4421E2814ADF56CED340F72A5': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3207: undefined reference to _CWebViewPlugin_SetAlertDialogEnabled’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_SetScrollBounceEnabled_m26116553EA1563FBA4E6AB6F3B176BCA51C6BB7F': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3216: undefined reference to _CWebViewPlugin_SetScrollBounceEnabled’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_LoadURL_mDE10CCC63EB3FB12E8C96232027D0A6492C96EE4': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3263: undefined reference to _CWebViewPlugin_LoadURL’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_EvaluateJS_m79F34BB38D4949855DB60411623CF8A87F51B96A': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3305: undefined reference to _CWebViewPlugin_EvaluateJS’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_Progress_m83685F609C23EBD7548EF293C070E4868A21C96A': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3318: undefined reference to _CWebViewPlugin_Progress’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_CanGoBack_m3B898B908C0C3D0694BA4E8BFEEC1A763E578DDB': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3328: undefined reference to _CWebViewPlugin_CanGoBack’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_CanGoForward_mD08F3569A954D75CEDAE78DA946B7CFDA89675CB': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3338: undefined reference to _CWebViewPlugin_CanGoForward’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_GoBack_m850095DD617FFFA052E316484394A4E1510D7465': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3348: undefined reference to _CWebViewPlugin_GoBack’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_GoForward_m7C481014CC46ED3F364B6D4FDD6A01E265513618': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3357: undefined reference to _CWebViewPlugin_GoForward’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_Reload_m877FA0FA01544A9AC6D5111E013C95C0938A250D': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3366: undefined reference to _CWebViewPlugin_Reload’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_RemoveCustomHeader_mE3E86AF59A81AE58AA28B263E5926FC186047951': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3430: undefined reference to _CWebViewPlugin_RemoveCustomHeader’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_ClearCustomHeader_m8757665FD05695C58CFF072835A199311B97CE6F': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3443: undefined reference to _CWebViewPlugin_ClearCustomHeader’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_ClearCache_m7B969E595D8F7AFA06723283FFD8282C2EF1721C': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3521: undefined reference to _CWebViewPlugin_ClearCache’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow_ClearCookies_m530416D3C800ACB241282DB1A3AC356B3EFD6BD5': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3452: undefined reference to _CWebViewPlugin_ClearCookies’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow_SaveCookies_m8404A25B5A85BAED20C6F1DE82AE1BE5961FD44B': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3461: undefined reference to _CWebViewPlugin_SaveCookies’
Library/Bee/artifacts/Android/d8kzr/3rav_WebView.o: In function IOSWebViewWindow__CWebViewPlugin_Destroy_m0F1653661A9755A888AE09A4F0235FAC82B2853B': C:/Users/Steve/Documents/Developer/Unity/Projects/VRPartyGame/VRPartyGame/Library/Bee/artifacts/Android/il2cppOutput/cpp/WebView.cpp:3179: undefined reference to _CWebViewPlugin_Destroy’
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
0x00007ff725e7815d (Unity) StackWalker::GetCurrentCallstack
0x00007ff725e7eeb9 (Unity) StackWalker::ShowCallstack
0x00007ff726dc7503 (Unity) GetStacktrace
0x00007ff72744b4bd (Unity) DebugStringToFile
0x00007ff72500d412 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000022d3dfc483a (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000022d3dfc46cb (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
0x0000022d3dfc388e (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000022e75717dda (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000022e75717833 (Mono JIT Code) UnityEditor.Modules.BeeBuildPostprocessor:smile:efaultResultProcessor (Bee.BeeDriver.NodeResult,bool,bool)
0x0000022e7571623b (Mono JIT Code) UnityEditor.Modules.BeeBuildPostprocessor:ReportBuildResults (Bee.BeeDriver.BeeDriverResult)
0x0000022b62ce5443 (Mono JIT Code) UnityEditor.Modules.BeeBuildPostprocessor:postProcess (UnityEditor.Modules.BuildPostProcessArgs)
0x0000022b62ce44fe (Mono JIT

Are you using some sort of webview plugin?

Also, I would suggest using the Android part of the forums

This part is really for coding, which this doesn’t appear to be a coding error.

Also, if you use code tags, I believe that will preserve your text so you don’t get those emotes in your text. :smile:

Thanks, I posted this here Android build: clang++: error: linker command failed with exit code 1

I don’t think I can delete this one.

To answer your question, no I’m not using webview personally. I’m not even sure where that Bee directory comes from.