Android | react-native - Error: Could not find the Realm binary.

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

      How frequently does the bug occur?

      Always

      Description

      I am always getting error " Error: Could not find the Realm binary.". Checked the troubleshooting steps and could see necessary binaries are already downloaded.

      `hermesEnabled = true
      `
      Following are the SDK versions used.

      realm": ^12.2.1
      @realm/react: ^0.6.1
      
      
      react-native: 0.71.14
      react: 18.2.0,
      Node: 18.17.0 
      Yarn: 1.22.19 
      npm: 9.6.7
      Watchman: 2023.09.18.00 
      

      Stacktrace & log output

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      Error: Could not find the Realm binary. Please consult our troubleshooting guide: https://www.mongodb.com/docs/realm-sdks/js/latest/#md:troubleshooting-missing-binary, js engine: hermes 
          at AppEnv (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.myapp.xxx.staging&modulesOnly=false&runModule=true:96545:122)
          at RCTView
          at View (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com..xxx.staging&modulesOnly=false&runModule=true:46852:43)
          at RCTView
          at View (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.myapp.xxx.staging&modulesOnly=false&runModule=true:46852:43)
          at AppContainer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.myapp.xxx.staging&modulesOnly=false&runModule=true:46717:36)
          at myapp(RootComponent) (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.myapp.xxx.staging&modulesOnly=false&runModule=true:84655:28)
       LOG  isHermesisHermesisHermesisHermesisHermes isHermes yyyyy ========   true
       ERROR  Error: Could not find the Realm binary. Please consult our troubleshooting guide: https://www.mongodb.com/docs/realm-sdks/js/latest/#md:troubleshooting-missing-binary, js engine: hermes 
          at AppEnv (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.myapp.xxx.staging&modulesOnly=false&runModule=true:96545:122)
          at RCTView
          at View (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.myapp.xxx.staging&modulesOnly=false&runModule=true:46852:43)
          at RCTView
          at View (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.myapp.xxx.staging&modulesOnly=false&runModule=true:46852:43)
          at AppContainer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.myapp.xxx.staging&modulesOnly=false&runModule=true:46717:36)
          at myapp(RootComponent) (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=com.myapp.xxx.staging&modulesOnly=false&runModule=true:84655:28)
       ERROR  TypeError: Cannot read property 'Action' of undefined
      
      This error is located at:
          in AppEnv
          in RCTView (created by View)
          in View (created by AppContainer)
          in RCTView (created by View)
          in View (created by AppContainer)
          in AppContainer
          in myapp(RootComponent), js engine: hermes
       ERROR  TypeError: Cannot read property 'Action' of undefined
      
      This error is located at:
          in AppEnv
          in RCTView (created by View)
          in View (created by AppContainer)
          in RCTView (created by View)
          in View (created by AppContainer)
          in AppContainer
          in myapp(RootComponent), js engine: hermes
      

      Can you reproduce the bug?

      Always

      Reproduction Steps

      No response

      Version

      12.2.1

      What services are you using?

      Local Database only

      Are you using encryption?

      No

      Platform OS and version(s)

      Android API lever 31+

      Build environment

      realm": ^12.2.1
      @realm/react: ^0.6.1
      
      
      react-native: 0.71.14
      react: 18.2.0,
      Node: 18.17.0 
      Yarn: 1.22.19 
      npm: 9.6.7
      Watchman: 2023.09.18.00 
      

      Cocoapods version

      No response

              Assignee:
              Unassigned
              Reporter:
              Unito Sync Bot
              Archiver:
              Marc Greenfield

                Created:
                Updated:
                Resolved:
                Archived: