"invalid command-line parameter"라고 뜨면서 안드로이드 에뮬레이터가 실행이 안돼요 .
조회수 1757회
개발환경 및 문제
이클립스에서 간단한 Hello World 프로그램을 만들었는데요. 자바 파일도 없고 오직 TextView만 main.xml에 만들었어요.
소스코드
//main.xml file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Hello World"
/>
</LinearLayout>
그리고 프로그램을 실행하면 밑에같은 에러가 떠요.
에러 내용
//console output [2011-07-10 07:10:22 - demo] ------------------------------ [2011-07-10 07:10:22 - demo] Android Launch! [2011-07-10 07:10:24 - demo] adb is running normally. [2011-07-10 07:10:24 - demo] Performing com.demo.DemoActivity activity launch [2011-07-10 07:10:25 - demo] Automatic Target Mode: launching new emulator with compatible AVD 'vishal' [2011-07-10 07:10:25 - demo] Launching a new emulator with Virtual Device 'vishal' [2011-07-10 07:11:06 - Emulator] invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe. [2011-07-10 07:11:07 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'. [2011-07-10 07:11:07 - Emulator] please use -help for more information
//--------------------------------------------------------------------------------/ 이 에러때문에 AVD가 실행이 안돼요. 어떻게 고치죠?
댓글 입력