Ankit Vyas
Ankit Vyas

Reputation: 7501

How to Configure Android SDK for Titanium in Mac OS Lion?

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.

Upvotes: 4

Views: 11686

Answers (5)

Arne Evertsson
Arne Evertsson

Reputation: 19827

  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.

Upvotes: 0

Ron Meulensteen
Ron Meulensteen

Reputation: 11

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.

Upvotes: 1

Ankit Vyas
Ankit Vyas

Reputation: 7501

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

Upvotes: 1

The Zero
The Zero

Reputation: 1375

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.

Upvotes: 1

sagarkothari
sagarkothari

Reputation: 24820

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.

Upvotes: 8

Related Questions