lcl wrote:4) Write a similar bat -file in Notepad or some other program:
- Code: Select all
set ANT_HOME=c:\apache-ant-1.8.2
set CLASSPATH=C:\jdk1.7.0_01\lib
set JAVA_HOME=c:\jdk1.7.0_01
set PATH=%path%;%ANT_HOME%\bin
set PATH=%path%;c:\android-sdk\tools
So, set ANT_HOME to be the path to the folder named exactly apache-ant-1.8.2. So, if you got a folder named apache-ant-1.8.2-bin, that's not the right one, in that folder there is a subfolder, which has the right name, be careful!
And for the CLASSPATH, you'll have to search where it has installed your JDK, and the lib-folder. It's most likely in C:\Program Files\Java\jdk1.7.0_02\lib
JAVA_HOME is the folder where you can find the lib-folder, so most likely: C:\Program FIles\Java\jdk1.7.0_02
The next line you can leave as it is.
And the last line, replace the c:\android-sdk\tools with your android-sdk tools folders location.
Save the file with the name setup.bat and in your geandroid -folder.
Users browsing this forum: No registered users and 1 guest