【问题标题】:Android emulator in Eclipse does not work?Eclipse 中的 Android 模拟器不起作用?
【发布时间】:2013-06-29 21:04:32
【问题描述】:

我制作了一个新的 AVD,创建了一个新的 Blank Activity。 AVD 配置为Android 4.2.2,API 级别 17,空白活动也是如此。

但是,当我运行活动时,日志是这样的:

[2013-06-30 02:33:38 - myfirstapp] ------------------------------
[2013-06-30 02:33:38 - myfirstapp] Android Launch!
[2013-06-30 02:33:38 - myfirstapp] adb is running normally.
[2013-06-30 02:33:38 - myfirstapp] Performing com.example.myfirstapp.MainActivity activity launch
[2013-06-30 02:33:38 - myfirstapp] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2013-06-30 02:33:41 - myfirstapp] Launching a new emulator with Virtual Device 'HelloEmulator'
[2013-06-30 02:33:48 - myfirstapp] New emulator found: emulator-5556
[2013-06-30 02:33:48 - myfirstapp] Waiting for HOME ('android.process.acore') to be launched...  

它会启动一些不同的大屏幕模拟器。
我做错了什么?

【问题讨论】:

  • 你的模拟器的分辨率和你的显示器或显示器的尺寸是多少?

标签: android android-emulator


【解决方案1】:

使用 Android 虚拟设备启动应用程序有两个步骤。首先,启动虚拟设备,然后启动您的应用程序。如果虚拟设备尚未启动,则启动需要 3-4 分钟。在此步骤中,将出现您上面描述的以下消息:

[2013-06-30 02:33:48 - myfirstapp] Waiting for HOME ('android.process.acore') to be launched... 

启动应用程序比启动 android 虚拟设备更快。

【讨论】:

    【解决方案2】:

    evrey 一切正常,请稍等 为了加快模拟器速度,您可以检查use GPU host 并将内存大小设置为 850

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-07
      • 1970-01-01
      • 2012-07-18
      • 2012-07-01
      • 1970-01-01
      相关资源
      最近更新 更多