This is my first application building for android native app from sencha. I have followed the sencha getting started video tutorial, but am getting some errors.
The error says that:
-compile: ""D:android-sdk-windows/tools/android" create project --target android-7 --name GetStarted --activity STActivity --path "c:\wamp\www\GS\build\native/" --package com.mycompany.myAppID" Could not run ant with error: 1 Failed to package application [ERROR] BUILD FAILED D:\android-sdk-windows\tools\ant\build.xml:602: The following error occurred whi le executing this line: D:\android-sdk-windows\tools\ant\build.xml:622: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK?
It is currently set to "C:\Program Files\Java\jre7"
It says that java_home error, but I have already set the java_home like this:
variable name :- JAVA_HOME variable value:- c:/programes files/java/jdk 1.6/bin
Why am I getting this error?