I have cloned the react native existing project. After i have installed all the dependencies by using npm install command. But when i run react-native run-android i get following error.
Could not find or load main class -Xmx64m, failed to install the app
I have also added Androind variable environments and java V.A correctly. I have also tried to create new project with react-native cli and its working perfectly on my windows machine.