Alright, Have you updated to new mac os "Big Sur" and facing a difficulty of java home is taking wrong path and build keep failing? then you are in the right post to get solved your issue.
Could not find tools.jar Please check "" contains a valid JDK installed.
I got this issue when,when I was building my react native project in vscode,
Solution:
- Check whether you have install the java JDK
Open .bash_profile file and add following to the JAVA_HOME "/Applications/Android\ Studio.app/Contents/jre/jdk/Contents/Ho$"
export JAVA_HOME=/Applications/Android\ Studio.app/Contents/jre/jdk/Contents/Ho$
- I'm using vim editor
The solution is basically configuring the java path correctly in the system,
Hope this will solved your problem. have fantastic cording..
No comments:
Post a Comment