Description
Not able to generate .aar from a new react-native app version 0.72.1
Getting the below issue
Steps to reproduce
In the android folder I'm doing -> ./gradlew :RNSDK:assembleRelease to create a aar file
React Native Version
0.72.1
Affected Platforms
Runtime - Android
Output of npx react-native info
System:
OS: macOS 13.1
CPU: (10) arm64 Apple M1 Pro
Memory: 62.58 MB / 16.00 GB
Shell:
version: 5.8.1
path: /bin/zsh
Binaries:
Node:
version: 20.11.0
path: /usr/local/bin/node
Yarn:
version: 1.22.19
path: /opt/homebrew/bin/yarn
npm:
version: 10.2.4
path: /usr/local/bin/npm
Watchman:
version: 2024.03.25.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /Users/abhishekkumar/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9514443
Xcode:
version: 14.3.1/14E300c
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.10
path: /usr/bin/javac
Ruby:
version: 2.7.6
path: /Users/abhishekkumar/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.1
wanted: 0.72.1
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Stacktrace or Logs
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':rnsdk:compileReleaseAidl'.
> Could not resolve all task dependencies for configuration ':rnsdk:releaseCompileClasspath'.
> Could not find com.facebook.react:react-android:.
Required by:
project :rnsdk
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
Reproducer
https://github.com/19abhishek/react-native-hello-world
Screenshots and Videos
No response
Description
Not able to generate .aar from a new react-native app version 0.72.1
Getting the below issue
Steps to reproduce
In the android folder I'm doing -> ./gradlew :RNSDK:assembleRelease to create a aar file
React Native Version
0.72.1
Affected Platforms
Runtime - Android
Output of
npx react-native infoStacktrace or Logs
Reproducer
https://github.com/19abhishek/react-native-hello-world
Screenshots and Videos
No response