Android Maven not starting emulator

后端 未结 2 1690
别跟我提以往
别跟我提以往 2021-02-04 11:14

When i right-click my Android Project and Select Run->Android Application. The emulator gets launched and the changes do reflect.

But when i do the foll

2条回答
  •  面向向阳花
    2021-02-04 11:40

    Run mvn android:emulator-start before mvn android:deploy. The maven plugin cannot deploy to an emulator that does not exist. You must also wait for the emulator to boot up before deploying.

    Use adb devices to check the active android devices that are connected to your computer.

提交回复
热议问题