Some Android apps require libraries to be linked against by specifying
<uses-library> in their Manifest (in the
<uses-library android:name="com.example.customlib" android:required="true" />
It is possible to list the installed libraries on the device by running the following command:
$ adb shell cmd package list libraries 1 ⨯ library:android.ext.services library:android.ext.shared library:android.hidl.base-V1.0-java library:android.hidl.manager-V1.0-java library:com.android.future.usb.accessory library:com.android.location.provider library:com.android.media.remotedisplay library:com.google.android.gms library:com.google.android.trichromelibrary library:javax.obex library:org.apache.http.legacy library:com.example.customlib ...
Where are these libraries installed? Is there a command similar to
adb shell pm path com.exaple.packagename that would return the path of
com.example.customlib? When I tried
pm path, it does not return anything.