chenxiaolong / DualBootPatcher

Patches Android ROMs for dual boot support
https://dbp.noobdev.io
Other
527 stars 466 forks source link

Cmake error: Logical block opening in Android.toolchain.cmake is not closed #1345

Closed Simon1511 closed 5 years ago

Simon1511 commented 5 years ago

When trying to build the APK using docker, it gives me this error:

CMake Error in /builder/DualBootPatcher/cmake/android.toolchain.cmake:
  A logical block opening on the line

    /builder/DualBootPatcher/cmake/android.toolchain.cmake:833 (if)

  is not closed.

I put the toolchain fix at the end of the file, without it Im getting an error that says Clang++ is broken. Im on Ubuntu 18.04 and using latest docker version, Cmake 3.8 and tested with both NDK r15c and r18.

Can anyone help me fix this?