I have a C++ module which builds to an aar file that contains a .so of the module. In order to use this in another project I need not only the .so but it's associated header files. I thought perhaps I could simply include the C++ header files in the .aar file but when importing an aar it doesn't appear that Android Studio unzips the .aar to make the header files visible.
How would I configure Android Studio/CMake to include header files in the .aar?
If I have a .aar file with header files, how can I make reference to the C++ header files when importing into Android Studio or do I need to unzip the .aar file instead of importing it into Android Studio?