Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Android Studio build fails (Android 15, SDK 35) #224

Copy link
Copy link
@saeid-elio

Description

@saeid-elio
Issue body actions

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, SDK 35) I get this error:

2: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-community_checkbox:compileDebugJavaWithJavac'.

Could not resolve all files for configuration ':react-native-community_checkbox: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}

My package.json dependencies:

  "dependencies": {
    "@react-native-async-storage/async-storage": "^2.0.0",
    "@react-native-community/checkbox": "^0.5.17",
    "@react-navigation/native": "^6.1.18",
    "@react-navigation/native-stack": "^6.4.1",
    "@reduxjs/toolkit": "^2.2.2",
    "fs-extra": "^11.2.0",
    "react": "18.2.0",
    "react-devtools": "^4.27.2",
    "react-native": "0.73.6",
    "react-native-input-select": "^1.3.6",
    "react-native-safe-area-context": "^4.11.0",
    "react-native-screens": "^3.34.0",
    "react-native-uuid": "^2.0.2",
    "react-native-webview": "^13.12.2",
    "react-redux": "^9.1.0"
  },
MaxMaesLW and Arjun059

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.