Some Conflicts were found in the installation area - Android Studio - cacerts error

后端 未结 4 1044
慢半拍i
慢半拍i 2021-02-04 00:34

I am on Android Studio 3.0.1 and wanted to upgrade it to latest one. But I am getting this attached error due to jre/jre/lib/security/cacerts.

Does any one

相关标签:
4条回答
  • 2021-02-04 00:59

    I had the same issue. In my case I had added our proxy server certificate to cacerts manually. I deleted that cert (from C:\Program Files\Android\Android Studio\jre\jre\lib\security\cacerts) and that fixed the issue. Hope this helps.

    0 讨论(0)
  • 2021-02-04 01:05

    OK , I was not able to find the answer for this. May be this is something related to the jre version. Anyway I fixed this by uninstalling the Android Studio completely(instead of upgrading) and then installing the new Android Studio. Android Studio used the kre internally installed @ C:\Program Files\Android\Android Studio\jre

    and this is the path to new cacerts : C:\Program Files\Android\Android Studio\jre\jre\lib\security

    0 讨论(0)
  • 2021-02-04 01:20

    I also modified my cacerts file to include a corpo firewall CA cert, but instead of having to reinstall Android Studio, I just

    1. Download the full .zip from Google's Archive that corresponded to my current version (in my case 3.1.3), then

    2. Extract the cacerts file and replaced my modified one.

    3. Run the update patch normally.

    You will probably need to re-add your company CA to the newer version of cacerts. And if you are like me and don't deal with keytool very often, you probably don't remember the command so here you go (Password is changeit, but don't :)

    keytool -import -alias key_alias -file "C:\Path\to\corpo_cert.der" -keystore "C:\Program Files\Android\Android Studio\jre\jre\lib\security\cacerts"

    0 讨论(0)
  • 2021-02-04 01:20

    I had a similar problem with the PNG icon from the installation folder. After saving the Android Studio ZIP archive, I searched for the damaged image (without unpacking the entire archive), unpacked and copied it to the folder where it was located. Upgrading is Android Studio worked seamlessly. Here's a picture:

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