在已经运行的 AVD 中运行 android 项目

发布于 2024-12-19 06:26:50 字数 250 浏览 3 评论 0原文

我已经安装了 Android SDK 4。我正在尝试运行示例项目中给出的记事本应用程序。当我尝试运行该项目时,它会启动新的 AVD。但它没有加载,只是挂在 ANDROID 屏幕上。它甚至不显示主屏幕。

如果我从 AVD 管理器手动启动 AVD。模拟器启动成功。但我无法在已经运行的模拟器中运行 Notepad 项目。当我运行该项目时,它只是启动一个新的模拟器并显示加载屏幕并保持静止。

可能是什么问题!

I have installed Android SDK 4. I am trying to run Notepad application given in the sample projects. When i try to run the project its starting new AVD. But its not loading, its just hangs in the ANDROID screen. It does not even show the home screen.

If i start the AVD manually from AVD manager. The emulator starts successfully. But i am not able to run the Notepad project in the already running emulator. When i run the project its just starting a new emulator and shows the Loading Screen and stays still.

What could be the issue!

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

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

发布评论

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

评论(1

半山落雨半山空 2024-12-26 06:26:50

您可以转到“运行配置”(通过单击 Eclipse 中“运行”按钮旁边的箭头),然后在“目标”选项卡中更改“部署目标选择模式” > 到手动。然后,当您运行项目时,Eclipse 将显示正在运行的模拟器列表,您可以从中选择要在其中运行项目的模拟器。

编辑:确保您的项目 min-sdk 版本低于或等于 avd 的 android api等级

You can to go Run Configurations (by clicking the arrow beside the Run button in Eclipse), then in the Target tab change the Deployment Target Selection Mode to Manual. Then when you run the project Eclipse will show you a list of running emulators from which you can choose which emulator you want to run the project in.

Edit: Make sure your projects min-sdk version is lower than or equal to the avd's android api level

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