shared library couldn't be load correctly
linbercsu opened this issue · 1 comments
Describe the bug
I have an app include shared library(.so), when I install app by bundletool first time, app works incorrectly, System.loadLibrary() failed, and then I just install it again without uninstall it, everything works fine.
Bundletool version(s) affected
Version: [1.13.1]
Stacktrace
Non
To Reproduce
1.
./gradlew app:bundleDebug
java -jar ./bundletool-all-1.13.1.jar build-apks
--bundle=/xxx/app-debug.aab
--output=./bundle.apks
--ks=xxx
--ks-pass=pass:xxx
--ks-key-alias=xxx
--key-pass=pass:xxx
--connected-device
java -jar ./bundletool-all-1.13.1.jar install-apks --apks=/xxx/bundle.apks
start app
-
app crash.
java -jar ./bundletool-all-1.13.1.jar install-apks --apks=/xxx/bundle.apks
start app
everything works fine.
Environment:
OS: [Android 11]
The issue doesn't look like something related to bundletool because under the hood bundletool uses adb to install an app on a device. But if you have an example AAB I might take a look.