问题
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
回答1:
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.
回答2:
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.
回答3:
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.
回答4:
The error is due to modification of java installed files. Download the latest android studio and reinstall it. The previous configuration can be restored during the reinstall over existing version.
来源:https://stackoverflow.com/questions/50462873/some-conflicts-were-found-in-the-installation-area-while-updating-android-studi