You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the JSI installation in the installation docs for the Android section (https://watermelondb.dev/docs/Installation#android-react-native), the steps are missing for the Kotlin projects. It says to edit MainApplication.java but now newer projects have MainApplication.kt.
Getting this error when building
BUILD FAILED in 17s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
D:\Mayank\Projects\node_modules@nozbe\watermelondb\native\android-jsi\src\main\java\com\nozbe\watermelondb\jsi\WatermelonDBJSIPackage.java:3: error: cannot find symbol
import com.facebook.react.bridge.JSIModulePackage; ^ symbol: class JSIModulePackage location: package com.facebook.react.bridge D:\Mayank\Projects\node_modules@nozbe\watermelondb\native\android-jsi\src\main\java\com\nozbe\watermelondb\jsi\WatermelonDBJSIPackage.java:4: error: cannot find symbol
import com.facebook.react.bridge.JSIModuleSpec; ^ symbol: class JSIModuleSpec location: package com.facebook.react.bridge D:\Mayank\Projects\node_modules@nozbe\watermelondb\native\android-jsi\src\main\java\com\nozbe\watermelondb\jsi\WatermelonDBJSIPackage.java:11: error: cannot find symbol
public class WatermelonDBJSIPackage implements JSIModulePackage { ^ symbol: class JSIModulePackage D:\Mayank\Projects\node_modules@nozbe\watermelondb\native\android-jsi\src\main\java\com\nozbe\watermelondb\jsi\WatermelonDBJSIPackage.java:13: error: cannot find symbol public List getJSIModules(ReactApplicationContext reactApplicationContext, JavaScriptContextHolder jsContextHolder) { ^ symbol: class JSIModuleSpec location: class WatermelonDBJSIPackage D:\Mayank\Projects\node_modules@nozbe\watermelondb\native\android-jsi\src\main\java\com\nozbe\watermelondb\jsi\WatermelonDBJSIPackage.java:12: error: method does not override or implement a method from a supertype @OverRide ^ 5 errors FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':watermelondb-jsi:compileDebugJavaWithJavac'. > Compilation failed; see the compiler error output for details. * Try: > Run with --info option to get more log output. > Run with --scan to get full insights. BUILD FAILED in 17s.
The text was updated successfully, but these errors were encountered:
For the JSI installation in the installation docs for the Android section (https://watermelondb.dev/docs/Installation#android-react-native), the steps are missing for the Kotlin projects. It says to edit
MainApplication.java
but now newer projects haveMainApplication.kt
.Getting this error when building
BUILD FAILED in 17s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
D:\Mayank\Projects\node_modules@nozbe\watermelondb\native\android-jsi\src\main\java\com\nozbe\watermelondb\jsi\WatermelonDBJSIPackage.java:3: error: cannot find symbol
import com.facebook.react.bridge.JSIModulePackage; ^ symbol: class JSIModulePackage location: package com.facebook.react.bridge D:\Mayank\Projects\node_modules@nozbe\watermelondb\native\android-jsi\src\main\java\com\nozbe\watermelondb\jsi\WatermelonDBJSIPackage.java:4: error: cannot find symbol
import com.facebook.react.bridge.JSIModuleSpec; ^ symbol: class JSIModuleSpec location: package com.facebook.react.bridge D:\Mayank\Projects\node_modules@nozbe\watermelondb\native\android-jsi\src\main\java\com\nozbe\watermelondb\jsi\WatermelonDBJSIPackage.java:11: error: cannot find symbol
public class WatermelonDBJSIPackage implements JSIModulePackage { ^ symbol: class JSIModulePackage D:\Mayank\Projects\node_modules@nozbe\watermelondb\native\android-jsi\src\main\java\com\nozbe\watermelondb\jsi\WatermelonDBJSIPackage.java:13: error: cannot find symbol public List getJSIModules(ReactApplicationContext reactApplicationContext, JavaScriptContextHolder jsContextHolder) { ^ symbol: class JSIModuleSpec location: class WatermelonDBJSIPackage D:\Mayank\Projects\node_modules@nozbe\watermelondb\native\android-jsi\src\main\java\com\nozbe\watermelondb\jsi\WatermelonDBJSIPackage.java:12: error: method does not override or implement a method from a supertype @OverRide ^ 5 errors FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':watermelondb-jsi:compileDebugJavaWithJavac'. > Compilation failed; see the compiler error output for details. * Try: > Run with --info option to get more log output. > Run with --scan to get full insights. BUILD FAILED in 17s.
The text was updated successfully, but these errors were encountered: