When I run react-native run-android I keep getting the following error. I tried adding export ANDROID_SDK=/Users/<your_computer_name>/Library/Android/sdk export PATH=/Users/<your_computer_name>/Library/Android/sdk/platform-tools:$PATH to my ~/.zshrc file but haven't had any luck. Thanks in advance!
            Asked
            
        
        
            Active
            
        
            Viewed 8,951 times
        
    1
            
            
         
    
    
        AKang123.
        
- 405
- 6
- 15
- 
                    Does this answer your question? [React Native adb reverse ENOENT](https://stackoverflow.com/questions/38835931/react-native-adb-reverse-enoent) – Ugur Eren Mar 07 '21 at 01:18
- 
                    No. I tried the solution in that answer (adding the info to my ./zshrc file), but the issue still occurs. In addition, my build is successful but the app isn't started. This indicates that it is a different issue than the one in that question. – AKang123. Mar 07 '21 at 01:25
- 
                    Did anybody find the solution for this issue? – Pawara Siriwardhane Jan 25 '23 at 07:06
1 Answers
1
            
            
        I ran adb reverse tcp:8081 tcp:8081 and then restarted the server, and re-ran the react-native run-android command and it worked.
 
    
    
        AKang123.
        
- 405
- 6
- 15
