diff --git a/ReactAndroid/src/main/jni/react/jni/OnLoad.cpp b/ReactAndroid/src/main/jni/react/jni/OnLoad.cpp index 4c0722307b47fd..9e46c57c6253a1 100644 --- a/ReactAndroid/src/main/jni/react/jni/OnLoad.cpp +++ b/ReactAndroid/src/main/jni/react/jni/OnLoad.cpp @@ -743,7 +743,7 @@ static void loadScriptFromAssets(JNIEnv* env, jobject obj, jobject assetManager, env->CallStaticVoidMethod(markerClass, gLogMarkerMethod, env->NewStringUTF("loadScriptFromAssets_read")); if (JniJSModulesUnbundle::isUnbundle(manager, assetNameStr)) { - loadApplicationUnbundle(bridge, manager, script, "file://" + assetNameStr); + loadApplicationUnbundle(bridge, manager, script, assetNameStr); } else { loadApplicationScript(bridge, script, "file://" + assetNameStr); }