尝试构建apk时出现CMake Error 2


0

当我尝试在Ubuntu上使用CMake构建APK时,它表示它未能签名并给我一个错误2.我试图构建DualBootPatcher,如果有必要的话。

[  9%] File signing target 'sign_prebuilt_exfat_arm64-v8a'
-- Signing: /home/simon/DualBootPatcher/build/thirdparty/prebuilts/exfat/1.3.0-1/arm64-v8a/bin/mount.exfat
/home/simon/DualBootPatcher/build/thirdparty/prebuilts/exfat/1.3.0-1/arm64-v8a/bin/mount.exfat: Failed to open input file
139786185960320:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:74:fopen('/home/simon/DualBootPatcher/build/thirdparty/prebuilts/exfat/1.3.0-1/arm64-v8a/bin/mount.exfat','rb')
139786185960320:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:81:
CMake Error at /home/simon/DualBootPatcher/build/cmake/SignFiles.cmake:22 (message):
  Failed to sign:
  /home/simon/DualBootPatcher/build/thirdparty/prebuilts/exfat/1.3.0-1/arm64-v8a/bin/mount.exfat


thirdparty/CMakeFiles/sign_prebuilt_exfat_arm64-v8a.dir/build.make:57: recipe for target 'thirdparty/CMakeFiles/sign_prebuilt_exfat_arm64-v8a' failed
make[2]: *** [thirdparty/CMakeFiles/sign_prebuilt_exfat_arm64-v8a] Error 1
CMakeFiles/Makefile2:91: recipe for target 'thirdparty/CMakeFiles/sign_prebuilt_exfat_arm64-v8a.dir/all' failed
make[1]: *** [thirdparty/CMakeFiles/sign_prebuilt_exfat_arm64-v8a.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

谁能帮我这个?我不知道什么是错的


它会告诉你究竟什么是错的/home/simon/DualBootPatcher/build/thirdparty/prebuilts/exfat/1.3.0-1/arm64-v8a/bin/mount.exfat: Failed to open input file
DavidPostill

1
我是新手,我还是不知道如何解决这个问题。在这个目录中没有文件,它只是一个空文件夹
西蒙
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.