Android Studio Update: Some conflicts found in installation area

后端 未结 17 2020
梦毁少年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

    This is another option, it is not much easier than reinstalling but at least you don't have to worry about your settings getting lost

    1. Go to help->about and note the version you currently have installed
    2. Download zip file for your current version at https://developer.android.com/studio/archive
    3. Manually overwrite conflicted files with files from zip
    4. Update normally
    0 讨论(0)
  • I had this issue on Ubuntu 18.04 when tried to update Android Studio from 3.4 to 3.5 version. I have changed Android Studio directory's ownership to my user:

    sudo chown -R <username> /opt/android-studio

    It resolved all but one errors for me, because I still had a jre/bin/java - Access Denied error, which I have resolved by killing its process:

    # The second column of this command's output is PID.
    ps -aux | grep /opt/android-studio/jre/bin/java
    
    kill <PID>
    
    0 讨论(0)
  • 2020-12-08 06:50

    Use the JetBrains Toolbox for Android Studio update, problem solved. No need to mess with the file permissions. Especially on company devices.

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2020-12-08 06:51

    I had the same error when upgrading from 3.1.x to 3.5.x. What worked for me was downloading the new Android Studio image from https://developer.android.com/studio and installing it (when asking me if I want to replace the old version I said yes). Everything seems to work fine now.

    0 讨论(0)
提交回复
热议问题