how to install sdk Android with titanium

2019-01-29 10:54发布

问题:

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?

回答1:

You can do this in two ways.

Method 1

  1. Open Titanium Studio

  2. Click on the dashboard button in your Titanium Studio

  3. A new page will be opened as shown in figure 1

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. It will ask you to download the SDK. Please select the required SDKS and download them.

Method 2

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

  1. Open Titanium Studio

  2. Open preferences from Window->Preferences

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

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

  2. Click the OK button

Do not forget to add the path of android-sdk/tools and android-sdk/platform-tools into your environment variables

Edit : You can also refer to Installing Platform SDKs

Hope this helped you!!