google / google/bundletool

shared library couldn't be load correctly

Open
#308 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
4k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

**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

2.
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

3.
java -jar ./bundletool-all-1.13.1.jar install-apks --apks=/xxx/bundle.apks

4.
start app

5. app crash.

6.
java -jar ./bundletool-all-1.13.1.jar install-apks --apks=/xxx/bundle.apks

7.
start app

8.
everything works fine.

**Environment:**
OS: [Android 11]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.