After reading all of the above, I found that there could be another reason for this.
In my case:
response-native-cli: 2.0.1
reactive: 0.60.4
and the following structure:

First of all, it should be noted that index.android was not updated in Android Studio during the assembly performed by the Metro-linker (response-native run-android), so this must be done manually. Also in Android Studio do not "read"
app.json (created by default along with index.js, which is renamed index.android.js):
{ "name": "authApp", "displayName": "authApp" }
and so this is how
(in my case)
import {authApp as appName} from './app.json';
the reason is that android studio does not know what authApp refers to. I am fixing it at the moment, referring to the application name with its string name and not using this import from app.json:
AppRegistry.registerComponent('authApp', () => MyApp);
Carmine Aug 03 '19 at 7:24 2019-08-03 07:24
source share