模拟器未安装/运行应用程序

wut*_*wut 3 android emulation

当我启动 Android 模拟器来测试我的应用程序时,我遇到了问题。

我在 android studio 底部打开了 2 个窗口,一个是 ,AVD:Nexus_5_API_23另一个是app.

AVD:Nexus_5_API_23窗口中显示:

/Volumes/seagate/tools/emulator -netdelay none -netspeed full -avd Nexus_5_API_23
HAXM is working and emulator runs in fast virt mode
emulator: emulator window was out of view and was recentered
emulator: UpdateChecker: skipped version check
Run Code Online (Sandbox Code Playgroud)

窗口app显示:

Device connected: emulator-5554
Run Code Online (Sandbox Code Playgroud)

我不确定发生了什么事。

我创建了其他模拟器,但每次都会遇到同样的问题。

我的 android studio 是最新的。只是为了测试这不是我的代码错误。我仅使用示例代码创建了一个新项目,但它仍然无法运行。

小智 5

以防万一有人发现这个。我遇到了类似的问题:当通过虚拟设备在 AndroidStudio 中启动 AVD 时,run app启动没有问题,但应用程序没有安装,没有任何消息。

解决方案

转到run -> edit configuration -> app -> miscellaneous并取消勾选Skip installation if APK has not changed。这为我解决了这个问题。

干杯!