$android list avd
Available Android Virtual Devices:
    Name: AVD-2.1-HVGA
    Path: /home/user/.android/avd/AVD-2.1-HVGA.avd
  Target: Android 2.1-update1 (API level 7)
    Skin: HVGA
  Sdcard: /home/user/mydroid/sdcard.img
---------
    Name: AVD-G2.1-WVGA800
    Path: /home/user/.android/avd/AVD-G2.1-WVGA800.avd
  Target: Google APIs (Google Inc.)
          Based on Android 2.1-update1 (API level 7)
    Skin: WVGA800
  Sdcard: /home/user/mydroid/sdcard.img
---------
    Name: AVD-2.2-HVGA
    Path: /home/user/.android/avd/AVD-2.2-HVGA.avd
  Target: Android 2.2 (API level 8)
    Skin: HVGA
  Sdcard: /home/user/mydroid/sdcard.img
---------
    Name: AVD-1.6
    Path: /home/user/.android/avd/AVD-1.6.avd
  Target: Android 1.6 (API level 4)
    Skin: HVGA
  Sdcard: /home/user/mydroid/sdcard.img
---------
    Name: AVD-1.5-HVGA
    Path: /home/user/.android/avd/AVD-1.5-HVGA.avd
  Target: Android 1.5 (API level 3)
    Skin: HVGA
  Sdcard: /home/user/mydroid/sdcard.img

Name 중에 실행하고자 하는 것 골라서 

$emulator -avd AVD-2.1-HVGA &
$ android --help

Usage:
  android [global options] action [action options]

Global options:
  -v --verbose  Verbose mode: errors, warnings and informational messages are printed.
  -h --help     Help on a specific command.
  -s --silent   Silent mode: only errors are printed out.

Valid actions are composed of a verb and an optional direct object:
- list               : Lists existing targets or virtual devices.
- list avd           : Lists existing Android Virtual Devices.
- list target        : Lists existing targets.
- create avd           : Creates a new Android Virtual Device.
- move avd           : Moves or renames an Android Virtual Device.
- delete avd           : Deletes an Android Virtual Device.
- update avd           : Updates an Android Virtual Device to match the folders of a new SDK.
- create project       : Creates a new Android project.
- update project       : Updates an Android project (must already have an AndroidManifest.xml).
- create test-project  : Creates a new Android project for a test package.
- update test-project  : Updates the Android project for a test package (must already have an AndroidManifest.xml).
- create lib-project   : Creates a new Android library project.
- update lib-project   : Updates an Android library project (must already have an AndroidManifest.xml).
- update adb           : Updates adb to support the USB devices declared in the SDK add-ons.
- update sdk           : Updates the SDK by suggesting new platforms to install if available.

Description Resource Path Location Type
Syntax error, annotations are only available if source level is 1.5 AdvancedPreferences.java /ApiDemos/src/com/example/android/apis/app line 65 Java Problem


project -> 마우스오른쪽 팝업-> android tools -> Fix project properties로

대부분 해결됨.


USB 연결
모토로라휴대전화 도구 설정.
(또는 카메라 버튼 + 볼륨 다운버튼 누른 상태로 전원 키)

RSD 실행

device 안보이면 show device

연결되면

스타트


 


res\layout\Settings.xml: Invalid file name: must contain only [a-z0-9_.]
-_-;;


대문자는 쓰지말라고..헐

+ Recent posts