Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Some conflicts were found in the installation area, while updating android studio 3.0.1

I am getting this error while updating Android Studio 3.0.1 some patch gets downloaded and following error comes,

Some of the conflicts below do not have a solution, so the patch cannot be applied.

Showing File : jre/bin/java.exe is Absent

screenshot of the error while updating android studio 3.0.1

like image 248
Yash Jain Avatar asked May 22 '18 08:05

Yash Jain


Video Answer


4 Answers

If anyone is still having this issue, here's what worked for me. I checked a bunch of other responses but nothing worked & I didn't want to do a clean install.

Not sure how it happened, but within my Android_Studio\jre\ was another jre version. So, I went into Android_Studio\jre\jre\bin\, copied the java.exe from there & pasted it into Android_Studio\jre\bin.

Similar solution to the other poster, but it had to come from a different directory, otherwise it'll just change from "Absent" to "modified" & continue to not work.

like image 118
Nick Avatar answered Oct 13 '22 01:10

Nick


I had the same issue. I've just copied java.exe from jdk installed folder (e.g. D:\Program Files\Java\jdk1.8.0_144\bin\java.exe) to Android_Studio\jre\bin, and Android Studio had upgraded successfully.

like image 40
Yamashiro Rion Avatar answered Oct 13 '22 00:10

Yamashiro Rion


Opened Android Studio again and choose update and restart option. Once the download is completed, the android studio is closed automatically and an update window appeared on the screen. At that time I opened the terminal and entered the following command:

ps -A | grep java

That command showed all the running java related processes. Now I killed those processes using the following command:

kill -9 PID

Replace PID with the corresponding process id.

like image 39
İbrahim YANIK Avatar answered Oct 13 '22 01:10

İbrahim YANIK


I had the same error, solved in that way: I just reinstalled my current Android Studio version (without losing any settings, etc) and then tried to update again. Everything went fine after that.

like image 27
Alessandro Mautone Avatar answered Oct 13 '22 00:10

Alessandro Mautone