Installation and use of Windows platform Drozer
Usage Environment: JDK support is required to use the tool, so install the JDK yourself before using this tool
Other tools: also requires some support from the Android debugging tool ADB, please configure the installation yourself
Drozer Installation
Download the Drozer installation package first, unzip it after downloading
Where Setup.exe is the installation file for Windows hosts, agent.apk installs files for debugging Android phone
Install directly on the host by double-clicking on the Setup.exe installation is possible
Install the agent.apk in the Android phone or virtual machine you want to debug.
Confirm that ADB can connect the device properly before drozer use
CMD under Run command adb devices, if the device information appears in the device list, the device can be recognized normally. (You can call ADB directly by setting environment variables)
Run the ADB shell command to make sure the shell is connected to the phone
Run agent.apk on your Android phone and turn on monitoring
Run Drozer
The above Drozer default port is 31415, so you need to set up 31415 ports on the host to communicate
CMD command downgrade with adb execution command:adb forward tcp:31415 tcp:31415 for Port forwarding
Normally run under the Drozer installation path:Drozer console Connect displays the following interface, which can then be used to debug Android apps normally using Drozer
The first time you run Drozer console connect, you will get a hint of could not find Java, when you first make sure the JDK is installed and the environment variables are configured correctly
The following operations are normal:
Create a file named. Drozer_config, (if you cannot name the. Drozer_config, the workaround is to start by creating x.drozer_config and then cmd to execute rename x.drozer_config in the current directory. Drozer_ Config) file, add the following:
[Executables]
Java=c:\program Files\java\jdk1.7.0_80\bin\java.exe
Javac=c:\program Files\java\jdk1.7.0_80\bin\javac.exe
App test-drozer installation and use