Android Studio Update: Some conflicts found in installation area

后端 未结 17 2057
梦毁少年i
梦毁少年i 2020-12-08 05:48

When I start Android Studio, it shows popup regarding new update of 1.1 release. But when I start updating, After downloading all patch files, while restarting, it shows fol

17条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-08 06:50

    I had this symptom when updating from Android Studio 3.4.2 to 3.5.

    In my case, the affected file was plugins/Kotlin/kotlinc/bin/kotlinc.

    The cause turned out to be that while the file's contents had not been modified at all... the Unix permissions bits on it had been.

    Specifically, this was a file that comes as non-executable, and I had at some point chmod'd it to executable (because it should be) in order to use it from the command line.

    The fix was to set those permissions bits back, with chmod:

    $ chmod a-x /PATH/TO/android-studio/plugins/Kotlin/kotlinc/bin/*
    

    This probably isn't a super common cause for this symptom, but hopefully it will be helpful to someone else. :-) I certainly didn't remember making that change, though once I spotted it I know exactly why I made it.

提交回复
热议问题