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.

Device Armabi path error

See original GitHub issue

In some android devices we are getting list of abis as

“armabi” only however the jni files we have belong to armabi-v7a folder. This is causing crash in load at in some files.

Is it possible to expose the LibraryLoader interface? so we can specify the abi folders that our app supports

Caused by com.getkeepsafe.relinker.MissingLibraryException: lib/armeabi/libjingle_peerconnection_so.so
       at com.getkeepsafe.relinker.ApkLibraryInstaller.installLibrary(ApkLibraryInstaller.java:85)
       at com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal(ReLinkerInstance.java:180)
       at com.getkeepsafe.relinker.ReLinkerInstance.loadLibrary(ReLinkerInstance.java:136)
       at com.getkeepsafe.relinker.ReLinkerInstance.loadLibrary(ReLinkerInstance.java:92)

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
benjamin-badercommented, Sep 12, 2018

My vote remains firmly -1 on exposing internal relinker interfaces.

We can address the issue either by adding an API to override ABI detection, or by adding additional smarts so that relinker tries to do the right thing. Option 1 is easy, but option 2 is hard… but good for users if it can be made to work.

0reactions
gunesscommented, May 27, 2020

Hello guys, just FYI; twilio is using this library and it is causing some problems on apps on production. Basically we are using bundles, it means Google manages splitting binaries and delivering them to devices.

Devices we seen so far:

  • Sony Xperia XZ
  • ZTE ZFive C LTE

Both have android 7

Here is logs:

com.getkeepsafe.relinker.ApkLibraryInstaller.installLibrary (ApkLibraryInstaller.java:128) com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal (ReLinkerInstance.java:180) com.getkeepsafe.relinker.ReLinkerInstance.loadLibrary (ReLinkerInstance.java:136) com.getkeepsafe.relinker.ReLinker.loadLibrary (ReLinker.java:70) com.getkeepsafe.relinker.ReLinker.loadLibrary (ReLinker.java:51) com.twilio.video.MediaFactory.instance (MediaFactory.java:44) com.twilio.video.LocalAudioTrack.create (LocalAudioTrack.java:99) com.twilio.video.LocalAudioTrack.create (LocalAudioTrack.java:43)

Read more comments on GitHub >

github_iconTop Results From Across the Web

than one file was found with OS independent path 'lib/armeabi ...
This event resulted in build failures for Android on several users as they ended up downloading the wrong React Native version (0.71.0-rc0 ...
Read more >
[Windows / Android Studio] long file path cause build errors
Another developer report this, this is a bad design to own so depth path for external header files, especially for JS & Lua...
Read more >
INSTALL_FAILED_NO_MATCHI...
Unable to strip library 'app/build/intermediates/merged_native_libs/debug/out/lib/armeabi-v7a/libtess.so' due to missing strip tool for ABI 'ARMEABI_V7A'.
Read more >
Android ABIs - NDK
Different Android devices use different CPUs, which in turn support different instruction sets. Each combination of CPU and instruction set ...
Read more >
SDK Manager - RAD Studio - Embarcadero DocWiki
Android SDKs contain the paths to the required software in your system. ... Multi-device applications for the iOS Device - 32 bit platform....
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