第一个
Could not find java. Please ensure that it is installed and on your PATH.
If this error persists, specify the path in the ~/.drozer_config file:
[executables]
java = C:\path\to\java
在C\用户\主机名新建一个.drozer_config的文件
内容为
[executables]
java=C:\Program Files\Java\jdk1.8.0_191\bin\java.exe
javac=C:\Program Files\Java\jdk1.8.0_191\bin\javac.exe
其中java和javac根据自己的java路径修改
第二个
There was a problem connecting to the drozer Server.
Things to check:
- is the drozer Server running?
- have you set up appropriate adb port forwards?
- have you specified the correct hostname and port with --server?
- is the server protected with SSL (add an --ssl switch)?
- is the agent protected with a password (add a --password switch)?
Debug Information:
[Errno 10061]
忘记做端口转发
adb forward tcp:31415 tcp:31415
第三个
There was a problem connecting to the drozer Server.
Things to check:
- is the drozer Server running?
- have you set up appropriate adb port forwards?
- have you specified the correct hostname and port with --server?
- is the server protected with SSL (add an --ssl switch)?
- is the agent protected with a password (add a --password switch)?
Debug Information:
Received an empty response from the Agent.
没有打开模拟器或真机的agent应用,打开重新连接即可。