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

  • Home
  • SEARCH
  • 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 5958521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:33:18+00:00 2026-05-22T18:33:18+00:00

I dislike using Eclipse and wish to start an example Android project from the

  • 0

I dislike using Eclipse and wish to start an example Android project from the command-line, how can i do this? Is there a way to use “android create project” command to automatically pull in example code from the SDK? A similar method to the following perhaps?

android create project --package com.example.helloandroid \
--activity HelloAndroid \
--target 1 \
--path HelloAndroid
  • 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-22T18:33:19+00:00Added an answer on May 22, 2026 at 6:33 pm

    Here is an example how to build and run ApiDemos sample project.

    1. Go to your SDK folder, then to ../samples/android-#/ApiDemos, where # is API Level.
    2. Start terminal in this folder.
    3. Run android list targets and find target with API Level that is equal or higher then what you’ve chosen for # on step 1. Lets call this target X. In my case X equals 21. It looks like in your case X equals 1.
    4. Run android update project -p . -n ApiDemos -t X (change X to correct value)
    5. Run ant debug
    6. Run adb install bin/ApiDemos-debug.apk

    For Step 6 to succeed you need to connect your device to computer via USB. Make sure you’ve checked Setting->Applications->Development->USB Debugging. Also you can verify that adb can see your device running adb devices in the terminal.

    Now sample project is built and installed on your device.

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

Sidebar

Related Questions

Suddenly Flex seems to dislike variable declaration. For example I write (on the script
I recently began to start using functions to make casting easier on my fingers
I am building a Like/Dislike feature. For this purpose I need to identify the
I have a website where users can Like and Dislike items. So for each
I've succesfully loaded and parsed this XML file, using XMLParser and AS2: <Resources> <item
I'm working on a project where there will be a MySQL database containing data
I've been trying to avoid using a cursor in this particular case just because
I am using eval to create an associative array from php built in xml
How do you handle public vote (anyone can like or dislike an article) and
I'm using PHP and Zend to pull in my videos from YouTube. I'm authenticated

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.