Note that there are some explanatory texts on larger screens.

plurals
  1. POTitanium Studio cannot find Android SDK (tried multiple solutions)
    primarykey
    data
    text
    <p>Okay. I'm kind of at my wits' end here. I've been trying for about 2 days to set up Titanium Studio to recognize and connect to the Android SDK (Windows 7). I have tried <em>multiple</em> solutions (below) with no luck. There's got to be something I'm missing. I've tried Google and the Titanium developer guides. So this is my last straw. Any ideas?</p> <ul> <li>Android SDK home path is <strong>C:\Android\android-sdk</strong> (to avoid spaces with "Program Files")</li> <li>installed <strong>all</strong> SDKs (3,4,7,8,10,11,12,13,14,15), their Samples, and all Google APIs</li> <li>installed all "Extras" packages</li> <li>Added both the Android <em>tools</em> and <em>platform-tools</em> directories to Windows' PATH variable</li> <li>Copied adb.exe from <em>platform-tools</em> to <em>tools</em> as Titanium likes to look there for adb</li> <li>Installed the current <strong>master</strong> build of Titanium SDK for Mobile Devices</li> <li>Created Android Virtual Devices (AVDs) for SDKs 7 and 8 (Titanium's required SDKs)</li> <li>Restarted adb server and computer itself after each change</li> </ul> <p>On the Titanium 'Dashboard' tab, under 'Configure', I get:</p> <pre><code>An Android SDK is missing. Titanium requires Android platforms 2.1.* and 2.2.* </code></pre> <p>When attempting to set the default Android SDK path in 'Preferences', I get:</p> <pre><code>Could not locate the Android SDK at the given path </code></pre> <p>Titanium log file output (sorry, kinda long):</p> <pre><code> !ENTRY com.appcelerator.titanium.mobile 4 0 2012-02-22 14:06:21.992 !MESSAGE (Build 1.0.0.1327639206) [ERROR] [ERROR] The system cannot find the path specified. [ERROR] The system cannot find the path specified. Traceback (most recent call last): File "C:\Users\Stick\AppData\Roaming\Titanium\mobilesdk\win32\2.0.0.v20120221190136\android\avd.py", line 45, in &lt;module&gt; print get_avds(sdk) File "C:\Users\Stick\AppData\Roaming\Titanium\mobilesdk\win32\2.0.0.v20120221190136\android\avd.py", line 21, in get_avds for line in run.run([sdk.get_android(),'list','target'],debug=False).split("\n"): AttributeError: 'NoneType' object has no attribute 'split' </code></pre> <p>I have no idea what's missing. Eclipse recognizes everything just fine. ANY suggestions??</p> <p><strong>P.S.</strong> I've noticed that when I attempt to run 'android' commands, i.e.</p> <pre><code>android android list targets </code></pre> <p>I get what seems to be an error:</p> <pre><code>The system cannot find the path specified. </code></pre> <p>However, the commands still continue to run with no issues (I get a list of all the targets and the SDK Manager pops up). I'm not sure whether or not whatever is causing that message is also causing Titanium headaches.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload