Install android-libselinux-dev by entering the following commands in the terminal:
sudo apt update sudo apt install android-libselinux-dev
Security-Enhanced Linux for Android - Development files
This library provides an API for SELinux applications to get and set process and file security contexts and to obtain security policy decisions. . This library is an AOSP fork of libselinux, adding features specifically for Android and is intended for Android libraries only. . This package provides the development files.