adoptable-storage won't work for Android 7.0-8.1 with FBE encryption, therefore nothing will happen to apps.
portable storage allows you to remove MicroSD Card off the device and read data from PC card reader without data loss. If however for some reason windows is not able to detect file system, do not format MicroSD Card if windows ask for it. Instead read ...
Most of the libraries you search can be found in /system/framework
Example output form an Android 10 device:
3621 2009-01-01 01:00 CustomPropInterface.jar
193854 2009-01-01 01:00 OPCommonTelephony.jar
21325 2009-01-01 01:00 am.jar
13122 2009-01-01 01:00 android.hidl.base-V1.0-java.jar
31354 2009-01-01 01:00 android.hidl.manager-V1.0-java.jar