title: React Native "Application timeReportTool has not been registered"
body: <p>I get this problem when i install my debug version on android device and if i install the release version it just crashes</p>
  
  <p>i have seen people with the same problem but their solutions havent worked for me so thats why i am reaching out</p>
  
  <p>here is my app.js right now </p>
  
  <pre><code>function logout(){
    AsyncStorage.clear();
  }
  
    const RootNavigator = StackNavigator({
    Login: {
      screen: Login,
      navigationOptions: ({ navigation}) =&gt; ({
        header: null,
      }),
  
    },
    Content: {
      screen: Content,
      navigationOptions: ({ navigation }) =&gt; ({
        header: null,     
      }),
    },
    });
  
    AppRegistry.registerComponent('lemockup', () =&gt; App);
  
  export default RootNavigator; 
  </code></pre>
  
  <p>i know this is wrong and that it should be like this </p>
  
  <pre><code>export default class App extends Component&lt;{}&gt; {
  
  logout(){
    AsyncStorage.clear();
  }
  
    const RootNavigator = StackNavigator({
    Login: {
      screen: Login,
      navigationOptions: ({ navigation}) =&gt; ({
        header: null,
      }),
  
    },
    Content: {
      screen: Content,
      navigationOptions: ({ navigation }) =&gt; ({
        header: null,     
      }),
    },
    });
  } 
  export default RootNavigator; 
  </code></pre>
  
  <p>And then in my index.js have this</p>
  
  <pre><code>    import { AppRegistry } from 'react-native';
  import App from './App';
  AppRegistry.registerComponent('lemockup', () =&gt; App);
  </code></pre>
  
  <p>but if i try to gradlew assembleRelease with it like this i get error on the const RootNavigator exactly at the word Rootnavigator row and i dont know why. Anyone that knows what i am doing wrong been sitting with this for so many hours now. </p>