Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication) android 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 ..