I want to find out the directory where the native libraries of an app have been extracted to. The path structure will depend on the Android version. On Android 14 it will be something links this:
/data/app/~~7BZ-8zEDb3gzGGndbbDhg9==/com.some.app-GQePpzWb2GhdgZ8qftAnrH==/lib
On a rooted phone, this would be an easy task.
It's also possible via ADB and USB debugging:
adb shell dumpsys package com.some.app | grep legacyNativeLibraryDir
However, I want to know if there's a way to find out without rooting or activating USB debugging.