你好計算器讀者,HelloAndroid不顯示我的TextView控件
我希望這是一個簡單的設置問題,但這裏有雲:
- 的Eclipse 3.6.0
- AVD 2.2 1.5(同時創建以及帶試過)
- XP專業版SP3 2002
我也跟着在現場教程但我的自定義TextView控件從未呈現。
我在公共類中設置了幾個斷點HelloAndroid擴展了Activity方法,這些斷點從不跳閘。這就好像我的android.process.acore永遠不會運行,基於控制檯輸出。
我很想刪除所有並重新安裝軟件包,但我想我會首先向網絡請求一些指導。
這是在控制檯窗口中的輸出:
[2010-08-24 12:05:08 - HelloAndroid2] Android Launch!
[2010-08-24 12:05:08 - HelloAndroid2] adb is running normally.
[2010-08-24 12:05:08 - HelloAndroid2] Performing com.example.helloandroid2.HelloAndroid activity launch
[2010-08-24 12:05:08 - HelloAndroid2] Automatic Target Mode: launching new emulator with compatible AVD 'My_avd_2_point_2'
[2010-08-24 12:05:08 - HelloAndroid2] Launching a new emulator with Virtual Device 'My_avd_2_point_2'
[2010-08-24 12:05:11 - HelloAndroid2] New emulator found: emulator-5554
[2010-08-24 12:05:11 - HelloAndroid2] Waiting for HOME ('android.process.acore') to be launched...
<我再幹掉這裏的Android模擬器>
[2010-08-24 12:05:34 - HelloAndroid2] emulator-5554 disconnected! Cancelling 'com.example.helloandroid2.HelloAndroid activity launch'!
預先感謝幫助我理解這個問題。
與看到您的TextView無關,除非您在清單的應用程序標記中設置了android:debuggable ='true'',否則不會觸發斷點。這是他們不包括在該教程中,並不是最初的要求。 – 2010-09-07 19:46:30