diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/hermes/instrumentation/HermesSamplingProfiler.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/hermes/instrumentation/HermesSamplingProfiler.kt index 9fef00ed214..be0c8f1a1ea 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/hermes/instrumentation/HermesSamplingProfiler.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/hermes/instrumentation/HermesSamplingProfiler.kt @@ -8,8 +8,10 @@ package com.facebook.hermes.instrumentation import com.facebook.soloader.SoLoader +import com.facebook.soloader.annotation.SoLoaderLibrary /** Hermes sampling profiler static JSI API. */ +@SoLoaderLibrary("jsijniprofiler") public object HermesSamplingProfiler { init { SoLoader.loadLibrary("jsijniprofiler")