简体   繁体   English

Appcelerator Studio将不会安装Android SDK

[英]Appcelerator Studio will not install Android SDKs

I am using Appcelerator Studio on Mac OS X 我在Mac OS X上使用Appcelerator Studio

Appcelerator Studio, build: 4.4.0.201511241829 Appcelerator Studio,内部版本:4.4.0.201511241829

Build: jenkins-appcelerator-rcp-master-339 (origin/master) 内部版本:jenkins-appcelerator-rcp-master-339(起源/管理员)

Date: 24 November 2015, 18:30:16 日期:2015年11月24日,18:30:16

Titanium SDK version 5.1.2.G Titanium SDK版本5.1.2.G

I have been trying to install the Android SDK's without success. 我一直在尝试安装Android SDK,但未成功。 I am using the Install from the software under Preferences -> Platforms -> Android 我正在使用从首选项->平台-> Android下的软件安装

If I browse to the directory with the SDKs I get the error message: 如果使用SDK浏览到目录,则会收到错误消息:

[Android SDK Home] No Android SD...nder the specified SDK location [Android SDK主页]没有Android SD ...正在指定的SDK位置

All the Android SDKs have been loaded by Android Studio so I know they are there. 所有Android SDK已由Android Studio加载,因此我知道它们已经存在。

If I try to install the SDKS through Studio it goes through the motions, downloads and unpacks the files etc and then gives me a completed screen but no sdks is actually saved. 如果我尝试通过Studio安装SDKS,它会进行动作,下载并解压缩文件等,然后为我提供完整的屏幕,但实际上并没有保存sdks。

I have tried uninstalling and reinstalling Studio without success 我尝试卸载并重新安装Studio,但未成功

any help is appreciated 任何帮助表示赞赏

Just give path of your android-sdk main directory only. 仅提供您的android-sdk主目录的路径。 If you are doing correctly then check in that folder having all required folders or not. 如果操作正确,则检入该文件夹是否包含所有必需的文件夹。 I attached screenshot for what folders should be there. 我附上了应该在哪个文件夹中的屏幕快照

If any of folder missing in mentioned image, it means, your SDK not properly installed. 如果提到的图像中缺少任何文件夹,则表示您的SDK未正确安装。 And you need to install it again. 并且您需要再次安装。 you can download SDK from here: http://developer.android.com/sdk/index.html#Other 您可以从此处下载SDK: http//developer.android.com/sdk/index.html#Other

Follow the instruction given in above link and again set path as you were doing before. 按照上面链接中给出的说明进行操作,然后像以前一样再次设置路径。 And install all required SDK using install SDK given in Preferences -> Platforms -> Android. 然后使用偏好设置->平台-> Android中提供的安装SDK安装所有必需的SDK。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM