Comments (23)
编译时报错吗?那你得先搞定编译
from chromium-android.
编译时正常的,也生成chromepublick.apk了,就是生成Android studio工程,然后打开工程 运行,就报错
from chromium-android.
我生成的时候就是 gn gen --args='target_os="android"' out/Default 然后开始编译 感谢作者,帮我看看怎么回事,发愁一周了
from chromium-android.
你把报错信息贴出来一下?
from chromium-android.
The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
The targetSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
The targetSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
这是第一个错误,然后我改好了,还有别 d
from chromium-android.
generate_gradle.py 更新了,和我用的时候不太一样了
你别加那么多参数,先就只用
build/android/gradle/generate_gradle.py --output-directory out/Default --target //chrome/android:chrome_public_apk
from chromium-android.
使用你这个提示error: cannot find symbol class ChildBindingState 有一堆的多少
from chromium-android.
8569504我qq 我加你下,发截图跟看看,好多参数我都试过
from chromium-android.
你直接把图片拉到输入框就可以上传图片
from chromium-android.
from chromium-android.
目前,或者说截至 66 版,用 generate_gradle 生成的项目应该是不能直接从 Android Studio 跑起来了,这就是为什么我仓库里的目录结构全是自定义的。运行的时候,差什么文件,就去源码目录下查找,找到之后放到对应的包下
from chromium-android.
那以后的升级怎么做呢,还有就是怎么切换版本编译,🙏
from chromium-android.
https://github.com/kuoruan/Chromium-Android/tree/master/tools
这里是我的配置文件和源码同步脚本,但是是适用于 66 的
from chromium-android.
现在我要切换到66分支。就是切换到和你一样的分支,然后我生成工程,在编译一次,然后生成工程
from chromium-android.
你这几个我都看过的
from chromium-android.
我只是给个例子,你不一定非得用 66,就是你需要自己调整脚本来同步文件
from chromium-android.
我现在就想找一个能完整跑起来的版本,然后我在按照你说的那种方式去改,比如我现在编译的这个版本,直接用你的这个同步脚本,可能就不行吧
from chromium-android.
我现在想切换分支来编译,应该怎么做
from chromium-android.
git fetch --depth 5 origin +refs/tags/${tag}:$tag
git checkout "$tag"
from chromium-android.
git fetch --depth 5 origin +refs/tags/66.0.3359.155:66.0.3359.155
git checkout "66.0.3359.155"
from chromium-android.
gn gen --args='target_os="android"' out/Default 这个要把你args.gn里面的命令全部手动打进去吗
from chromium-android.
输出目录下有个 args.gn 文件
from chromium-android.
我替换了这个,然后开始编译了,稍等我在用你的同步脚本试试
from chromium-android.
Related Issues (20)
- 70.0.3538.118编译出来后来,打开二级页面,就崩溃! HOT 2
- GoogleAPIKeys.java 文件哪里找到的? 请教是否知道谷歌账号如何同步? HOT 4
- server load reduction most email, QR integration browser/email client for mobile copy and paste reduction
- Url not load in webview HOT 4
- Cannot start application ( Chrome failed during startup .....) HOT 14
- Cannot find symbols
- Easy Question HOT 6
- 請問
- Android 5.1.1
- Full Screen
- How can I extract the tab from the chromium project
- 无法把camera已H264的编码方式传给浏览器
- 50 errors when building from latest release source
- Last Chrome version
- Can you help me build custom chromium with a donnation
- Sync file for Content-Shell HOT 7
- Get HTML source
- Add new translation
- Unable to load library chrome
- 修改applicationId
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chromium-android.