Delphi Android configuration tutorial

This tutorial takes delphi 10.2.2.2004 as an example to demonstrate the configuration steps of delphi Android

1. Open Android Tools

2. Select the appropriate version. For example: My Xiaomi Mi 4 LTE is andorid 6.0, I choose android 6.0 (API23) and 23.0.1, and the others can be ignored.

Got it, for more detailed steps, please automatically search for the android tool configuration method.

 3. Download, click install, and then there is a long wait. Some tutorials will talk about the operation of changing the source of the file,

But today 2018.4.30 does not need to be changed, just download it directly, thanks to CCTV, you know.

4.1 Configure in delphi, menu Tools --> Options... --> find SDK Manager

4.2 The row with the small yellow triangle needs to specify the correct path. The current number is 22.0.1, you can change to the version number directory of the Android build tool of your choice.

4.3 

4.4 After the correction, the small yellow triangle disappears, everything is correct, click "OK" to complete the setting

5. For the mobile phone connected to the computer, install the driver (you can also install it with other driver tools), then open the usb debugging, and allow the installation of apk from unknown sources.

This way, you can run or debug the app.

To sum up, to run andorid, delphi first generates a file such as xx.so, and then calls the Android compilation tool to compile it.

It is nothing more than the path to the tool. According to this idea, you can get the configuration of most development tools.

Be more open-minded, step bigger, and be bolder. Hope you all get better and better on the road of development.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325098617&siteId=291194637