Fix MissingSoLoaderLibrary: Add @SoLoaderLibrary annotation#55506
Closed
mdvacca wants to merge 2 commits intofacebook:mainfrom
Closed
Fix MissingSoLoaderLibrary: Add @SoLoaderLibrary annotation#55506mdvacca wants to merge 2 commits intofacebook:mainfrom
mdvacca wants to merge 2 commits intofacebook:mainfrom
Conversation
ffc5566 to
50e5c25
Compare
06ffea1 to
a3ba12b
Compare
a3ba12b to
ad5907c
Compare
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 12, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 12, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 12, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
ad5907c to
8d87723
Compare
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 12, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 26, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
8d87723 to
31a4555
Compare
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 26, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 26, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 26, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 26, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 26, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 26, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 26, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 26, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 26, 2026
…#55506) Summary: Pull Request resolved: facebook#55506 Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
b4dbf82 to
31478d2
Compare
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Mar 2, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Mar 2, 2026
…#55506) Summary: Pull Request resolved: facebook#55506 Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
31478d2 to
b764f8b
Compare
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Mar 2, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
b764f8b to
6a37fa5
Compare
Summary: Add a stub `SoLoaderLibrary` annotation at `com.facebook.soloader.annotation.SoLoaderLibrary` for open-source Gradle builds. The real annotation lives in `fbandroid/java/com/facebook/soloader/annotation/` and is used by the internal Buck build for compile-time validation of native library merging. Since it is not published to Maven Central, the Gradle build fails with "Unresolved reference" when any ReactAndroid file uses it. The stub follows the existing pattern used by `DebugOverlayTag` and `ProcessorBase`: the file lives in the shared source tree and gets compiled by Gradle, while the BUCK file has `autoglob = False` with no `srcs`, making it an empty target so Buck continues using the real internal annotation. Differential Revision: D94950035
…#55506) Summary: Pull Request resolved: facebook#55506 Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
6a37fa5 to
8119382
Compare
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Mar 2, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Mar 2, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Mar 2, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Mar 2, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Mar 2, 2026
…#55506) Summary: Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030
|
This pull request has been merged in 6edbf2e. |
zoontek
pushed a commit
to zoontek/react-native
that referenced
this pull request
Mar 9, 2026
…#55506) Summary: Pull Request resolved: facebook#55506 Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps track which native libraries are loaded by this class, improving build and startup optimization analysis. Also added the required dependency on soloader annotation library in the BUCK file. changelog: [internal] internal Reviewed By: alanleedev Differential Revision: D92022030 fbshipit-source-id: 78d15632b413fe2fac08c24ae1e3dfd5dc6107e0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.
Also added the required dependency on soloader annotation library in the BUCK file.
Reviewed By: alanleedev
Differential Revision: D92022030