如何用钛安装sdk Android [英] how to install sdk Android with titanium

查看:20
本文介绍了如何用钛安装sdk Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了最新版本的钛,但我无法添加sdk Android,我如何下载sdk但问题仍然存在(虽然我下载了sdk,但窗口显示一条消息,它找不到sdk) 我读了一句话,这句话可能是这个问题的解决方案:对于 Studio 3.2.0 及之前的版本,要设置平台 SDK,请使用旧版设置中描述的 Studio Dashboard 视图".也许我必须使用 Studio Dashboard 来添加 sdk .请问有人可以帮忙吗?

I download the last version of titanium but I can't add sdk Android , how do that I download sdk but the problem still here (Althoug I download sdk, the window shows an message that an it can't find the sdk) I read one sentence which maybe the solutioin of this problem the sentence is : "For Studio 3.2.0 and prior, to setup the platform SDKs, use the Studio Dashboard view as described in the Legacy Setup". Maybe I have to use Studio Dashboard for add sdk . Please can anyone help?

推荐答案

您可以通过两种方式做到这一点.

You can do this in two ways.

方法一

  1. 打开 Titanium Studio

  1. Open Titanium Studio

单击 Titanium Studio 中的仪表板按钮

Click on the dashboard button in your Titanium Studio

将打开一个新页面,如图1所示

A new page will be opened as shown in figure 1

4. 点击安卓 SDK.就我而言,我已经正确配置了 Android SDK.这就是图标显示 green 的原因,否则它将显示 red,就像 Tizen SDK 一样.

4. Click on Android SDK. Here in my case, I have already configured Android SDK properly. That is why the icon shows green otherwise it will display red just like Tizen SDK.

  1. 它会要求您下载 SDK.请选择所需的 SDK 并下载.

方法二

仅适用于单独下载 Android SDK 的情况.

It is applicable only if you have downloaded Android SDK separately.

  1. 打开 Titanium Studio

  1. Open Titanium Studio

从 Window->Preferences 打开首选项

Open preferences from Window->Preferences

选择Studio->Platforms->Android(见图2)

Select Studio->Platforms->Android (See Picture 2)

  1. 使用浏览按钮浏览Android SDK的路径

  1. Browse the path of Android SDK using the browse button

点击确定按钮

不要忘记将 android-sdk/tools 和 android-sdk/platform-tools 的路径添加到你的环境变量中

你也可以参考安装平台 SDK

希望对你有所帮助!!

这篇关于如何用钛安装sdk Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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