Last active
          August 31, 2018 07:19 
        
      - 
      
- 
        Save fatgy/52907ff314adeb0a33562952829bca9d to your computer and use it in GitHub Desktop. 
    command line android
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | adb logcat | |
| adb logcat AndroidRuntime:E *:E | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | This might be related to https://github.com/facebook/react-native/issues/4968 | |
| To resolve try the following: | |
| 1. Clear watchman watches: `watchman watch-del-all`. | |
| 2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`. | |
| 3. Reset Metro Bundler cache: `rm -rf /tmp/metro-bundler-cache-*` or `npm start -- --reset-cache`. | |
| 4. Remove haste cache: `rm -rf /tmp/haste-map-react-native-packager-*`. | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // com/reactnativenavigation/react/ReactGateway.java | |
| public void onNewIntent(Intent intent) { | |
| host.getReactInstanceManager().onNewIntent(intent); | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment