Skip to content

failed for task ':react-native-pager-view:compileDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction #992

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nicolaturcoep opened this issue Apr 17, 2025 · 3 comments
Labels
question Further information is requested

Comments

@nicolaturcoep
Copy link

Ask your Question

when i compile the app i get this error:

  • What went wrong:
    Execution failed for task ':react-native-pager-view:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

this is mu package.json:

"dependencies": {
"@d11/react-native-fast-image": "^8.9.2",
"@react-native-async-storage/async-storage": "^2.1.2",
"@react-native-oh-tpl/react-native-image-gallery": "^2.1.5-0.0.1",
"@react-navigation/bottom-tabs": "^7.3.10",
"@react-navigation/core": "^7.8.5",
"@react-navigation/devtools": "^7.0.26",
"@react-navigation/drawer": "^7.3.9",
"@react-navigation/elements": "^2.3.8",
"@react-navigation/material-top-tabs": "^7.2.10",
"@react-navigation/native": "^7.1.6",
"@react-navigation/native-stack": "^7.3.10",
"@react-navigation/routers": "^7.3.5",
"@react-navigation/stack": "^7.2.10",
"accordion-collapse-react-native": "^1.1.1",
"pushy-react-native": "^1.0.55",
"react": "19.0.0",
"react-native": "0.79.0",
"react-native-background-fetch": "^4.2.7",
"react-native-background-geolocation": "^4.18.6",
"react-native-blob-util": "^0.21.2",
"react-native-bootsplash": "^6.3.5",
"react-native-calendars": "^1.1304.1",
"react-native-draggable": "^3.3.0",
"react-native-drawer-layout": "4.1.6",
"react-native-element-dropdown": "^2.12.2",
"react-native-error-boundary": "^1.2.4",
"react-native-gallery-preview": "^1.3.2",
"react-native-gesture-handler": "^2.25.0",
"react-native-image-modal": "^3.0.13",
"react-native-in-app-review": "^4.3.3",
"react-native-linear-gradient": "^2.8.3",
"react-native-maps": "1.14.0",
"react-native-mime-types": "^2.5.0",
"react-native-modal": "^13.0.1",
"react-native-open-maps": "^0.4.3",
"react-native-pager-view": "^6.7.0",
"react-native-paper": "^5.13.1",
"react-native-permissions": "^4.1.5",
"react-native-reanimated": "^3.17.4",
"react-native-render-html": "^6.3.4",
"react-native-safe-area-context": "5.3.0",
"react-native-screens": "^4.10.0",
"react-native-switch-selector": "^2.3.0",
"react-native-tab-view": "^4.0.10",
"react-native-vector-icons": "^10.2.0",
"react-native-webview": "^13.13.5"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@react-native-community/cli": "^18.0.0",
"@react-native-community/cli-platform-android": "18.0.0",
"@react-native-community/cli-platform-ios": "18.0.0",
"@react-native/babel-preset": "0.79.0",
"@react-native/eslint-config": "0.79.0",
"@react-native/metro-config": "0.79.0",
"@react-native/typescript-config": "0.79.0",
"@rnx-kit/align-deps": "^3.0.5",
"@types/jest": "^29.5.13",
"@types/react": "^19.0.0",
"@types/react-test-renderer": "^19.0.0",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"prettier": "2.8.8",
"react-native-clean-project": "^4.0.3",
"react-test-renderer": "19.0.0",
"typescript": "5.0.4"
},
"engines": {
"node": ">=18"
}

@nicolaturcoep nicolaturcoep added the question Further information is requested label Apr 17, 2025
@nicolaturcoep
Copy link
Author

settings in build.gradle:

    buildToolsVersion = "35.0.0"
    minSdkVersion = 24
    compileSdkVersion = 35
    targetSdkVersion = 35
    ndkVersion = "27.1.12297006"
    kotlinVersion = "2.1.0"
    googlePlayServicesLocationVersion = "21.2.0"

@AlexCernik
Copy link

AlexCernik commented Apr 17, 2025

Hi @nicolaturcoep, same issue here, check this solution #988 (comment)

@nicolaturcoep
Copy link
Author

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants