Skip to content
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

React Native Android Build Fails: Kotlin Compilation Error #336

Open
1 of 2 tasks
hermantrym opened this issue Feb 25, 2025 · 3 comments
Open
1 of 2 tasks

React Native Android Build Fails: Kotlin Compilation Error #336

hermantrym opened this issue Feb 25, 2025 · 3 comments

Comments

@hermantrym
Copy link

Current behavior

The build fails with Kotlin compilation errors, indicating issues with unresolved references, deprecated APIs, or other Kotlin-related problems.

Image
Image

Expected behavior

  • The build process should complete successfully without any Kotlin compilation errors.

Platform

  • Android
  • iOS

React Native Version

"react": "19.0.0",
"react-native": "0.78.0",
System:
  OS: Windows 11 10.0.26100
  CPU: "(16) x64 AMD Ryzen 7 5800HS with Radeon Graphics        "
  Memory: 3.11 GB / 15.40 GB
Binaries:
  Node:
    version: 22.13.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn: Not Found
  npm:
    version: 10.9.2
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "33"
      - "33"
      - "33"
      - "34"
      - "34"
      - "34"
      - "35"
      - "35"
    Build Tools:
      - 33.0.0
      - 33.0.1
      - 33.0.2
      - 33.0.3
      - 34.0.0
      - 35.0.0
      - 35.0.1
      - 36.0.0
    System Images:
      - android-34 | Google Play Intel x86_64 Atom
      - android-35 | Google Play Intel x86_64 Atom
      - android-Baklava | Google Play Intel x86_64 Atom
    Android NDK: Not Found
  Windows SDK:
    AllowAllTrustedApps: Disabled
IDEs:
  Android Studio: Not Found
  Visual Studio: Not Found
Languages:
  Java: 17.0.13
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 19.0.0
    wanted: 19.0.0
  react-native:
    installed: 0.78.0
    wanted: 0.78.0
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

React Native Compressor Version

"react-native-compressor": "^1.10.4",

Reproducible Steps And Demo

npx react-native run-android
Copy link

👋 @hermantrym
Thanks for opening your issue here! If you find this package useful hit the star🌟!

@hxzrx
Copy link

hxzrx commented Mar 3, 2025

Same problem.

@xliontin
Copy link

xliontin commented Mar 4, 2025

react-native 0.78.0 removed GuardedResultAsyncTask, check https://github.com/facebook/react-native/blob/main/CHANGELOG.md, downgrade to version 0.77.0

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

No branches or pull requests

3 participants