当我尝试使用mvn android:deploy
将我的应用程序部署到Android模拟器时,我经常收到以下错误消息:
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.0:deploy
(default-cli) on project ccp-android: Install of D:\myproject\target\myproject.apk failed.
InstallException: ShellCommandUnresponsiveException -> [Help 1]
我该如何解决这个问题(下面列出的选项除外)?
已知答案:
adb
(运行命令adb kill-server
,adb start-server
,mvn android:emulator-start
)。