0

升级到 Bumblebee 后,Gradle 同步错误:

13:31   C/C++ Configuration Problem
            MMKV.mmkv | SharedCppDebug | x86
            Compiler exited with error code 1: F:\Android\sdk\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe -xc++ --target=i686-none-linux-android16 --gcc-toolchain=F:/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -Dmmkv_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -DMMKV_STL_SHARED=1 -O0 -fno-limit-debug-info -fPIC -std=c++17 F:\\Android\\MMKV\\Android\\MMKV\\mmkv\\src\\main\\cpp\\native-bridge.cpp -fpch-preprocess -v -dD -E
            Android (7019983 based on r365631c3) clang version 9.0.9 (https://android.googlesource.com/toolchain/llvm-project a2a1e703c0edb03ba29944e529ccbf457742737b) (based on LLVM 9.0.9svn)
            Target: i686-none-linux-android16
            Thread model: posix
            InstalledDir: F:\Android\sdk\ndk\21.4.70755... (show balloon)

项目代码可以从https://github.com/Tencent/MMKV 获取]

更新 Bumblebee 补丁 1 后,此问题已关闭

4

0 回答 0