If you are using AndroidStudio above 2.0 version and open instant run function, suggested to debug after closing (instant run will modify on the Application of the result in chrome provider context reference error)
Refer to official and other tutorial compile chromium source code, and can generate chrome apk
Using AndroidStudio debugging Chromium Android
Because namespace problems, such as the content of the module resources namespace is org.chromium.content,the chrome module namespace is org.chromium.chrome, so need to build different Android library project, specify different package name.
app/libs ----------- chromium/src/out/gnbuild/lib.java
app/src/main/aidl ----------- chromium/src/chrome/android/java/src/android/support/customtabs/*.aidl
app/src/main/assets ----------- chromium/src/out/gnbuild/
app/src/main/java ------------ chromium/src/chrome/android/java/src
app/src/main/jniLibs ----------- chromium/src/out/gnbuild/
app/src/main/res(app module init res)
libraries/androidmedia_res ----------- chromium/src/third_party/android_media/java/res
libraries/chrome_res ----------- chromium/src/chrome/android/java/res & chromium/src/chrome/android/java/res_chromium
libraries/content_res ----------- chromium/src/content/public/android/java/res
libraries/datausagechart_res --------- chromium/src/third_party/android_data_chart/java/res
libraries/ui_res ---------- chromium/src/ui/android/java/res
The project is inspiration from the 365 browser
Copyright 2016 Jacky Wang<jacky.android@foxmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
下载chromium浏览器源码的方法,官网上又介绍,国内主要都是通过翻墙下载的,我这里有个本方法,把下载好的chromium源码打包放在百度云盘上,见:如何下载Google Chromium源码。 这个tar包的版本是:73.0.3666.0。 下载好的tar包,有9个,分别是chromium.tar.gz0....chromium.tar.gz8,depot_tools.tar.gz。分别解压,
在前面的两篇文章中,分别介绍了如何下载Google Chromium源码。以及编译Android版本的chromium浏览器。 ------------------------------------------------------------------------------------------------------------- 准备知识 在实际的开发中,如果直接在chrome的源
参考文章: 整体描述 Android Chromium WebView学习启动篇 Chromium Chromium和WebKit的智能指针实现原理分析 Chromium多线程通信的Closure机制分析 Chromium多线程模型设计和实现分析 Chromium多进程架构简要介绍和学习计划 Chromium的Render进程启动过程分析 Chromium的IPC消息发送、接收和分发机制分析 Ch
For Developers > Design Documents > Java Resources on Android Overview Chrome for Android uses certain resources in Java code (e.g. Android layouts and associated strings or images). These reso
Android Chromium WebView学习启动篇 http://blog.csdn.net/luoshengyang/article/details/46569161 Chromium和WebKit的智能指针实现原理分析 http://blog.csdn.net/luoshengyang/article/details/46598223 Chromium多线程通
最近解决WebViewZygote问题的过程中,仔细阅读了老罗的一篇关于Chromium加载的blog,受益匪浅。 详细的代码分析过程请参考原文:Android WebView加载Chromium动态库的过程分析 作为备忘,本文简单总结下Chromium动态库的加载过程,包括: 1. 系统启动时Chromium动态库的加载过程 2. App进程加载Chromium动态库的过程
首先感谢这位大佬的辛勤分享: https://blog.csdn.net/mengxin00100/article/details/103321170 因为没有墙,所以我也是用这位大佬的baidu网盘的源码编的。 以下是编译步骤:用于本人备忘。也方便0基础的小白能够成功编译。 先下载这位大佬的百度src。 1.解压。tar -xvf chrXX.tar 怎么样 我连解压命令都给出来了 是不是很贴心