Install libandroid-layoutlib-api-java by entering the following commands in the terminal:
sudo apt update sudo apt install libandroid-layoutlib-api-java
Description:
Library to use the rendering library for Android layouts - API
This library describes the API used to load and interact with layoutlib. Any tool loading layoutlib should depends on it. . This package provides "layoutlib-api.jar" in the Android SDK.
Homepage: https://android.googlesource.com/platform/tools/base/
Version: 2.2.2-3
Section: universe/java