You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can run my react native project in terminal via npm run android, but if I try to build it in Android Studio Ladybug (Android 15) on macOS 15.0 I get this error:
2: Task failed with an exception.
What went wrong:
Execution failed for task ':react-native-async-storage_async-storage:compileDebugJavaWithJavac'.
Could not resolve all files for configuration ':react-native-async-storage_async-storage:androidJdkImage'.
Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JdkImageTransform: /Users/sm/Library/Android/sdk/platforms/android-34/core-for-system-modules.jar.
> Error while executing process /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/jlink with arguments {--module-path /Users/sm/.gradle/caches/transforms-3/d83a989e8404276f65be3e4101087425/transformed/output/temp/jmod --add-modules java.base --output /Users/sm/.gradle/caches/transforms-3/d83a989e8404276f65be3e4101087425/transformed/output/jdkImage --disable-plugin system-modules}
What happened?
I can run my react native project in terminal via
npm run android
, but if I try to build it in Android Studio Ladybug (Android 15) on macOS 15.0 I get this error:2: Task failed with an exception.
Execution failed for task ':react-native-async-storage_async-storage:compileDebugJavaWithJavac'.
My package.json dependencies:
Version
2.0.0
What platforms are you seeing this issue on?
System Information
Steps to Reproduce
Start a build in Android Studio
The text was updated successfully, but these errors were encountered: