我正在尝试在 android-emulator 上部署一个示例 maven 项目“helloflashlight”(https://code.google.com/p/maven-android-plugin/wiki/Samples)我的 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 模拟器屏幕有任何变化。它仍然显示充电 50%(附图)。关于什么可能是错误的任何线索?