Android Installation Error - Unable to elevate [error:1812]

后端 未结 12 1468
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-17 17:53

I have downloaded the latest android studio android-studio-bundle-135.1740770-windows from the official site. But when I install the downloaded application

12条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-17 18:23

    I followed these steps and the problem was gone:

    • Disable UAC
    • Reboot
    • Installation (as Administrator)
    • Enable UAC
    • Reboot

    There’s a quick way you can enable or disable this annoying window from the command line:

    Disable UAC:

    C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
    

    Enable UAC:

    C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f
    

    After you enable or disable UAC, you will have to reboot your computer for the changes to take effect.

提交回复
热议问题