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

Error: Could not get unknown property 'kotlinVersion' for project #1040

Closed
1 of 5 tasks
recallwei opened this issue Nov 29, 2023 · 11 comments · Fixed by #1042
Closed
1 of 5 tasks

Error: Could not get unknown property 'kotlinVersion' for project #1040

recallwei opened this issue Nov 29, 2023 · 11 comments · Fixed by #1042
Labels
bug Something isn't working

Comments

@recallwei
Copy link

What happened?

Bump to 1.20.0, then build throw an error.

image

Version

1.20.0

What platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows
  • web

System Information

System:
  OS: macOS 14.1.1
  CPU: (10) arm64 Apple M2 Pro
  Memory: 167.36 MB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.9.0
    path: /usr/local/bin/node
  Yarn:
    version: 1.22.19
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.1.0
    path: /usr/local/bin/npm
  Watchman:
    version: 2023.09.04.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.12.1
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.0
      - iOS 17.0
      - macOS 14.0
      - tvOS 17.0
      - watchOS 10.0
  Android SDK:
    API Levels:
      - "29"
      - "33"
      - "34"
    Build Tools:
      - 29.0.2
      - 30.0.2
      - 30.0.3
      - 33.0.0
      - 33.0.1
      - 34.0.0
    System Images:
      - android-33 | Google APIs ARM 64 v8a
      - android-33 | Google Play ARM 64 v8a
      - android-34 | Google APIs ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: Not Found
  Xcode:
    version: 15.0.1/15A507
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.8.1
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.7
    wanted: 0.72.7
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Steps to Reproduce

Bump to 1.20.0 and start android.

@recallwei recallwei added the bug Something isn't working label Nov 29, 2023
@imdangle
Copy link

Happened to me, too!

@cheehieu
Copy link

Same here... In the meantime, I've just reverted back to version 1.19.8 to avoid the build error.

"@react-native-async-storage/async-storage": "1.19.8",

@sajad786
Copy link

Same here... In the meantime, I've just reverted back to version 1.19.8 to avoid the build error.

"@react-native-async-storage/async-storage": "1.19.8",

This works fine for me . Rn version ^0.67.5

@vipulav-j
Copy link

vipulav-j commented Nov 29, 2023

"@react-native-async-storage/async-storage": "^1.17.9",
removed ^ from above version and works for me.

@krizzu
Copy link
Member

krizzu commented Nov 29, 2023

Seems like a regression introduced in latest version, going to address it now.
Please hold on with upgrading to v1.20.0 and use v1.19.8 for now

@krizzu
Copy link
Member

krizzu commented Nov 29, 2023

Fix is here: #1042

@tido64 tido64 linked a pull request Nov 29, 2023 that will close this issue
@krizzu
Copy link
Member

krizzu commented Nov 29, 2023

Version v1.21.0 is out, please give it a go
https://github.com/react-native-async-storage/async-storage/releases/tag/v1.21.0

@krizzu krizzu closed this as completed Nov 29, 2023
@firstpersoncode
Copy link

I tried the patch.. the build error message is gone.. but now my app keep crashing, but my app on ios working fine..

@krizzu
Copy link
Member

krizzu commented Nov 29, 2023

@firstpersoncode please open new issue with details, so I could check it out 🙏

@FraserKemp
Copy link

Same issue for me on version 1.17.11, I also downgraded to v1.19.8 for now until the PR is through.

v1.19.8 working perfectly for me. Thanks!

@firstpersoncode
Copy link

@firstpersoncode please open new issue with details, so I could check it out 🙏

false alarm.. I just clean the build and now it works. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants