Build error 'Use of bitwise '&' '|' with boolean operands

I’ve fixed this error by matching correct version of toolchains such as NDK, Java, Android SDK. Originally it happened when I was building an application project after I rolled back to 5.03 from 5.1 which I built Unreal Engine successfully from source. And I found there were different tool chains between the versions.
It’s gone in UE5.03 with JAVA jdk_1.8.0_311 instead of jdk-18.0.2.1. NDK is r21b with UE5.0.3

1 Like