Invariant Violation: "AppName" has not been registered. This can happen if: * Metro (the local dev server) is run from the wrong folder.
See original GitHub issueEnvironment
System: OS: Linux 5.4 Ubuntu 18.04.3 LTS (Bionic Beaver) CPU: (4) x64 Intel® Core™ i5-2500 CPU @ 3.30GHz Memory: 1.96 GB / 15.47 GB Shell: 4.4.20 - /bin/bash Binaries: Node: 13.10.1 - ~/.nvm/versions/node/v13.10.1/bin/node Yarn: Not Found npm: 6.14.5 - ~/.nvm/versions/node/v13.10.1/bin/npm Watchman: Not Found SDKs: Android SDK: Not Found IDEs: Android Studio: Not Found Languages: Java: 1.8.0_265 - /usr/bin/javac Python: 2.7.17 - /usr/bin/python npmPackages: @react-native-community/cli: Not Found react: 16.13.1 => 16.13.1 react-native: 0.63.2 => 0.63.2 npmGlobalPackages: react-native: Not Found
Upgrading version
Previous version “react”: “16.9.0”, “react-native”: “0.61.5”
new version “react”: “16.13.1”, “react-native”: “0.63.2”
Description
This error was getting when I upgrade my project from 61.5 to 63.2
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:6
Top GitHub Comments
@vikil143 how did you fix this? stuck on the same issue
Change field name in ./app.json
to match ./android/app/src/main/java/com/{appName}/MainActivity.java