[英]Android emulator screen freeze
我已經安裝了在eclipse上使用的android sdk。 當我運行我的應用程序時,我有以下日志:
[2011-11-02 15:46:43 - HelloAndroid] Android Launch!
[2011-11-02 15:46:43 - HelloAndroid] adb is running normally.
[2011-11-02 15:46:43 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2011-11-02 15:46:43 - HelloAndroid] Automatic Target Mode: Preferred AVD 'AVD1' is available on emulator 'emulator-5554'
[2011-11-02 15:47:15 - HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5554'
[2011-11-02 15:47:15 - HelloAndroid] Installing HelloAndroid.apk...
[2011-11-02 15:49:53 - HelloAndroid] Success!
[2011-11-02 15:49:55 - HelloAndroid] Starting activity com.example.helloandroid.HelloAndroid on device emulator-5554
模擬器凍結在“ Andoird”屏幕上。 我試過增加ram和cd大小,但結果相同。 我也嘗試過創建新的avds,重新啟動eclipse,但似乎沒有任何效果。 我怎樣才能解決這個問題? 我正在使用以下代碼創建我的第一個應用程序:
public class HelloAndroid 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);
}
}
我正在使用Windows 7。
這可能是由於仿真器自身已鎖定。 嘗試按模擬器上的F7 (電源按鈕)鍵。
現在,請在“提供大小為2000Mb”中編輯您的ADV。
並確保僅提供所需的條件。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.