-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I followed the installation instructions and my current nitro-modules version is 0.33.5, but got the following error:
`C:\Users\node_modules@corasan\image-compressor\android\src\main\java\com\margelo\nitro\ImageCompressor\ImageCompressorPackage.java:12: error: cannot find symbol
import com.margelo.nitro.core.HybridObjectRegistry;
^
symbol: class HybridObjectRegistry
location: package com.margelo.nitro.core
Note: C:\Users\node_modules@corasan\image-compressor\android\src\main\java\com\margelo\nitro\ImageCompressor\ImageCompressorPackage.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':corasan_image-compressor:compileDebugJavaWithJavac'.
Compilation failed; see the compiler output below.
Note: C:\Users\node_modules@corasan\image-compressor\android\src\main\java\com\margelo\nitro\ImageCompressor\ImageCompressorPackage.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
C:\Users\node_modules@corasan\image-compressor\android\src\main\java\com\margelo\nitro\ImageCompressor\ImageCompressorPackage.java:12: error: cannot find symbol
import com.margelo.nitro.core.HybridObjectRegistry;
^
symbol: class HybridObjectRegistry
location: package com.margelo.nitro.core
1 error
- Try:
Check your code and dependencies to fix the compilation error(s)
Run with --scan to get full insights.
BUILD FAILED in 8m 1s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installHmsDebug -PreactNativeDevServerPort=8081 -PreactNativeArchitectures=arm64-v8a
Metro is generating source maps that won't be useful after obfuscation.
The NODE_ENV environment variable is required but was not specified. Ensure the project is bundled with Expo CLI or NODE_ENV is set. Using only .env.local and .env`