Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 359
Ankit Vyas Avatar asked Dec 22 '22 05:12

Ankit Vyas


2 Answers

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.

like image 111
Sagar Kothari Avatar answered Feb 14 '23 04:02

Sagar Kothari


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.

like image 38
The Zero Avatar answered Feb 14 '23 04:02

The Zero