diff --git a/ReactAndroid/src/main/jni/react/jni/ReadableNativeArray.cpp b/ReactAndroid/src/main/jni/react/jni/ReadableNativeArray.cpp index 008738f6af2a67..6d7a33c1062b63 100644 --- a/ReactAndroid/src/main/jni/react/jni/ReadableNativeArray.cpp +++ b/ReactAndroid/src/main/jni/react/jni/ReadableNativeArray.cpp @@ -113,7 +113,7 @@ local_ref> ReadableNativeArray::importTypeArray() { jint size = array_.size(); auto jarray = JArrayClass::newArray(size); for (jint i = 0; i < size; i++) { - jarray->setElement(i, ReadableNativeArray::getType(i).release()); + jarray->setElement(i, ReadableNativeArray::getType(i).get()); } return jarray; }