Android 模拟器没有响应

发布于 2024-11-17 22:05:18 字数 1278 浏览 2 评论 0原文

我正在使用 eclipse 并有 android 插件。我做了一个运行1.6的模拟器。我正在尝试运行它附带的演示应用程序,但它冻结了,我必须结束该过程。我从来没有得到它来运行演示。有人有什么建议吗?

演示应用程序代码:

package com.demo.DemoApp;

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

public class MainActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}

我的输出:

[2011-06-29 15:31:32 - DemoApp] ------------------------------
[2011-06-29 15:31:32 - DemoApp] Android Launch!
[2011-06-29 15:31:32 - DemoApp] adb is running normally.
[2011-06-29 15:31:32 - DemoApp] Performing com.demo.DemoApp.MainActivity activity launch
[2011-06-29 15:31:32 - DemoApp] Automatic Target Mode: launching new emulator with compatible AVD 'Test-Device-1.6'
[2011-06-29 15:31:32 - DemoApp] Launching a new emulator with Virtual Device 'Test-Device-1.6'
[2011-06-29 15:31:41 - DemoApp] New emulator found: emulator-5554
[2011-06-29 15:31:41 - DemoApp] Waiting for HOME ('android.process.acore') to be launched...
[2011-06-29 15:32:29 - DemoApp] emulator-5554 disconnected! Cancelling 'com.demo.DemoApp.MainActivity activity launch'!

I'm using eclipse and have the android plugin. I made a simulator that is running 1.6. I'm trying to run the demo app that it comes with and it freezes on me and I have to end the process. I never get it to run the demo. Anyone have some advice?

Demo App Code:

package com.demo.DemoApp;

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

public class MainActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}

My Output:

[2011-06-29 15:31:32 - DemoApp] ------------------------------
[2011-06-29 15:31:32 - DemoApp] Android Launch!
[2011-06-29 15:31:32 - DemoApp] adb is running normally.
[2011-06-29 15:31:32 - DemoApp] Performing com.demo.DemoApp.MainActivity activity launch
[2011-06-29 15:31:32 - DemoApp] Automatic Target Mode: launching new emulator with compatible AVD 'Test-Device-1.6'
[2011-06-29 15:31:32 - DemoApp] Launching a new emulator with Virtual Device 'Test-Device-1.6'
[2011-06-29 15:31:41 - DemoApp] New emulator found: emulator-5554
[2011-06-29 15:31:41 - DemoApp] Waiting for HOME ('android.process.acore') to be launched...
[2011-06-29 15:32:29 - DemoApp] emulator-5554 disconnected! Cancelling 'com.demo.DemoApp.MainActivity activity launch'!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

风柔一江水 2024-11-24 22:05:18

这不是针对您的特定问题的解决方案,但我放弃了模拟器,只是麻烦且缓慢。拥有一台真正的设备,您的生活将会大大改善。它们现在相当便宜。相信我,模拟器不值得您耐心等待。

This is not a solution for your particular problem, but i gave up on the simulator, is just to cumbersome and slow. Get a real device, your life will improve greatly. They are fairly cheap right now. Trust me, the simulator is just not worth your patience.

£噩梦荏苒 2024-11-24 22:05:18

擦除模拟器上的用户数据以从头开始。这通常可以为我解决这个问题。

Wipe user data on the simulator to start it from scratch. That usually resolves this problem for me.

鹿童谣 2024-11-24 22:05:18

Android 默认模拟器速度非常慢。您可以在系统中使用任何真实设备或 Gennymotion。 Gennymotion 模拟器比默认模拟器具有更好的性能。

The android default emulators are very slow. You can use any real device or Gennymotion in your system. Gennymotion simulators have better performance than the default ones.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文