2010-04-06 2 views
0

이 내가 안드로이드에 "Hello World"문제

package com.test.AndroidApp; 

import android.app.Activity; 
import android.os.Bundle; 
import android.widget.TextView; 


public class TestAppActivity extends Activity { 
    /** Called when the activity is first created. */ 
    @Override 
    public void onCreate(Bundle savedInstanceState) { 
     super.onCreate(savedInstanceState); 

     TextView tv = new TextView(this); 
     tv.setText("Hello, Android...."); 
     setContentView(tv); 
    } 
} 

작성한 코드입니다 그리고 난 내가 설치 최신 SDK 및 ADT이 이러한 오류
[2010-04-06 19:24:03 - Emulator] 2010-04-07 00:49:03.366 emulator[498:903] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz. 
[2010-04-06 19:34:42 - TestApp] emulator-5554 disconnected! Cancelling 'com.test.AndroidApp.TestAppActivity activity launch'! 

을 얻고있다.

해결책은 무엇입니까? 이 bug

+0

어떤 플랫폼을 사용하고 있습니까? 또한 에뮬레이터에서 설정 한 대상 프레임 워크는 무엇입니까? (1.6 등 ..) –

+0

Eclipse Galileo와 함께 Mac OS를 사용하고 있습니다. – Biranchi

답변

1

NSQuickdraw 경고가 내가 믿는 맥에서 실행중인 에뮬레이터에서 발생하지만

감사

1

그것은 작동합니다. 그러나 에뮬레이터 오류는 발생하지 않습니다. 몇 달 동안이 경고 메시지가 표시된 시스템을 실행했지만 문제가되지 않았습니다. 연결 해제 오류는 일반적으로 내가 믿는 에뮬레이터에 연결하는 시간 초과 문제이지만 첫 번째 경고가 산만 해지지는 않습니다.