Skip to content

Error: [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null. #1198

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

Open
1 of 5 tasks
Saif-Ur-Rehman19 opened this issue Apr 15, 2025 · 5 comments
Open
1 of 5 tasks
Labels
bug Something isn't working

Comments

@Saif-Ur-Rehman19
Copy link

What happened?

While building on Android I got the above issue @ @

Image

Version

2.0.0

What platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows
  • web

System Information

System:
  OS: macOS 15.4
  CPU: (8) arm64 Apple M1
  Memory: 101.14 MB / 8.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 16.20.2
    path: ~/.nvm/versions/node/v16.20.2/bin/node
  Yarn:
    version: 1.22.22
    path: /opt/homebrew/bin/yarn
  npm:
    version: 8.19.4
    path: ~/.nvm/versions/node/v16.20.2/bin/npm
  Watchman:
    version: 2025.04.07.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.2
      - iOS 18.2
      - macOS 15.2
      - tvOS 18.2
      - visionOS 2.2
      - watchOS 11.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23726.103.2422.12816248
  Xcode:
    version: 16.2/16C5032a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.14
    path: /Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.75.4
    wanted: 0.75.4
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Steps to Reproduce

running npx react-naitve run-android

@Saif-Ur-Rehman19 Saif-Ur-Rehman19 added the bug Something isn't working label Apr 15, 2025
@haloriyan
Copy link

got exactly same bug with Expo Go on iOS with SDK 53

@AkisArou
Copy link

AkisArou commented May 8, 2025

I resolved it by deleting ~/.gradle

@SeunBrightec
Copy link

If you come across this issue on iOS and you're on RN 0.76, try running RCT_NEW_ARCH_ENABLED=0 bundle exec pod install

This turns off the new architecture on iOS and installs your cocoapods.

@whiteforestcat
Copy link

whiteforestcat commented May 16, 2025

Hi, I encountered this problem too. I have managed to resolve it by rebuilding the app again and re-downloading the new APK file.

Follow these steps:

  1. Rebuild your app
    eas build --profile development --platform android
  2. Download the NEW APK file. After rebuilding your project with new dependencies, your APK file will be updated. The one currently in your phone is now "outdated". You have to redownload the APK file again.
  3. Reinstall the App on your Android device

I hope this helps

@memanoj
Copy link

memanoj commented May 28, 2025

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

No branches or pull requests

6 participants