react-native
react-native copied to clipboard
Null extracted folder for artifact: ResolvedArtifact
Description
Null extracted folder for artifact: ResolvedArtifact(componentIdentifier=org.webkit:android-jsc:r245459, variantName=null, artifactFile=/Users/jason/work/pnApp33/node_modules/jsc-android/dist/org/webkit/android-jsc/r245459/android-jsc-r245459.aar, extractedFolder=null, dependencyType=ANDROID, isWrappedModule=false, buildMapping={current_build=/Users/jason/work/pnApp33/android}, mavenCoordinatesCache=com.android.build.gradle.internal.ide.dependencies.MavenCoordinatesCacheBuildService$Inject@53df469c)
Version
0.61.5
Output of npx react-native info
System: OS: macOS 13.0 CPU: (10) arm64 Apple M1 Max Memory: 1.69 GB / 32.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 16.10.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 7.24.0 - /usr/local/bin/npm Watchman: 2022.10.24.00 - /opt/homebrew/bin/watchman SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0 Android SDK: API Levels: 21, 28, 29, 30, 33 Build Tools: 29.0.2, 29.0.3, 30.0.2, 33.0.0 IDEs: Android Studio: 2021.3 AI-213.7172.25.2113.9123335 Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.5 => 0.61.5 npmGlobalPackages: react-native-cli: 2.0.1
Steps to reproduce
1)react-native init pnApp --version 0.61.5 2)android studio run File -> Sync Project with Gradle Files
Snack, code example, screenshot, or link to a repository
https://github.com/JasonFes/pnApp33
@JasonFes I had a similar error, it wasn't obvious that I was running out of memory but I bumped up the maximum size of memory allocation pool by adding:
org.gradle.jvmargs=-Xmx4096M
to gradle.properties
It worked after. I hope it helps, it's from here https://stackoverflow.com/a/72951758/4439092
Android Studio relaunch helped
Closing as the issue is related to 0.61.5. There is nothign actionable for us to do here + a valid workaround has been provided
philippeapril
It works like charm
@philippeapril I still facing the same issue after trying your solution, is there anything else to try?
I have the same problem, I'm on macbook pro Intel, Android Studio Giraffe | 2022.3.1 Patch 1
I had to downgrade Android Studio to "Android Studio Electric Eel | 2022.1.1" and is working well now!
Hello!, I currently have the same error, only from a React Native app. The error only occurs when trying to add an .aar to the project, otherwise it works correctly. (i am using react native version 0.72.5 and android studio 22.3.1 patch 2)
@JasonFes I had a similar error, it wasn't obvious that I was running out of memory but I bumped up the maximum size of memory allocation pool by adding:
org.gradle.jvmargs=-Xmx4096M
to gradle.properties
It worked after. I hope it helps, it's from here https://stackoverflow.com/a/72951758/4439092
@philippeapril Helped a lot, thank you !
I've even downgraded the Android Studio to Eel, but it didn't help 🫤
@JasonFes I had a similar error, it wasn't obvious that I was running out of memory but I bumped up the maximum size of memory allocation pool by adding:
org.gradle.jvmargs=-Xmx4096M
to gradle.properties
It worked after. I hope it helps, it's from here https://stackoverflow.com/a/72951758/4439092
it worked for me!