Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • Thanks for the comments. The equivalent to a temp folder in Mac is Library/cache and the $TMPDIR as mentioned here: apple.stackexchange.com/a/131080. The first location had no react-native related directories but i found a few react references in yarn and typescript directories. I removed these directories. In the $TMPDIR structure there are no direct react-native references. I did find a hatsmap reference and a metro directory which i have removed. I am not sure which android directory you mean in cd android. Is it the sdk directory? Commented Jun 30, 2018 at 5:51
  • I also don't have the gradlew command available, at least when using via the terminal/prompt. I get -bash: gradlew: command not found. Should all this be done within Android Studio? I don't use Android Studio for development. I use Visual Studio Code alongwith either its inbuilt terminal or the globally available terminal for node/npm commands Commented Jun 30, 2018 at 5:59
  • All these commands are windows specific. There will be android folder in your project directory, go to that folder and open command prompt and run gradlew clean command there. That's it. Commented Jun 30, 2018 at 6:12
  • @arunmenon, yes you can use inbuilt or global terminal for running these commands. And for gradlew command, you have to be in android folder of your project, hope it will help you. Let me know if any issue Commented Jun 30, 2018 at 6:34
  • 1
    Ive managed to get it going at last. While i cannot exactly pinpoint which of the several actions i took worked - i tried various options over the weekend - what needs to go to the checklist is to try a new fresh install in a different directory. Deleting the project directory and re-creating it with the same name didn't work. A new directory name would be required. One good thing thats come out is that i seem to be somewhat nativescript. dev ready as well. Thanks for the answer - a am accepting this as the correct answer since the answer has valid steps. Commented Jul 2, 2018 at 8:57