即使没有错误,也无法在 Eclipse 上启动 Android 模拟器

发布于 2024-12-23 02:19:42 字数 1004 浏览 3 评论 0原文

我正在尝试在 Eclipse 中运行 Android 示例应用程序之一。我已经经历了所有可能的错误,现在我终于能够在没有任何错误的情况下运行了。但仍然没有任何效果,模拟器上只有“android”标志在闪烁。 我的日志是:

[2011-12-26 21:18:50 - AccelerometerPlayActivity] ------------------------------ 
[2011-12-26 21:18:50 - AccelerometerPlayActivity] Android Launch! 
[2011-12-26 21:18:50 - AccelerometerPlayActivity] adb is running normally. 
[2011-12-26 21:18:50 - AccelerometerPlayActivity] Performing com.example.android.accelerometerplay.AccelerometerPlayActivity activity launch 
[2011-12-26 21:19:26 - AccelerometerPlayActivity] Uploading AccelerometerPlayActivity.apk onto device 'emulator-5554' 
[2011-12-26 21:19:26 - AccelerometerPlayActivity] Installing AccelerometerPlayActivity.apk... 
[2011-12-26 21:19:28 - AccelerometerPlayActivity] Success! 
[2011-12-26 21:19:28 - AccelerometerPlayActivity] Starting activity com.example.android.accelerometerplay.AccelerometerPlayActivity on device emulator-5554 

我已经更改了 AVD 的配置,创建了一个新的配置,等等。似乎没有任何帮助 有人知道吗?

谢谢

I'm trying to run one of the Android sample apps in Eclipse. I've been through all the possible errors, and now I was finally able to run without any of them. But still, nothing works, and the emulator just has the "android" sign shining on it.
The log I have is:

[2011-12-26 21:18:50 - AccelerometerPlayActivity] ------------------------------ 
[2011-12-26 21:18:50 - AccelerometerPlayActivity] Android Launch! 
[2011-12-26 21:18:50 - AccelerometerPlayActivity] adb is running normally. 
[2011-12-26 21:18:50 - AccelerometerPlayActivity] Performing com.example.android.accelerometerplay.AccelerometerPlayActivity activity launch 
[2011-12-26 21:19:26 - AccelerometerPlayActivity] Uploading AccelerometerPlayActivity.apk onto device 'emulator-5554' 
[2011-12-26 21:19:26 - AccelerometerPlayActivity] Installing AccelerometerPlayActivity.apk... 
[2011-12-26 21:19:28 - AccelerometerPlayActivity] Success! 
[2011-12-26 21:19:28 - AccelerometerPlayActivity] Starting activity com.example.android.accelerometerplay.AccelerometerPlayActivity on device emulator-5554 

I already changed the configuration of the AVD, created a new one, etc. Nothing seems of any help
Does anyone have any idea?

Thanks

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

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

发布评论

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

评论(3

碍人泪离人颜 2024-12-30 02:19:42

我会尝试“降级”模拟器。

我假设你不是为最新的 android 4.0+ 或类似的东西编程,
(我认为三星galexy s是2.0或2.2)。
当我遇到这个问题时,它对我帮助很大。

尝试一下:)

I would try to 'downgrade' the emulator.

I'm assuming you aren't programming for the newest android 4.0+ or something like that,
(Samsung galexy s is 2.0 or 2.2, I think).
When I had that problem it helped me alot.

try it :)

錯遇了你 2024-12-30 02:19:42

很久以前我也遇到过类似的问题。确保您的 android sdk(或 adb)的路径不包含除英语之外的任何国家符号(在我的例子中是西里尔字母)。

如果您使用 Windows,还请检查您的配置文件名称。

I had similar problem a long time ago. Make sure that path to your android sdk (or adb) doesn't contain any national symbols (cyrillic in my case) except English.

If you using Windows, also check your profile name.

—━☆沉默づ 2024-12-30 02:19:42

请稍等一下......在某些计算机中,模拟器首次运行最多需要等待 10 分钟。这是很多时间,但是,下一次编译时,不要关闭它,只需清除项目,构建所有并运行,它就会工作。

Wait a little more.... in some computers, the emulator wait up to 10 minutes to run first time. Its a lot of time, but, next compile time, don´t close it, just clear proyect, build all and run, and it will work.

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