gree / gree/unity-webview

Can't build for Android 64bit

Open
#823 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C++
Stars
2.7k
Forks
734
Avg merge
11h 39m
Merged PRs (30d)
1

Description

im having issues building app with il2cpp
here are the errors:
Files\Unity\Hub\Editor\2020.3.2f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++ @"C:\Users\Srihari\AppData\Local\Temp\tmpBAD.tmp" -o "H:\Projects\Atlas\Library\il2cpp_android_armeabi-v7a\il2cpp_cache\linkresult_080BB76ACEB28F9E01C6D2F0292023D0\libil2cpp.so" -shared -Wl,-soname,libil2cpp.so -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id -stdlib=libc++ -static-libstdc++ -target armv7-linux-androideabi19 -Wl,--wrap,sigaction "C:\Program Files\Unity\Hub\Editor\2020.3.2f1\Editor\Data\PlaybackEngines\AndroidPlayer\Variations\il2cpp\Release\StaticLibs\armeabi-v7a\baselib.a" -llog -rdynamic -fuse-ld=gold.exe

H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4427: error: undefined reference to '_CWebViewPlugin_Init'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4445: error: undefined reference to '_CWebViewPlugin_Destroy'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4455: error: undefined reference to '_CWebViewPlugin_SetMargins'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4464: error: undefined reference to '_CWebViewPlugin_SetVisibility'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4473: error: undefined reference to '_CWebViewPlugin_SetAlertDialogEnabled'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4482: error: undefined reference to '_CWebViewPlugin_SetScrollBounceEnabled'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4503: error: undefined reference to '_CWebViewPlugin_SetURLPattern'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4529: error: undefined reference to '_CWebViewPlugin_LoadURL'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4550: error: undefined reference to '_CWebViewPlugin_LoadHTML'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4571: error: undefined reference to '_CWebViewPlugin_EvaluateJS'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4584: error: undefined reference to '_CWebViewPlugin_Progress'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4594: error: undefined reference to '_CWebViewPlugin_CanGoBack'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4604: error: undefined reference to '_CWebViewPlugin_CanGoForward'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4614: error: undefined reference to '_CWebViewPlugin_GoBack'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4623: error: undefined reference to '_CWebViewPlugin_GoForward'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4632: error: undefined reference to '_CWebViewPlugin_Reload'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4649: error: undefined reference to '_CWebViewPlugin_AddCustomHeader'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4670: error: undefined reference to '_CWebViewPlugin_GetCustomHeaderValue'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4696: error: undefined reference to '_CWebViewPlugin_RemoveCustomHeader'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4709: error: undefined reference to '_CWebViewPlugin_ClearCustomHeader'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4718: error: undefined reference to '_CWebViewPlugin_ClearCookies'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4727: error: undefined reference to '_CWebViewPlugin_SaveCookies'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4740: error: undefined reference to '_CWebViewPlugin_GetCookies'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4770: error: undefined reference to '_CWebViewPlugin_SetBasicAuthInfo'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4787: error: undefined reference to '_CWebViewPlugin_ClearCache'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4455: error: undefined reference to '_CWebViewPlugin_SetMargins'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4464: error: undefined reference to '_CWebViewPlugin_SetVisibility'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4473: error: undefined reference to '_CWebViewPlugin_SetAlertDialogEnabled'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4482: error: undefined reference to '_CWebViewPlugin_SetScrollBounceEnabled'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4529: error: undefined reference to '_CWebViewPlugin_LoadURL'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4571: error: undefined reference to '_CWebViewPlugin_EvaluateJS'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4584: error: undefined reference to '_CWebViewPlugin_Progress'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4594: error: undefined reference to '_CWebViewPlugin_CanGoBack'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4604: error: undefined reference to '_CWebViewPlugin_CanGoForward'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4614: error: undefined reference to '_CWebViewPlugin_GoBack'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4623: error: undefined reference to '_CWebViewPlugin_GoForward'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4632: error: undefined reference to '_CWebViewPlugin_Reload'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4696: error: undefined reference to '_CWebViewPlugin_RemoveCustomHeader'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4709: error: undefined reference to '_CWebViewPlugin_ClearCustomHeader'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4787: error: undefined reference to '_CWebViewPlugin_ClearCache'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4718: error: undefined reference to '_CWebViewPlugin_ClearCookies'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4727: error: undefined reference to '_CWebViewPlugin_SaveCookies'
H:\Projects\Atlas\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput/WebView.cpp:4445: error: undefined reference to '_CWebViewPlugin_Destroy'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Unity 2020.3.2f1 Android IL2CPP linker command and the generated Library/Il2cppBuildCache/Android/armeabi-v7a/il2cppOutput/WebView.cpp references. Trace the CWebViewPlugin* symbols and reproduce the armeabi-v7a build; done means the Android 64-bit build completes without these undefined-reference errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, unity
Domain
game-dev, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.