2

当我在 android 模拟器上运行应用程序时,我在收到这条消息后卡住了:

(Starting activity com.example.newproj.MainActivity on device emulator-5554)

我已经尝试了一切,但没有任何效果。

请帮忙

4

2 回答 2

1
  1. 学会等待。更高版本的模拟器需要很长时间才能启动。

  2. 如果没有,请转到首选项,然后通过单击当前模拟器检查模拟器配置。

于 2013-01-28T07:35:30.030 回答
1

右键单击项目。

  1. 运行方式-> 运行配置。
  2. 从Android Application下的左侧菜单中选择适当的 App 名称。
  3. 在 Android 选项卡下选择Launch Action : Launch Default Activity (或) Manually Launch Action -> Launch : -> 选择要启动的任何 Activity。
  4. 单击应用并在模拟器中运行应用程序。
于 2015-10-14T08:06:18.923 回答