Ok I am trying to make a project from a command line ( not really sure how my book doesn't say WHAT OR WHERE the command line is ) and when I try to run android.bat from the windows command prompt I get this error telling me that it checked for Java 64 bit and it wasn't found , then it checked for Java 32 and it wasn't found. The thing is I just installed Java SE 32 bit last night from Oracles site.
In Control Panel Programs I see :
Java (TM) SE Development Kit 6 Update 23 Oracle 141 MB 1.6.0.230
Why is Android telling me it's not found?
Windows 7 Ultimate 64 bit
Q6600 Intell quad core
4GBs DDR2 Ram
Nvidia 8800 GTS
Asus D2X
Gigabyte EP45-DSL3R
UPDATE: Ok now I get this error :
Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved.
G:\Programming\android-sdk_r08-windows\android-sdk-windows\tools>android create project --target 2 --path ./FirstApp --activity FirstApp --package Error: Missing argument for flag --package.
Usage: android [global options] create project [action options]
Global options: -v --verbose Verbose mode: errors, warnings and informational messages are pr inted. -h --help Help on a specific command. -s --silent Silent mode: only errors are printed out.
Action "create project": Creates a new Android project. Options: -n --name Project name -t --target Target ID of the new project [required] -p --path The new project's directory [required] -k --package Android package name for the application [required] -a --activity Name of the default Activity that is created [required]
G:\Programming\android-sdk_r08-windows\android-sdk-windows\tools>apt.tutorial
not really sure how my book doesn't say WHAT OR WHERE the command line isThen maybe you shouldn't try to build from the command line and just use eclipse?JAVA_HOMEto be where Java is installed, and make sure the Java commands (java,javac, etc.) are in yourPATH. Those commands are usually in thebindirectory inside of wherever Java is installed.