Install android-libaapt by entering the following commands in the terminal:
sudo apt update sudo apt install android-libaapt
Android Asset Packaging Tool - Shared library
The Android Asset Packaging Tool (aapt) takes your application resource files, such as the AndroidManifest.xml file and the XML files for your Activities, and compiles them. An R.java is also produced so you can reference your resources from your Java code. This tool allows you to view, create, and update Zip-compatible archives (zip, jar, apk). It can also compile resources into binary assets. . This package contains the shared library.