Get the App
SLTechnology News&Howtos  ›  Servers  › 

"docker practice" python's docker crawler Technology-Mobile Automation Control tool Android SDK installation and configuration (1

Shulou Source: shulou.com Published: 2022-06-03 04:31:12 10月02日 Update

Original articles, welcome to reprint. Reprint please indicate: reproduced from IT Story Association, thank you!

Original link address: "docker practice" python's docker Crawler Technology-Mobile Automation Control tool Android SDK installation and configuration (14)

Why do we need to learn mobile automation together? in app, 50% of app can analyze the parameters of the packet and grab the information through the package grab software. For example, in the app mentioned last time, the data can be captured through fiddler analysis. Another 30% need appropriate decompilation and analysis of the encryption algorithm before the information can be captured, and the remaining 20% hesitate to be reinforced. If you want to decompile and analyze the encryption algorithm, you can grab the information. In fact, I am not familiar with decompilation and shelling, but in order to crawl the remaining 50% normally, you can slide, click, paging and other operations by moving automation tools, and use mitmdump to call python parsing.

JDK installation

It is recommended to use more than jdk1.8. I won't talk about this. Baidu searches a lot.

SDK

As I said in the first article, I don't need Android development experience, so why install Android SDK now? Because we need an environment of SDK for automatic control.

Download SDK

Http://tools.android-studio.org/

At present, the demo environment is windows, so I chose windows.

Install SDK

Found the corresponding java-sdk1.8.

Don't check start SDK Manager yet.

SDK environment variable setting

New variable: ANDROID_HOME= installation directory

Add variables to path

% ANDROID_HOME%\ platform-tools;%ANDROID_HOME%\ tools

Set up SDK

Open SDK-Manager

Hesitant about the domestic network environment, downloading Android packets is very slow, so you need to set up an agent. Dalian Neusoft Mirror address: mirrors.neusoft.edu.cn, Port: 80

Http and https forced steering

Select reload to reload

Select the following

Has been installed.

Cmd check to see if adb is installed

PS: according to your own network, you can download at full speed after using an agent. Next time, when you talk about adb and uiautomator, one is to control the phone, the other is to locate the element.

Tags: Android automation environment analysis control movement information variables compilation selection tools hesitation addresses data algorithms networks shelling agents remainder encryption Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Shulou Tech Info NVidia Redmi macOS