Launching from Eclipse/ADTIf you are developing in Eclipse and have already installed the ADT Plugin, follow these steps to access the Android SDK and AVD Manager tool:   1. Open Eclipse
   2. Select Window > Android SDK and AVD Manager.Launching from the setup script (Windows only)For Windows only, the SDK includes a script that invokes the Android SDK and AVD Manager. To launch the tool using the script, double-click "SDK Setup.exe" at the root of the the SDK directory.
Launching from a command lineIn all development environments, follow these steps to access the Android SDK and AVD Manager tool from the command line:   1. Navigate to the <sdk>/tools/ directory.
   2. Execute the android tool command with no options.      $ androidInstalling SDK ComponentsImportant: Before you install SDK components, we recommend that you disable any antivirus programs that may be running on your computer.Follow these steps to install new SDK components in your environment:   1. Launch the Android SDK and AVD Manager as described in the section above.
   2. Select Available Packages in the left panel. This will reveal all of the components that are currently available for download from the SDK repository.
   3. Select the component(s) you'd like to install and click Install Selected. If you aren't sure which packages to select, read Which components do I need?.
   4. Verify and accept the components you want and click Install Accepted. The components will now be installed into your existing Android SDK directories.New platforms are automatically saved into the <sdk>/platforms/ directory of your SDK; new add-ons are saved in the <sdk>/add-ons/ directory; samples are saved in the <sdk>/samples/android-<level>/; and new documentation is saved in the existing <sdk>/docs/ directory (old docs are replaced).

解决方案 »

  1.   

    yelei@ubuntu:/android/myandroid/sdk/tools$ ./android 
    Starting Android SDK and AVD Manager
    No command line parameters provided, launching UI.
    See 'android --help' for operations from the command line.
    yelei@ubuntu:/android/myandroid/sdk/tools$ ./android create avd -n NO1 -t 1
    Android 2.2 is a basic Android platform.
    Do you wish to create a custom hardware profile [no]yes
    yelei@ubuntu:/android/myandroid/sdk/tools$ ./android list avd
    Available Android Virtual Devices:
        Name: NO1
        Path: /home/yelei/.android/avd/NO1.avd
      Target: Android 2.2 (API level 8)
        Skin: HVGA
    yelei@ubuntu:/android/myandroid/sdk/tools$ ./emulator –avd NO1
    invalid command-line parameter: –avd.
    Hint: use '@foo' to launch a virtual device named 'foo'.
    please use -help for more information
    yelei@ubuntu:/android/myandroid/sdk/tools$ ./emulator @NO1
      

  2.   

    win7系统能安装android环境吗?
      

  3.   

    这个不知道 
    我用的是ubuntu 10.04