-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Android library builds broken after upgrade to 0.63 #29577
Comments
|
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
I am also facing the same issue. Is there a resolution to it now? |
@anujverma000 add |
Sounds like this issue has been resolved then, yes? |
@chrisglein I dont know if resolved is correct. this is just a workaround. I would think that this should work without having to disable an ooption |
Something new? |
having same issue. Any solution available? |
I created a PR to fix this #32026 |
Note: this is a duplicate of react-native-community/upgrade-support#93 and seems to be a bug in react native itself, we seem to be running into an issue where this statement may not be correctly evaluating
Environment
System:
OS: macOS 10.15.5
CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
Memory: 1.17 GB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 10.13.0 - ~/.nvm/versions/node/v10.13.0/bin/node
Yarn: 1.22.4 - ~/.yarn/bin/yarn
npm: 6.7.0 - ~/.nvm/versions/node/v10.13.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 23, 28, 29
Build Tools: 28.0.3, 29.0.2, 29.0.3
System Images: android-29 | Google Play Intel x86 Atom
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6626763
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
react: 16.13.1 => 16.13.1
react-native: 0.63.1 => 0.63.1
Upgrading version
0.59.10 ->0.63.1
Description
Our application is a hybrid and it consume our react native in android as a library. After following the upgrade guide and upgrading all our packages to the latest, I'm running into an issue where some gradle task called
packageDebug
is nullrunning
./gradle clean build --stacktrace
from the android repo results in the output belowif I edit the react native gradle file on line 346 to disable vm cleanup:
and run the build again, react native cannot find the correct paths to any jars to jetify:
./android/build.gradle
./android/app/build.gradle
./android/lib-reactnative/build.gradle
The text was updated successfully, but these errors were encountered: