1

I have already installed Android 2.3.3 and also pointed the path to my Android SDK in Preferences. But I am getting the following error:

An Android SDK is missing. Titanium requires Android platform: 2.3.3 or above.

Can anyone help me?

Anand
  • 5,323
  • 5
  • 44
  • 58
Lylinette
  • 13
  • 5
  • I have added the following environment variables: ANDROID_SDK whose value is the path where my Android SDK is. ANDROID_NDK whose value is the also the path where my Android NDK is and JAVA_HOME, the path where my JDK is. See attached file for my error logs. Thanks in advance for your help :) – Lylinette Sep 26 '14 at 02:11

1 Answers1

0

Error mean you need to install Android 2.3.3 (API 10). It's because Titanium requires API 10 to work with Android.

Try the following

  1. Open Titanium Studio

  2. Click on the dashboard button in your Titanium Studio

  3. A new page will be opened as shown in figure 1

Method 1 4. Click on Android SDK. Here in my case, I have already configured Android SDK properly. That is why the icon shows green otherwise it will display red just like Tizen SDK.

  1. It will ask you to download the SDK. Please select the required SDKS and download them. You can see the installed SDKs also. However try to select all the SDK which will fix your issue quickly. Note that it will download all the SDKs so it's little time consuming.

Edit : You can also refer Install Android SDK with Titanium and Installing Platform SDKs

Hope this helped you!!

Community
  • 1
  • 1
Anand
  • 5,323
  • 5
  • 44
  • 58
  • I have added the following environment variables: ANDROID_SDK whose value is the path where my Android SDK is. ANDROID_NDK whose value is the also the path where my Android NDK is and JAVA_HOME, the path where my JDK is. See attached file for my error logs. Thanks for the help :) – Lylinette Sep 26 '14 at 02:13
  • MobileSDKConfigurationProcessor_errorUpdatingAndroid in: com.appcelerator.titanium.mobile.ui.portal.processor.messages – Lylinette Sep 26 '14 at 02:18
  • which OS u are using? – Anand Sep 26 '14 at 04:17
  • Windows. Thank you so much for helping. I have already installed the Android SDK correctly. Im facing another problem though. I tried to run an application but Titanium Studio failed to build the application. But when I tried to run a different application it executes successfully. I can't seem to figure out the error. Do you have any idea about this? – Lylinette Sep 26 '14 at 07:29
  • It generates this error. Failed to run command, BUILD EPERM, operation not permitted – Lylinette Sep 26 '14 at 07:46
  • @Lylinette: Happy to hear that you were able to install android SDK. Did my answer help you? If yes, please mark it as accepted or answer to your own question so that it will be helpful to anyone else. Now to your new issue, I guess you are using windows 8. I am not sure of the issue, but it would be great to check whether you have admin privilege to run the app. Try to open the TiStudio as admin, then run the application. Also if you have created your workspace in restricted areas of C drive, move it to any other location. – Anand Sep 26 '14 at 09:44
  • @Anand When i run my app it gives me the following error,kindely help me out.. events.js:72 throw er; // Unhandled 'error' event ^ Error: spawn ENOENT at errnoException (child_process.js:1001:11) at ChildProcess._handle.onexit (child_process.js:792:34) [ERROR] Application Installer abnormal process termination. Process exit value was 8 – Farhan Shah Apr 10 '15 at 06:25