android/log.h file not found

android/log.h file not found
0.0 0


now i add android file to project , but if i run project under ios environment , the error is android/log.h file not found ,

if you know the solution ,please help me , thank you


I also had the same issue. Check which headers you are including.


XCode has feature “recursive headers” - you can write something like /usr/include/** to your project include paths and it will also add any subfolders (/usr/include/SDL, /usr/include/OpenGL) to list of paths where compiler and IDE search for headers.

Maybe you’ve added some path using recursive headers feature, so compiler looks for headers in some android subfolder.