Install JDK and SDK
If don't know how to install these, just Googling. Ignore the detail steps sine they are not our main purpose.
Use the default emulator in SDK as the test environment (Slow but full support)
Use SDK manager to create new device
Use Genymotion as the test environment (Fast but maybe not full support)
Install Genymotion(faster, free, rooted by default)
You have to register a account for Genymotion to download it and you need this account to download different ROMs.
During your installation, Genymotion will install VirtualBox.
After install, click "Settings" to configure the SDK path for Genymotion:
Click "Add" to select and download a ROM.
Click "Play" to start the device.
Install ARM support for Genymotion(Genymotion-ARM-Translation_v1.1.zip)
And just drag it to Genymotion and it will be installed
After installation complete, reboot the device
Configure the proxy(Fiddler, Burpsuite or other proxy tools, here use Fiddler as example)
Click "Settings" in the device:
Click "Wi-Fi", press WiredSSID and hold for a moment and in the dialog, click "Modify network":
Set proxy to your PC and click "Save":
Install certificate to intercept HTTPS requests:
Go to http://www.telerik.com/fiddler/add-ons and download "CertMaker for iOS and Android" and install it after download.
Visit 192.168.2.116:8888(Your PC IP address which Fiddler is installed in) , and click FiddlerRoot Certificate:
Need to set a password for screen lock, so click "OK" and set the password.
Then configure Fiddler to intercept HTTPS request:
Go to Tools->Fiddler Options…->HTTPS, check "Capture HTTPS CONNECTS" and then "Decrypt HTTPS traffic"
Switch to the Connections tab and check "Allow remote computers to connect"
Restart Fiddler and visit some HTTPS site on the web browser of the device, the HTTPS requests are intercepted:
没有评论:
发表评论