question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

installed apks lack of so file

See original GitHub issue

Describe the bug I create a aab file with android studio, then run the command: java -jar bundletool .jar build-apks --bundle=main.aab --out=main.apks and java -jar bundletool.jar install-apks --apks==main.apks While I run the app, and find that lack of so file. However,while I run the command: adb shell dumpsys package packageName | grep split it return splits=[base, condig.arm64_v8a, config.xxxhpdi, config.zh] So, what’s the problem

Bundletool version(s) affected Version: [0.10.2]

Stacktrace

2019-08-12 17:52:32.252 15634-15634/? A/libc: CANNOT LINK EXECUTABLE "/data/user/0/com.free.unblock.proxy.hotspot.vpn/cache/c_pie_openvpn.arm64-v8a": library "libopenvpn.so" not found
2019-08-12 17:52:32.253 15634-15634/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 15634 (c_pie_openvpn.a)
2019-08-12 17:52:32.253 919-1999/? D/EnterpriseController: netId is 0
2019-08-12 17:52:32.253 919-1999/? D/Netd: getNetworkForDns: using netid 502 for uid 10024
2019-08-12 17:52:32.253 919-1999/? D/DnsProxyListener: DNSDBG::dns addrinfo af 0
2019-08-12 17:52:32.256 860-860/? E/audit: type=1400 audit(1565603552.238:1844): avc:  denied  { read } for  pid=599 comm="debuggerd64" name="c_pie_openvpn.arm64-v8a" dev="dm-1" ino=133458 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=file permissive=0 SEPF_SECMOBILE_7.0_0004
2019-08-12 17:52:32.256 860-860/? E/audit: type=1300 audit(1565603552.238:1844): arch=c00000b7 syscall=56 success=no exit=-13 a0=ffffff9c a1=7fb542a5e0 a2=80000 a3=0 items=0 ppid=1 pid=599 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="debuggerd64" exe="/system/bin/debuggerd64" subj=u:r:debuggerd:s0 key=(null)
2019-08-12 17:52:32.257 860-860/? E/audit: type=1327 audit(1565603552.238:1844): proctitle="/system/bin/debuggerd64"
2019-08-12 17:52:32.257 860-860/? E/audit: type=1320 audit(1565603552.238:1844): 

To Reproduce

  1. build the aab file
  2. upload to googleplay, download and install or use bundletool tool to install
  3. run the app and find the error

Expected behavior app run with no error.

Known workaround build the apk directly and install or create the apks and install standalone-arm64_v8a_xxxhdpi.apk

Environment: OS: [Sansumgs s7 with Android 7.0, Honor 20 with Android 9.0, and more]

Additional context Add any other context about the problem here.

I hope to solve this problem as soon as possible. Thanks.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
haianhsingcommented, Aug 15, 2019

@plecesne Thank you for your patient answer. I think setting the flag “android.bundle.enableUncompressedNativeLibs=false” in the Gradle options is the best solution right now and I decided to do that. Should I close the issue or wait for the better solution?

0reactions
haianhsingcommented, Aug 16, 2019

@plecesne It is an old version of an open source project: https://github.com/schwabe/ics-openvpn. Maybe new version has been resolved the problem. However, I’m not going to use the new version for the time being for some other reasons. Finally, thank you very much.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Slack is your digital HQ | Slack
Slack is a new way to communicate with your team. It's faster, better organized, and more secure than email.
Read more >
How to Run APK Files on a Windows 10 Device - Alphr
1. Although there are many APK emulators available, BlueStacks App Player is the most popular one. Officially, BlueStacks is a way to get...
Read more >
Windows 10 Anniversary Update: Loss of music and video
When installing the Windows 10 Anniversary Update some people will get this message: Loss of music and video content with update.
Read more >
.so files not getting copied while apk installation
Extract the .apk file. you will find the .so file under lib directory. Create a directory called "lib" under your you app. Copy...
Read more >
Can't install APK files on Android? Here's what to do
Why APK won't install on Android? · 1. Use an app for bundles installation · 2. Don't update, do a clean install ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found