当前位置: 首页 > news >正文

叙述一个网站开发流程推广通

叙述一个网站开发流程,推广通,wordpress 所有标签页,公司注册名字前言 Android 官网#xff08;该方式不适合 Windows 平台#xff09;#xff1a;https://source.android.com/source/downloading.html (备注自 2021 年 6 月 22 日起#xff0c;安卓操作系统不再支持在 Windows 或 MacOS 上进行构建#xff0c;如果要编译源码推荐先安装…前言 Android 官网该方式不适合 Windows 平台https://source.android.com/source/downloading.html (备注自 2021 年 6 月 22 日起安卓操作系统不再支持在 Windows 或 MacOS 上进行构建如果要编译源码推荐先安装Ubuntu系统) 可是我就想在 Windows 系统下 看看源代码当然可以 准备环境 安装 git安装 Python自备梯子硬盘剩余容量最好大于 150G 1. 安装 git 官网https://git-scm.com/downloads/ 图形化工具https://tortoisegit.org/ 什么不会安装 git那还看什么源码自行百度 2. 安装 Python 官网https://www.python.org/downloads/ 安装参考http://jingyan.baidu.com/article/c910274be14d64cd361d2dd8.html 只需要安装好运行环境即可 3. 自备梯子 没有梯子那就使用清华源https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/ 下载源码 1. 打开 Git Bash用 git 克隆源代码仓库 git clone https://android.googlesource.com/platform/manifest.git //没有梯子使用清华源 git clone https://aosp.tuna.tsinghua.edu.cn/platform/manifest.git这时 E:/androidSourceCode/ 目录下会出现一个 manifest 目录进入此目录里面除了 git 的配置目录外clone 下来了一个 default.xml 文件。 2. 切换到想要的源码版本分支 去这里 https://source.android.com/source/build-numbers.html#source-code-tags-and-builds 找到想要的版本分支并复制。 cd manifest //没有梯子使用 git branch -a 查看所有分支找到想要的分支 git branch -a git checkout android-12.0.0_r34 //这里以 12.0 最后一个版本下载3. 使用 Python 执行脚本进行源代码下载 将下面的代码复制创建文件 python_download.py并保存。 import xml.dom.minidom import os from subprocess import call# 1. 修改为源码要保存的路径 rootdir E:/androidSourceCode/Android12# 2. 设置 git 安装的路径 git C:/Develop/Git/bin/git.exe# 3. 修改为第一步中 manifest 中 default.xml 保存的路径 dom xml.dom.minidom.parse(D:/androidSourceCode/manifest/default.xml) root dom.documentElement#prefix git clone https://android.googlesource.com/ # 4. 没有梯子使用清华源下载 prefix git clone https://aosp.tuna.tsinghua.edu.cn/ suffix .git if not os.path.exists(rootdir): os.mkdir(rootdir) for node in root.getElementsByTagName(project): os.chdir(rootdir) d node.getAttribute(path) last d.rfind(/) if last ! -1: d rootdir / d[:last] if not os.path.exists(d): os.makedirs(d) os.chdir(d) cmd prefix node.getAttribute(name) suffix call(cmd)4. 执行 Python 脚本开始下载 打开 Python 客户端 打开上一步保存的 python_download.py 脚本文件 点击 Run-Run Module 来运行脚本或直接按F5运行。 静静地等待下载完成吧。(我大概下载了一天一夜 12源码大概170G)
http://www.pierceye.com/news/883778/

相关文章:

  • 烟台建站服务荥阳市建设局 网站
  • 网站备案登记推广网站案例
  • 企业网站设计论文摘要怎么写网络广告是什么意思
  • 自建站服务快应用 小程序
  • 上海网站建设过程邯郸网站建设推荐咨询
  • 公司有网站域名 如何做网站wordpress 字段
  • 做网站的类型东莞网页设计制作公司
  • 有品质的网站推广公司网站建设彩铃语
  • wordpress提示更新网站页面seo
  • 建设全国科技中心网站郑州百姓网官网
  • 漂亮网站wordpress 文章统计
  • 广西建设厅培训中心兰州seo网站排名
  • 布吉医院网站建设鞍山市网络销售平台
  • 开发一个网站系统报价wordpress文章摘要
  • 做脚本从网站引流外贸网站建设不可缺少的灵活性
  • 网站开发用linux好吗网站公司网站搭建
  • 网站数据库如何导入全自动引流推广软件app
  • 企业微网站案例响应式模板
  • 网站优化排名如何做网站纯色背景图怎么做
  • 医院网站设计方案长沙企业网站
  • 多页网站模板淘宝官网首页登录账号
  • 建设人员变更是哪个网站网络广告方案怎么写
  • 宠物网站 html模板长春城乡建设部网站首页
  • 电商网站设计线路图景县网站建设
  • 中级建设消防员证书查询网站昆明百度搜索排名优化
  • 网站广告是内容营销吗四川鸿业建设集团网站
  • 企业网站管理系统 aspwordpress幻灯片简码
  • 深圳建设银行官方网站上海搜索引擎优化1
  • 网站备案初审过了网络建站网网络推广
  • 网站在线制作平台搜狗提交入口网址