I checked the path on the devices that I have with me this morning and I confirm that on my phone the right path to .so files is /data/app-lib/.... On an device with an older version of Android, it's /data/data...
Actually, /data/data/package/lib is linked to /data/app-lib/package-N folder.
However, following the method I used, I could not locate .so file anywhere in the file system.
@Informatix, do you know any such B4A library that includes and uses .so file internally?
To check, I unzipped generated apk file too.
Then, I copied .so file to lib/armeabi/ folder, rebuilt the apk file and signed it again -> That method worked and I found .so file at correct location.
I wonder what is the correct way to include .so file in B4A generated apk.