You must Login before you can answer or comment on any questions.
Hi all. I am working on titanium android on windows 7 environment. I wrote a simple application for printing hello world in titanium android and now i just thought of the way to create the apk so that i can plan for distributing any future applications easily. I clicked on the distribute icon and i got the a dialog where i entered distribution location , keystore location , password and alias name and clicked on publish. But it ended with an error.
I tried following the link http://developer.appcelerator.com/question/21091/error-error-locating-jdk-set-javahome-or-put-javac-and-jarsigner-on-your-path but i didnt get this working. Could anyone suggest me how to solve this issue. Thanks in advance
Note that both (JAVA_HOME & Path ) variables are added as system variables
there are already some paths added by system in Path variable , don't remove them. In my computer path look like
C:\android-sdk\platforms\android-16\;C:\android-sdk\tools\;%JAVA_HOME%\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Live\Shared;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\
Setting Android Sdk Path :
After adding these path you have to give android sdk path to your titanium. Open titanium studio ,there will be a window tab on top (title bar) after clicking it you will see preferences in bottom. On clicking preferences you can see Titanium Studio on left,expand it and click titanium . Browse and point your android sdk home directory ,apply and ok
i am setting the java jdk path directly instead of using the JAVA_HOME variable. Does it have any impact?
Think you can help? Login to answer this question!