-
Notifications
You must be signed in to change notification settings - Fork 25k
Open
Labels
Needs: Author FeedbackNeeds: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.
Description
Description
react-native 0.81.2 when you clean or build your project android, the error with hermes-engine happen, the android not found the file version.properties inside sdks folder.
The solution I found for this:
I created the file version.properties inside node_modules/react-native/sdks/hermes-engine and I used the yarn patch (Yarn 3.4.6)
file content (version.properties):
echo "version=0.11.0" > node_modules/react-native/sdks/hermes-engine/version.properties
echo "group=com.facebook.react" >> node_modules/react-native/sdks/hermes-engine/version.properties
echo "artifact=hermes-engine" >> node_modules/react-native/sdks/hermes-engine/version.properties
Steps to reproduce
- install the packages (node_modules) with
yarn install - access android folder
- run
./gradlew clean
React Native Version
0.81.2
Affected Platforms
Runtime - Android
Output of npx @react-native-community/cli info
System:
OS: macOS 15.1.1
CPU: (8) arm64 Apple M1 Pro
Memory: 129.88 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.17.0
path: ~/.nvm/versions/node/v20.17.0/bin/node
Yarn:
version: 3.6.4
path: ~/.nvm/versions/node/v20.17.0/bin/yarn
npm:
version: 11.6.1
path: ~/.nvm/versions/node/v20.17.0/bin/npm
Watchman:
version: 2024.10.14.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /Users/macnav9/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.1
- iOS 18.1
- macOS 15.1
- tvOS 18.1
- visionOS 2.1
- watchOS 11.1
Android SDK:
API Levels:
- "29"
- "31"
- "33"
- "34"
- "35"
- "36"
Build Tools:
- 30.0.2
- 31.0.0
- 33.0.1
- 34.0.0
- 35.0.0
- 36.0.0
System Images:
- android-33 | Google APIs ARM 64 v8a
- android-33 | Google Play ARM 64 v8a
- android-35 | Google Play ARM 64 v8a
- android-35 | Pre-Release 16 KB Page Size Google APIs ARM 64 v8a
- android-36 | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2024.3 AI-243.26053.27.2432.13536105
Xcode:
version: 16.1/16B40
path: /usr/bin/xcodebuild
Languages:
Java:
version: 24.0.2
path: /usr/bin/javac
Ruby:
version: 3.3.0
path: /Users/macnav9/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 20.0.0
wanted: 20.0.0
react:
installed: 19.1.0
wanted: 19.1.0
react-native:
installed: 0.81.2
wanted: 0.81.2
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Stacktrace or Logs
* What went wrong:
An exception occurred applying plugin request [id: 'com.facebook.react.rootproject']
> Failed to apply plugin 'com.facebook.react.rootproject'.
> A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
> /Users/username/project/app-folder-project/node_modules/react-native/sdks/hermes-engine/version.properties (No such file or directory)
MANDATORY Reproducer
Screenshots and Videos
No response
Metadata
Metadata
Assignees
Labels
Needs: Author FeedbackNeeds: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.