[英]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.