Install android-liblog-dev by entering the following commands in the terminal:
sudo apt update sudo apt install android-liblog-dev
Android NDK logger interfaces - Development files
liblog represents an interface to the volatile Android Logging system for NDK (Native) applications and libraries. Interfaces for either writing or reading logs. The log buffers are divided up in Main, System, Radio and Events sub-logs. . This package contains the development files.