Java 无法安装 Android Studio Bundle?“无法提升错误消息”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/27737569/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Cannot install Android Studio Bundle? "Unable To Elevate Error Message"
提问by ErinSKabbash
I am new to Android development and I am trying to install the Android Studio Bundle from: http://developer.android.com/sdk/
我是 Android 开发新手,我正在尝试从以下位置安装 Android Studio Bundle:http: //developer.android.com/sdk/
I downloaded it and installed JDK 8u25 from: http://www.oracle.com/technetwork/java/javase/downloads/index.html
我从以下位置下载并安装了 JDK 8u25:http: //www.oracle.com/technetwork/java/javase/downloads/index.html
I installed the JDK first and then tried to launch the android-studio-bundle-135.1641136.exe file that was downloaded from Android.com but when I run it I get the following pop up error: Unable to elevate [error: ]
我先安装了 JDK,然后尝试启动从 Android.com 下载的 android-studio-bundle-135.1641136.exe 文件,但是当我运行它时,我收到以下弹出错误:无法提升 [错误:]
Haven't even installed yet and I'm already running into issues.. please help!
还没有安装,我已经遇到问题了..请帮忙!
Thanks sincerely for any assistance you can provide.
真诚地感谢您提供的任何帮助。
回答by ErinSKabbash
Actually figured it out.. stupid but I had to run the android-studio-bundle-135.1641136.exe by right clicking and doing "Run as administrator". Hopefully this will help someone else that runs into the similar issue!
实际上想通了..愚蠢但我必须通过右键单击并执行“以管理员身份运行”来运行 android-studio-bundle-135.1641136.exe。希望这会帮助遇到类似问题的其他人!
回答by Jivan
Follow Following steps
按照以下步骤
- Uninstall android SDK if you have installed any.
- Clear your temp folder ( Goto Run type "%temp%" and delete all. It may skip few files thats ok! )
- Convert installer file into CD image using s/w like Magic ISO Maker, http://www.magiciso.com/download.htm
- Either you write CD or install virtual CD drive to mount ISO file.
- Disable your antivirus / firewall and also close all programs.
- Then run the installer from CD-drive / virtual drive. ( Right Click and RUN AS A ADMINISTRATOR)
- 如果您安装了任何 android SDK,请卸载它。
- 清除您的临时文件夹(转到运行类型“%temp%”并全部删除。它可能会跳过几个文件,没关系!)
- 使用 s/w 将安装程序文件转换为 CD 映像,如 Magic ISO Maker,http://www.magiciso.com/download.htm
- 要么写CD,要么安装虚拟光驱来挂载ISO文件。
- 禁用您的防病毒软件/防火墙并关闭所有程序。
- 然后从 CD 驱动器/虚拟驱动器运行安装程序。(右键单击并以管理员身份运行)
This works 100% !
这 100% 有效!
回答by Luis
To me it served me disable the firewall and antivirus completely (in my case I use avast). I hope they serve, Greetings!
对我来说,它让我完全禁用了防火墙和防病毒软件(在我的情况下,我使用了 avast)。我希望他们服务,问候!
回答by Bhojal Gelda
I had to completely uninstall my McAfee and it works now!
我不得不完全卸载我的迈克菲,现在它可以工作了!