Android Source Insight installation and use

1. Introduction

SourceInsight is a source code viewer, which can easily import android system source code for learning and research.

Two download and install

2.1 Official website download link: https://www.sourceinsight.com/updates/

49d314a59eeb4683be89d97eaefe0f6d.png

2.2 The registration code of sourceinsight4.0 is hard to find, so let’s download sourceinsight3.5

6193cd4278cf489facbf34caaf4bbacd.png

 3b548e2759c241f9959859cf63afd5e0.png

 Only the android source code, you don't need to choose the .net framework929da0fc5fee4b9d8d1999878b1b4cad.png

434b3588a6654ac0aa6196a595d42ece.png

 de6236491ea942ef9ae248bf6bca11fe.png

 2.3 The installation is successful

d9b6746a6191465fa2a7e400b440ec83.png

2.4 The default installation directory of sourceinsight is the c drive, we can start the registry to modify the default location. Otherwise, it is easy to make mistakes later, and it must be changed at this time.

Unable to create the project directory file: C\用户\\文档\Source Insight)Projects PROJECTS.DB3.

Modify the registry key: HKEY_CURRENT_USER\Software\Source Dynamics\Source Insight\3.0\Paths, right-click on Paths to add a string value UserDataDir, set the default path of source insight

90abd1f95f2c4d95934c47508ea1f1ca.png 9e59b13cbcad45ad8984421ea85732a6.png

 826f8fbcbba94f1baa3de51b093c71c3.png

 After confirmation, the project directory will create some default content

40f7e98d8d7448d29be198fffb2331d8.png

 Third, import the project source code

3.1 New project

5f2e7868b4474c268677995618589ea7.png

3.2 Select project directory

a0514559ff5f4c7482a4334e2e07bc00.png

 3.3 Default no change, click ok

bda2af4fa7754f4e9eb79fb8a386bb7e.png

 3.4 Select androidsdk -> Sources -> android version

462c880db28049a6a96ce3c6bae7b307.png

 33e1b67dfcf241eab01308e6d3b03eeb.png

 3.5 Pay attention to select all android source code, and then add

aea466f0f72c45bda3328179e12dcc16.png

 e1f81a2df17b4c249e3124d8d2f48d6c.png

9f30aa9265cf4ae5be3a40f15f5e262f.png

 After the import is successful, click Close

93a5964810a6408985ad1443d04213ed.png

Four, view

4.1 After the above import is successful, you can see the directory on the right

9f908a9d25834d199728f6e03e3d6008.png

4.2 You can search for Activity

3d97720956c549b4aaa76ed99d3d88c6.png

 4.3 This layout is a bit strange, let's move it around

6a0c8d108ee5465caa395d2e4c5db3a2.png

e7d6410dc5cf45b0ace77de6050c1f6d.png

Five, open the project

The above is not intuitive enough, we can switch the folder directory

43b5a3ac81eb4b44be1f09437ca4e18d.png

Guess you like

Origin blog.csdn.net/qq_29848853/article/details/129463480