Skip to end of metadata
Go to start of metadata


Errors while building a mobile project are usually due to configuration issues. The most common problems and possible solutions are posted here.

iOS SDK version XXX not found

This will happen if you have upgraded your iOS SDKs, and the old one is not available. To fix:

  1. Select Run > Run Configurations... (you will get to the same spot if you choose Debug Configurations...).
  2. Select the configuration for the project you are having an issue with.
  3. Choose an available iOS SDK from the list.
  4. Save and close the dialog.

Could not locate the Android SDK at the given path

This usually appears inside the Preference dialog inside Studio. Studio runs a Python script to determine your current configuration. To diagnose the exact issue, please try the following:

  1. Turn on debug logging: Debugging Studio, and enable specific component com.aptana.core/debug/shell.
  2. Re-open the Preference dialog.
  3. Open the Studio log file (Help > Studio > View Log File) and scroll to the end.
  4. You should see a command line invocation of, for example:

  5. Copy and paste that complete command line into a terminal window and run it. Check the output. If it doesn't find minimum required Android SDK, the configuration will be marked as invalid.

It may be that you don't have an script at the location it's looking. To solve that, just install the latest Continuous Build, ensuring that you choose the master branch from the drop-down menu of the download site, and restart Studio.

iOS configuration issues

This usually appears inside the Preference dialog inside Studio. Studio runs some commands to determine your current configuration:

  1. To determine the location of your xcode tooling, it runs xcode-select --print-path.
  2. It then looks at /Platforms/iPhoneSimulator.platform/Developer/SDKs underneath that path for the SDK locations.
  3. Currently, it expects to see at least one iOS SDK of version greater than or equal to 4.2 and less than 5.1. You can have more installed than that, but you at least need one within that range.