Kudo/react-native-v8

Gradle sync failed: Please disable Hermes because Hermes will transform the JavaScript bundle as bytecode bundle.

euclidesdry opened this issue · 1 comments

I'm Getting an error that Hermes is enabled, but I verified that Hermes isn't enabled on the project:

My current Hermes configuration on android/app/build/gradle is:

/**
 * Whether to enable the Hermes VM.
 *
 * This should be set on project.ext.react and that value will be read here. If it is not set
 * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode
 * and the benefits of using Hermes will therefore be sharply reduced.
 */
def enableHermes = project.ext.react.get('enableHermes', false)

My Sistem info:

System:
    OS: Windows 10 10.0.22000
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    Memory: 4.98 GB / 31.90 GB
  Binaries:
    Node: 16.17.0 - ~\AppData\Local\Temp\yarn--1666256124827-0.2926777437685064\node.CMD
    Yarn: 1.22.19 - ~\AppData\Local\Temp\yarn--1666256124827-0.2926777437685064\yarn.CMD
    npm: 8.15.0 - C:\Program Files\nodejs\npm.CMD
    Watchman: 20220821.200817.0 - C:\ProgramData\chocolatey\bin\watchman.EXE
  SDKs:
    Android SDK:
      API Levels: 31, 32, 33
      Build Tools: 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.1.0, 33.0.0
      System Images: android-33 | Google APIs Intel x86 Atom_64, android-33 | Google Play Intel x86 Atom_64
      Android NDK: Not Found
    Windows SDK: Not Found
  IDEs:
    Android Studio: AI-213.7172.25.2113.9123335
    Visual Studio: Not Found
  Languages:
    Java: 11.0.15 - C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17 => 17.0.2
    react-native: 0.68.3 => 0.68.3
    react-native-windows: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

I've noticed that up lines have another Hermes configuration, 80's lines:

project.ext.react = [
    enableHermes: true,  // clean and rebuild if changing
]

I changed it to false.