Skip to content

编译失败 Error while executing process E:\Soft\SDK\cmake\3.6.4111459\bin\cmake.exe with #64

@qq659648565

Description

@qq659648565

AILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:externalNativeBuildDebug'.

Build command failed.
Error while executing process E:\Soft\SDK\cmake\3.6.4111459\bin\cmake.exe with arguments {--build C:\Users\chinghua.liu\Desktop\dumpDex-master\app.externalNativeBuild\cmake\debug\arm64-v8a --target nativeDump}
[1/8] Building CXX object CMakeFiles/nativeDump.dir/src/main/cpp/native.cpp.o
[2/8] Building C object CMakeFiles/nativeDump.dir/src/main/cpp/dlopen.c.o
[3/8] Building C object CMakeFiles/nativeDump.dir/src/main/cpp/inlineHook.c.o
[4/8] Building C object CMakeFiles/nativeDump.dir/src/main/cpp/relocate.c.o
[5/8] Building CXX object CMakeFiles/nativeDump.dir/src/main/cpp/And64InlineHook.cpp.o
[6/8] Building CXX object CMakeFiles/nativeDump.dir/src/main/cpp/util/deviceutils.cpp.o
FAILED: E:\Soft\SDK\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/Soft/SDK/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/Soft/SDK/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot -DnativeDump_EXPORTS -I/usr/include/aarch64-linux-android -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -Wa,--noexecstack -Wformat -Werror=format-security -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/nativeDump.dir/src/main/cpp/dlopen.c.o -MF CMakeFiles\nativeDump.dir\src\main\cpp\dlopen.c.o.d -o CMakeFiles/nativeDump.dir/src/main/cpp/dlopen.c.o -c C:\Users\chinghua.liu\Desktop\dumpDex-master\app\src\main\cpp\dlopen.c
In file included from C:\Users\chinghua.liu\Desktop\dumpDex-master\app\src\main\cpp\dlopen.c:7:

In file included from C:\Users\chinghua.liu\Desktop\dumpDex-master\app\src\main\cpp/dlopen.h:9:

E:/Soft/SDK/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include\jni.h:1:1: error: unknown type name 'b'

b<U+0014>#eF<U+0000><U+0001><U+0000><U+0000><U+0000><U+0001>E-SafeNet<U+0000><U+0000><U+0000>LOCK<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>%]X<99>f&<8A><U+0006><U+001E>gWn<92>m<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+001C>I|<U+0012><89><8F>gcj~<89>?X<U+0011>n<U+001E>?<U+0011><98>/<93>?2=N<U+001D>R<U+000C>1N??<88><U+0001>l<81>

'n<94>?Xqk

^

E:/Soft/SDK/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include\jni.h:1:2: error: expected identifier or '('

b<U+0014>#eF<U+0000><U+0001><U+0000><U+0000><U+0000><U+0001>E-SafeNet<U+0000><U+0000><U+0000>LOCK<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>%]X<99>f&<8A><U+0006><U+001E>gWn<92>m<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+001C>I|<U+0012><89><8F>gcj~<89>?X<U+0011>n<U+001E>?<U+0011><98>/<93>?2=N<U+001D>R<U+000C>1N??<88><U+0001>l<81>

'n<94>?Xqk

^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions