Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2215] can't run android sdk

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2013-05-20T18:29:42.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsandroid, sdk
ReporterAhmed Fathi
AssigneeCarter Lathrop
Created2013-05-18T14:50:06.000+0000
Updated2016-03-08T07:41:12.000+0000

Description

i can't run the Titanium Android Emulator when i press run this error appeared [ERROR] : "Missing Java SDK. Please make sure Java SDK is on your PATH [ERROR] Application Installer abnormal process termination. Process exit value was 1 using ubuntu platform I have java-6-jdk and all required android API is installed what can I do to solve this problem?

Attachments

FileDateSize
titanum_error.png2013-05-18T14:50:07.000+000033384

Comments

  1. Carter Lathrop 2013-05-18

    Ahmed, Do you have the android sdk and the java sdk download in the default paths or somewhere else? This error usually occurs when the java SDK is in a path not defined by studio. I would recommend that you delete the java sdk (wherever it may be) and reinstall into the default path that the installer sets for you. Try this and let me know of your results. Regards, Carter
  2. Carter Lathrop 2013-05-18

    Also, which version of ubuntu are you using. Currently only 12.04 is supported.
  3. Carter Lathrop 2013-05-18

    Also, if you have Java 7 installed then make sure Titanium path is not set to it or it will break. Titanium only works with 1.6 atm. Hope this helps and please let me know of your results. Cheers, Carter
  4. Ahmed Fathi 2013-05-19

    Thunks guys, I solved it on (ubuntu 13.04). using the following steps: Installation of Java Runtime Environment * Install the openjdk-6-jre package using any installation method. http://apt.ubuntu.com/p/openjdk-6-jre * Browser plugin Install the icedtea6-plugin package using any installation method. http://apt.ubuntu.com/p/icedtea6-plugin * SDK (Software Development Kit) Install the openjdk-6-jdk package using any installation method. http://apt.ubuntu.com/p/openjdk-6-jdk done..

JSON Source