Coder Social home page Coder Social logo

yangzaiwang / androidframework-sourcecode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from binbin594738977/androidframework-sourcecode

0.0 1.0 0.0 257.3 MB

Android各个版本的java源码,可以直接在idea中打开,方便查看,主要解决AS查看源码很多类看不到的问题,并且整合了多个版本,方便对比

androidframework-sourcecode's Introduction

由于下载速度考虑,这个不再维护 , 请转移码云https://gitee.com/binbinfuheng/AndroidFramework-SourceCode

重要

  1. 默认是不能建立索引的,可以在指定版本中main / java目录选择Mark directory as然后选择Source Root这样可以建立索引了

介绍

本项目是Android各个版本的java层源码,可以直接下载后在IDEA中查看,不像AndroidStudio一样很多类和方法看不到,这个包含隐藏类和隐藏方法,超级方便

感谢

首先感谢android-hidden-api项目作者,本项目是通过该项目提供的jar提取的java代码,主要是解决以下几点问题:

  1. 经过测试,部分版本替换jar时有报错的问题
  2. 不适合生产环境使用,有可能出现奇怪的问题

本项目是将所有jar包提取了java代码,这样需要查看源码可以通过idea查看,有错误可以自己修复,甚至可以自己注释,方便学习

扩展π

当查看native函数时,这时候实现类在C中,就需要借助在线阅读的方式,推荐以下几个在线网站

  1. AndroidXRef网站:http://androidxref.com/
  2. Android社区https://www.androidos.net.cn/sourcecode
  3. 查看androd源码的工具,谷歌官方出的https://cs.android.com
  4. 清华大学开源软件镜像站https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/

扩展2

当native函数不清楚对应哪一个C文件时,推荐下面文章 https://blog.csdn.net/losingcarryjie/article/details/78244823

androidframework-sourcecode's People

Contributors

binbin594738977 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.