android.bat打开SDK管理器,SDK的manager.exe不 [英] android.bat Opens SDK Manager, SDK Manager.exe does not

查看:544
本文介绍了android.bat打开SDK管理器,SDK的manager.exe不的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在试图解决这一问题在过去的48小时,这是推动我疯了。

I've been trying to fix this for the last 48 hours, and it is driving me insane.

我的SDK的manager.exe闪烁一个cmd屏幕,并关闭在不到一秒钟。

My SDK Manager.exe flashes a cmd screen and closes in less than a second.

经过大量的搜索,我终于把我的SDK经理调整android.bat,并运行它以管理员身份后才能打开。

After much searching, I finally managed to get my SDK Manager to open after adjusting android.bat, and running it as administrator.

不过,SDK的manager.exe无法找到android.bat所以我复制入Android的SDK文件夹中。

But, SDK Manager.exe was not able to find android.bat so I copied it into the android-sdk folder.

SDK的manager.exe现在能够找到android.bat,但它仍然是短暂闪烁cmd,然后关闭。

SDK Manager.exe is now able to find android.bat, but it is still briefly flashing cmd and then closing.

我的PATH变量有我的JDK的java.exe目录中的第一项,我已经重新启动,并重新安装了几次。

My PATH variable has my jdk java.exe directory as the first entry, and I have restarted and reinstalled several times.

是什么原因造成的?为什么我能打开从android.bat经理,而不是从可执行文件?

What is causing this? Why am I able to open the manager from android.bat, but not from the executable?

我想配置Eclipse使用SDK管理器,但显然我不能因为可执行拒绝打开。

I am trying to configure Eclipse to use the SDK Manager, but obviously I cannot because the executable refuses to open.

Eclipse也是告诉我,adb.exe丢失,并在检查平台我已经证实了这一点。我想adb.exe将从SDK管理器进行安装?

Eclipse is also telling me that adb.exe is missing, and upon checking platforms I have confirmed this. I assume adb.exe will be installed from the SDK Manager?

编辑:思考之后,我认为这个问题可能与android.bat的权限。它必须运行在为了工作管理员,否则,如果经常打开了它会说:访问被拒绝。

After thinking about it, I think the issue may be with the permissions of android.bat. It must be run as administrator in order to work, otherwise if opened regularly it will say "Access is denied".

是否有可能改变呢?展望android.bat的特性,我已经调整了我的帐户有完全控制权。这并没有影响这个问题,虽然。

Is it possible to change this? Looking in the properties of android.bat, I have adjusted my account to have full control. This has not affected the issue, though.

推荐答案

我有同样的问题!

我已经安装了ADT包64位,所以我下载的Java 64位。
我搞砸周围的道路和东西,但固定它到底事情是安装的Java 32位。

I had installed the ADT bundle 64-bit, so I downloaded Java 64-bit. I messed around with paths and things, but the thing that fixed it in the end was installed Java 32-bit.

最简单的解决方法是安装两个版本。您可以下载它们手动这里

The easy fix is to install both versions. You can download them manually here.

祝你好运!

这篇关于android.bat打开SDK管理器,SDK的manager.exe不的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆