Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3497014
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:19:09+00:00 2026-05-18T12:19:09+00:00

Ok I am trying to make a project from a command line ( not

  • 0

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
strong text

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T12:19:10+00:00Added an answer on May 18, 2026 at 12:19 pm

    Heres the line the book uses no mention of home any where: android create project –target 2 –path ./FirstApp –activity FirstApp –package apt.tutorial

    That is one of my books.

    Step #2 of Tutorial 1 has you check your Java environment and set up your PATH. This occurs before Step #4 of Tutorial 1, where you use android create project. AFAIK, that should have been sufficient. However, I do not use 64-bit Windows, and so I have no idea if there are any other things you need to do to get Java working there.

    If you have further questions about this tutorial, please join the cw-android Google Group and ask there.

    Please note that the version of the book you are using (Version 1.0 or the 1st Edition) is about 18 months old at the time of this writing, so you may encounter some challenges along the way. In particular, the latter half of the book is dominated by a sample Twitter client, which will no longer work due to the 2010 modification in Twitter authentication models. I have some instructions for how to try to patch the book, in essence, to use identi.ca, another microblogging client.

    UPDATE

    As you noted, I had the wrong book in mind. Here are the steps to set up your PATH, as described in Android Programming Tutorials:

    You should also be sure to add the directory for the Java commands to your PATH by:

    1. Finding where the Java commands are (e.g., C:\Program Files\Java\jdk1.6.0_12\bin).

    2. Go to your Control Panel (Start > Settings > Control Panel).

    3. Double-click on the System applet.

    4. Click the Advanced tab.

    5. Click the Environment Variables button.

    6. If there is a PATH value in the User variables area at the top, add
      your path to the end by double-clicking the existing one, scrolling
      to the end, typing a semicolon (;) and the path from step #1 above.
      If there is no such PATH value, click the New button, fill in PATH as
      the Variable name and the path from step #1 above as the Variable
      value.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to compile a project from the command line, like this: devenv.exe myproj.sln
I am trying to build a delphi project from the command line compiler Example:
I am trying to compile Cyberduck from SVN on MacOSX, I have run make
I am trying to run the script csv2json.py in the Command Prompt, but I
I'm trying to make Core Data objects inherit from my own custom class rather
I'm trying to debug a C/C++ native DLL project from Visual Studio 2010. I'm
Trying to make a make generic select control that I can dynamically add elements
Trying to make a MySQL-based application support MS SQL, I ran into the following
Trying to make a generic PL/SQL procedure to export data in specific XML format,
Trying to make a web service call to an HTTPS endpoint in my Silverlight

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.