How to Configure Android SDK for Titanium in Mac O

2019-05-06 23:37发布

I have successfully installed Titanium Studio. SDK Version:1.7.5enter image description here.Now I have downloaded Android SDK from http://developer.android.com/sdk/index.html

Now i am trying configure Android SDK but when i am Providing Path I am Getting Error like" Could not locate the Android SDK at the given path" I have attached Screenshot as well.

5条回答
Fickle 薄情
2楼-- · 2019-05-06 23:58

Step 1) Download the android SDK From here.

Step 2) unzip android-sdk ( whichever downloaded )

Step 3) In OS X, there is no /opt directory by default. you explicitly have to create it. Run following command.

sudo mkdir /opt

Step 4) Run following command to enter /opt directory.

cd /opt

Step 5) Run following command to create link of android-sdk. Assume that you have android-sdk located under Applications

sudo ln -s /Applications/android-sdk-macosx/ android-sdk

Step 6) enter to android-sdk/tools directory

cd /opt/android-sdk/tools/

Step 7) or directly enter following command in terminal.

/Applications/android-sdk-macosx/tools/android

Step 8) select necessary packages & download them. Sample screen-shot supplied here.

enter image description here

Open this URL - http://developer.appcelerator.com/question/32161/problem-with-the-android-sdk-installation-in-titanium. They have posted a similar kind of Q-A there.

查看更多
时光不老,我们不散
3楼-- · 2019-05-06 23:59

and if you don't want fall in all this steps then just download eclipse and install ADT plugin for eclipse and download all the packages using ADT plugin.

You can get more info here,

http://developer.android.com/sdk/installing.html

I downloaded android SDK using this way in windows and mac both.

查看更多
地球回转人心会变
4楼-- · 2019-05-06 23:59

After googling i have come to know the all details of Installation of Android SDK in Titanium.Please refer this image.You can find this image at http://developer.appcelerator.com/get_startedenter image description here

查看更多
兄弟一词,经得起流年.
5楼-- · 2019-05-07 00:05
  1. Locate your Android SDK directory, e.g. /usr/local/android-sdk-macos
  2. Create an empty directory named android-7 within the platforms directory:

    mkdir /usr/local/android-sdk-macosx/platforms/android-7
    
  3. Now try again and select the Android SDK directory within Eclipse.

查看更多
The star\"
6楼-- · 2019-05-07 00:08

Select the directory which holds your Android SDK with the browse button. Type an ending slash ('/') after the path (Android SDK directory). Now you can select your SDK in the popup next to Default Android SDK.

查看更多
登录 后发表回答