-
Notifications
You must be signed in to change notification settings - Fork 752
Android build fails error: cannot find symbol new HighlighterViewPackage() #3950
Description
Android build fails when running yarn android in react native cli latest version 0 84 1 new arch enabled
- What went wrong:
Execution failed for task ':app:compileDevDebugJavaWithJavac'.
Compilation failed; see the compiler output below.
android/app/build/generated/autolinking/src/main/java/com/facebook/react/PackageList.java:154: error: cannot find symbol
new HighlighterViewPackage(),
^
symbol: class HighlighterViewPackage
location: class PackageList
android/app/build/generated/autolinking/src/main/java/com/facebook/react/PackageList.java:155: error: cannot find symbol
new KeyboardInputPackage(getApplication())
^
symbol: class KeyboardInputPackage
location: class PackageList
2 errors
Steps to reproduce
run yarn android (build debug mode of the app)
Expected behavior
android build is built succesfully without any errors
Actual behavior
android build fails
More Info
It is related to uilib-native library, if I apply the patch from that #3805 it works without any error, so when we can expect it to be merged into uilib-native lib?
Environment
- React Native version: 0.84.1 (new arch enabled, hermes enabled)
- React Native UI Lib version: 8.3.4 (latest)
- uilib-native: 5.0.1 (latest)
Affected platforms
- Android