Java Nexus emulator屏幕不显示mvn android:部署结果

Java Nexus emulator屏幕不显示mvn android:部署结果,java,android,maven,Java,Android,Maven,我正在尝试在android emulator上部署,这是一个maven的示例项目“helloflashlight”() 我的maven构建成功完成,mvn android:deploy打印以下消息: [INFO] --- android-maven-plugin:3.7.0:deploy (default-cli) @ helloflashlight --- [INFO] Waiting for initial device list from the Android Debug Bridge

我正在尝试在android emulator上部署,这是一个maven的示例项目“helloflashlight”() 我的maven构建成功完成,mvn android:deploy打印以下消息:

[INFO] --- android-maven-plugin:3.7.0:deploy (default-cli) @ helloflashlight ---
[INFO] Waiting for initial device list from the Android Debug Bridge
[INFO] Found 1 devices connected with the Android Debug Bridge
[INFO] android.device parameter not set, using all attached devices
[INFO] Emulator emulator-5554_First-Nexus_unknown_sdk found.
[INFO] emulator-5554_First-Nexus_unknown_sdk :   Successfully installed C:\git\samples\helloflashlight\target\helloflashlight.apk to emulator-5554_First-Nexus_u
nknown_sdk
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
查看HelloFlashlight(主活动)类,我应该能够在屏幕上看到多个按钮(如greenButton、redButton),单击这些按钮可以更改背景颜色。 但是,我没有看到nexus emulator屏幕有任何变化。它仍然显示收费50%(附图)。有什么可能出错的线索吗


这是模拟器的锁屏。与任何其他安卓设备一样,您可以单击并将锁定图标拖到一旁,以解锁设备。如果应用程序当前不在屏幕上,您可以单击“所有应用程序”按钮,其中应该有您的应用程序的名称,然后单击以启动该应用程序。

该应用程序应该做什么?它应该显示不同颜色的按钮,单击这些按钮会改变颜色。这是一个标准的示例应用程序:我的答案对你有帮助吗?@hichris123:upvoted:)它成功了!