:app:externalNativeBuildDebug FAILED
thaitam2406 opened this issue · 0 comments
I can not make build successfully. Failed in step app:externalNativeBuildDebug.
FAILED: /Users/MacBookAM/android-sdks/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --sysroot=/Users/MacBookAM/android-sdks/ndk-bundle/platforms/android-21/arch-arm -Dnative_lib_EXPORTS -g -fPIC -MD -MT CMakeFiles/native-lib.dir/src/main/cpp/syscall.S.o -MF CMakeFiles/native-lib.dir/src/main/cpp/syscall.S.o.d -o CMakeFiles/native-lib.dir/src/main/cpp/syscall.S.o -c /Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:8:5: error: unknown use of instruction mnemonic without a size suffix
mov ip, r7
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:9:21: error: invalid register name
.cfi_register r7, ip
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:10:13: error: unknown token in expression
ldr r7, =(0 +322)
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:11:5: error: invalid instruction mnemonic 'swi'
swi #0
^~~
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:12:5: error: unknown use of instruction mnemonic without a size suffix
mov r7, ip
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:13:20: error: invalid register name
.cfi_restore r7
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:14:13: error: unknown token in expression
cmn r0, #(4095 + 1)
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:15:5: error: invalid instruction mnemonic 'bxls'
bxls lr
^~~~
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:16:5: error: unknown use of instruction mnemonic without a size suffix
neg r0, r0
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:17:5: error: invalid instruction mnemonic 'b'
b __set_errno_internal
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:26:5: error: unknown use of instruction mnemonic without a size suffix
mov ip, r7
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:27:21: error: invalid register name
.cfi_register r7, ip
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:28:13: error: unknown token in expression
ldr r7, =(0 + 3)
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:29:5: error: invalid instruction mnemonic 'swi'
swi #0
^~~
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:30:5: error: unknown use of instruction mnemonic without a size suffix
mov r7, ip
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:31:20: error: invalid register name
.cfi_restore r7
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:32:13: error: unknown token in expression
cmn r0, #(4095 + 1)
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:33:5: error: invalid instruction mnemonic 'bxls'
bxls lr
^~~~
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:34:5: error: unknown use of instruction mnemonic without a size suffix
neg r0, r0
^
/Users/Downloads/frida-detection-demo-master/AntiFrida/app/src/main/cpp/syscall.S:35:5: error: invalid instruction mnemonic 'b'
b __set_errno_internal
^
ninja: build stopped: subcommand failed.