Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Could not find tools.jar. Please check that

On my system (Win 10, JRE 1.8.0, Android Studio 3.1.2, Gradle 4.1) there is no 
tools.jar in the JRE directory (C:Program FilesJavajre1.8.0_171).

However, I found it in C:Program FilesAndroidAndroid Studiojrelib and 
tried setting JAVA_HOME=C:Program FilesAndroidAndroid Studiojre

That works (for me)!
Comment

could not find tools.jar linux

on linux -> you need
1) to install openjdk :
sudo apt-get install openjdk-8-jdk
2) export jdk location : 
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
Comment

could not find tools jar

On my system (Win 10, JRE 1.8.0, Android Studio 3.1.2, Gradle 4.1) there is no tools.jar in the JRE directory (C:Program FilesJavajre1.8.0_171).

However, I found it in C:Program FilesAndroidAndroid Studiojrelib and tried setting JAVA_HOME=C:Program FilesAndroidAndroid Studiojre
Comment

could not find tools.jar mac

You should not alter gradle.properties manually. Try setting your 
JAVA_HOME in ~/.zshrc to something like-

export JAVA_HOME="/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home"

then relaunch a terminal session
Comment

PREVIOUS NEXT
Code Example
Shell :: bash check if string starts with substring 
Shell :: windows execute powershell script define user 
Shell :: get .net version 
Shell :: Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user. 
Shell :: bash check if string contains substring 
Shell :: raspberry wifi scan 
Shell :: how to open .bin file in linux 
Shell :: kubernetes on windows 10 
Shell :: export display connection for wsl 
Shell :: tensorflow install size 
Shell :: new branch not showing in visual studio 
Shell :: installing sdk manager on ubuntu 
Shell :: kill port cli 
Shell :: How to push to a new repositiory in github 
Shell :: silent install google chrome powershell 
Shell :: INSTALL VMwareTools on terminal ap=get 
Shell :: open port 8080 fedora 
Shell :: git https to ssh 
Shell :: install rclone FOR UBUNTU 
Shell :: how to install mono on ubuntui 
Shell :: git get current branch 
Shell :: powershell get all computers in ou 
Shell :: how to upgrader vscodium 
Shell :: w10 reboot cmf 
Shell :: converting mp3 with FFMPEG 
Shell :: change flutter package name 
Shell :: git bring your changes to a new branch 
Shell :: como desfazer um git add . 
Shell :: convert ppk to pem 
Shell :: remove last commit 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =