-
Notifications
You must be signed in to change notification settings - Fork 660
Fabric windows implementation: Fixing android build #845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fabric windows implementation: Fixing android build #845
Conversation
…otikbiswas100/react-native-config into fabric-windows-implementation
|
Still facing android build issues. |
|
I dont have any change outside of windows folder. It should not fail. There is something wrong in build configuration. @luancurti please look into it. Can you tell me how you release a new version |
|
@protikbiswas100 @luancurti I'm still getting an Android build error unfortunately. I tried cleaning and wiping out all cache etc for a sanity check: I'm on react-native 0.79.5.
[CXX1429] error when building with cmake using /Users/me/Dev/repo/myProject/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/CMakeLists.txt: -- The C compiler identification is Clang 18.0.2 As soon as I remove the library, I can get a successful build to go through. |
Facing the same issue with react-native-config |
|
I am on react-native 0.81.0. |
Same issue on 0.81.1 |
|
I have raised a pr https://github.com/lugg/react-native-config/pull/849/files to fix the build issue, waiting for @luancurti to review it |
|
@protikbiswas100 I tested your branch and got a successful Android build! |
|
Okay I will be giving 3-4 prs. @luancurti please merge them. They are incremental changes to support fabric , the new architecture of react native in windows. This will help me narrow down the failure reason. I would need your help @trooperandz in testing the builds |
|
Can you please test my branch ( fabric-windows-implementation ) with my latest commit protikbiswas100@68500ad @trooperandz |
|
@protikbiswas100 I tested the latest |
|
Yes please, you can test the commit Id 68500ad from my branch |
Okay; this might take me a bit since there was another commit on top of that. |
|
@protikbiswas100 I tested the |
|
@trooperandz can you give me some details for building android like jdk version, build command etc so that I can reproduce the build |
|
@protikbiswas100 now I am having trouble building even when trying the other commit hashes. I am not sure which commit on your branch succeeded earlier. Here are my details: |
|
@trooperandz dd2316e was the commit id when the build succeeded |
|
@trooperandz take my latest commit 98077af from https://github.com/protikbiswas100/react-native-config/commits/fabric-windows-implementation/ where you will find list of commits and build on fabric-windows-implementation branch and react-native-config version 1.5.7. Few details to note: We are using gradle 6.5 in react-native-config I ran npx react-native run-android --mode debug, for me it failed because it could not find emulator
|
https://github.com/lugg/react-native-config/blob/master/Example/android/gradle/wrapper/gradle-wrapper.properties#L3 I see here that gradle version 6.5 is required to build android, but in your build log I am seeing below
@luancurti please let us know what is the correct build configuration for android |
|
@protikbiswas100 @luancurti regarding the gradle version, react-native itself specifies the gradle version as For instance, react-native shows |
|
@protikbiswas100 a major update; I was able to get your branch to build successfully off of your last commit ( Another build script from the command line that was also successful in addition to my Android Studio build (executed from the For a sanity check, after I got yours to build successfully, I tried going back to the |




What changed
added fabric support for windows, Fabric is the new architecture of react native
Why this change is needed
People using this library should be able to use the new architecture of react native
Testing

Added TurboModule enable flag via react-native.config.js. Wrote a minimal test to assert exported Config object and fallback logic.
Attached image of unit testing