一般怎样查看Android系统源码(接口找不到实现类)?
PHPz
PHPz 2017-04-17 17:44:29
0
3
767

比如我在一个普通的工程中,查看Webview的源码,但是里面好多接口找不到实现类,按Ctrl-T没反应。正确的阅读源码的姿势是怎样的呢?是不是要上Linux直接Build Android源码呢?请分享一下经验,谢谢!

PHPz
PHPz

学习是最好的投资!

reply all(3)
刘奇

In fact, there are tutorials everywhere, refer to this article to use Android Studio to import source code

However, if you are not lucky in compilation, you will encounter various problems, which can basically be solved with a lot of Google

PHPzhong

The access interface is in the web background, not in your app project

大家讲道理

Different IDEs are different. I take Android Studio as an example. After finding the interface, press control+H (mac) to view the specific implementation class. If you are not on a mac system, you can search for the Call Hierarchy shortcut key by pressing shift twice

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template