react native Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication) code example
Example: Invariant Violation: Module AppRegistry is not a registered callable module
try to restart the project after doing this:
cd android
sudo ./gradlew clean
cd ..