SoLoader

Native code loader for Android

APACHE-2.0 License

Stars
1.3K
Committers
93

Bot releases are hidden (Show)

SoLoader - v0.12.1

Published by simpleton about 1 month ago

SoLoader - v0.12.0

Published by simpleton about 1 month ago

SoLoader - v0.11.0 Latest Release

Published by simpleton 10 months ago

The system is more robust, we’ve pushed fixes for issues related to library unpacking, corruption and loading. The release introduces different recovery schemes, better categorization of SoLoader errors, better logging and better synchronization for unpacking and loading.

Full Changelog: https://github.com/facebook/SoLoader/compare/v0.10.5...v0.11.0

SoLoader - v0.10.5

Published by simpleton almost 2 years ago

Use system linker by default on Android N and above devices.

Full Changelog: https://github.com/facebook/SoLoader/compare/v0.10.4...v0.10.5

SoLoader - v0.10.4

Published by simpleton over 2 years ago

Feature

Support pre-computing the dependency

Fixes

Wrongly loaded directApkLdPath(#104)
SoLoader causes crashes on migration to an Android 12 device(#100 #88 )
Fix race condition in SoLoader#init(#99 )

Full Changelog: https://github.com/facebook/SoLoader/compare/v0.10.3...v0.10.4

SoLoader - v0.10.3

Published by simpleton almost 3 years ago

Fixes

Fix UnsatisfiedLinkError if OEM is using the library that the APP is using as well.

Full Changelog: https://github.com/facebook/SoLoader/compare/v0.10.2...v0.10.3

SoLoader - v0.10.2

Published by simpleton almost 3 years ago

Fixes

  • Fix Crash on android v12, unable to create application *java.io.SyncFailedException: sync failed (#80)
  • Fix Android app bundle crashes of soloader:Anyone can run my issues sample (#83)

Highlights

  • Support directly load the libraries from the APK, if they're uncompressed and page-aligned in APK.

Full Changelog: https://github.com/facebook/SoLoader/compare/v0.10.1...v0.10.2

SoLoader - v0.10.1

Published by passy over 3 years ago

This fixes an issue with the POM of the previous release.

SoLoader - v0.10.0

Published by passy over 3 years ago

Fixes

Highlights

SoLoader - v0.9.0

Published by passy over 4 years ago

Fixes

  • Fix LD_LIBRARY_PATH when app running in 64 bits (3311e1a)
  • Annotation library is now a JAR instead of an AAR (#61)
  • Fix crash on Android 4.1 (6dce279)
  • Various improvements for previously rather cryptic error messages
  • Implement Marshmallow getSupportedAbis to avoid reading /proc/self/exe on Android M+ (c796ed6d6237109c54a1122e3b4e76fadaef63d1)
  • Retry on load failure (this is a potentially breaking behaviour change) (f226061b357e0b1c4e6fc86192600a4114f7d8ee)

API changes

  • Expose isInitialized (21071b4923bab8b2a310ffb4e921c4c0fb6c345c)
SoLoader - v0.8.2

Published by passy over 4 years ago

Changes

SoLoader - v0.8.1

Published by oprisnik over 4 years ago

  • Include reason for SO load fail in message (4213ab1af2ef5a43e0b8d3805f4821766b946386)
  • Send a path string of the directories where all transitive deps of unwindstack_binary live (ea5102959a334e28316fd79c5cebaa8b39fd1d9f)
  • Retry native library load if tracing before SoLoader initialized (3f60655f0475762abac99f93dd78845d26b20110)
  • Make SOLoader SysUtils less noisy (3224384c15713f47952633fb009afc9186fae119)
  • Log supported ABIs when throwing e_machine mismatch exception (b6854af2d0c6b4deb50fbedc06a582cec3538054)
  • Filter out incompatible ABIs but do not reorder the list (20198bf2952ca7e182d7e5764e33e931f9533554)

Full changelog: https://github.com/facebook/SoLoader/compare/v0.8.0...v0.8.1

SoLoader - v0.8.0

Published by oprisnik about 5 years ago

  • Added new NativeLoader abstraction (nativeloader artifact). You can use NativeLoader.loadLibrary(...) instead of SoLoader.loadLibrary(...). This allows you to use any native library loader (e.g. the default system implementation) by implementing a custom NativeLoaderDelegate and calling NativeLoader.init(yourImplementation). Calling SoLoader.init(...) will automatically set a SoLoader delegate.
  • Added new annotation artifact so that the @DoNotOptimize annotation can be used separately.
  • Smarter .so extraction strategy (b2555b82643e26d8830a876a64e43a040b4e3280 - thanks @codyi96). This should fix the ".so is 64-bit instead of 32-bit" issue reported for some devices.
SoLoader - v0.6.1

Published by passy over 5 years ago

SoLoader - v0.6.0

Published by passy over 5 years ago

SoLoader - v0.5.1

Published by passy almost 6 years ago

SoLoader - Version 0.5.0

Published by passy over 6 years ago

This release adds compatibility with Android P.

SoLoader - v0.4.1

Published by passy over 6 years ago

Re-release excluding JSR classes as part of the bundle.

SoLoader - v0.4.0

Published by passy over 6 years ago

SoLoader - v0.3.0

Published by passy almost 7 years ago