skip to Main Content

1

I am getting this error while updating Android Studio 2022.1.1 patch 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.

the files that is shown are:

jre/

jre/bin/

jre/bin/.marker

2

Answers


  1. I get the same error.

    Also to mention, because I don’t know if that does matter, when I updated to electric eel, i hat to make a link by mklink /j jre jbr because it seems like they changed the folder name from jbr to jre. Many other solutions on stack overflow recommended to just create a jre folder and copy all the jbr stuff in it.
    I was thinking that it is a temporary mistake and they will rename it with future updates back to jbr. That’s why I kept the jbr folder and just linked to it with the jre link.

    enter image description here

    EDIT:
    Just like the text said, I downloaded the new version from web and reinstalled Android Studio. Now it created by it self a jre folder that contained a bin folder that contained a .marker file.
    The new installation by it self didn’t work. Flutter doctor showed my some issues like that the android licences are not accepted and that it can’t find java.
    I manually copied the contend from the jbr to the jre folder, but also made sure that the .marker file stayed in the jre/bin folder.

    Now everything seems to work again.

    Login or Signup to reply.
  2. Same error. I fixed it by simply creating the missing folders and the file .marker:

    In an admin terminal on Windows, simply do:

    cd C:Program FilesAndroidAndroid Studio
    
    mkdir jre
    cd jre & mkdir bin
    cd bin & type nul > .marker
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search