HarmonyOS 鸿蒙Next 下载源码工程中出现错误:error Cannot checkout web_webview ManifestInvalidRevisionError revision master in web_webview not found

HarmonyOS 鸿蒙Next 下载源码工程中出现错误:error Cannot checkout web_webview ManifestInvalidRevisionError revision master in web_webview not found

error: Cannot checkout web_webview: ManifestInvalidRevisionError: revision master in web_webview not found  

in `sync -c`: revision master in web_webview not found  

![cke_530.png](https://alliance-communityfile-drcn.dbankcdn.com/FileServer/getFile/FileServer/getFile/cmtybbs/580/155/085/0030086000580155085.20220503163529.53947144451652662817298167492055:50001231000000:2800:250464FBE4A5A1D18444AC65FF9B188B5C18DB94DD5E1D6F06F071AA728C186A.png)

更多关于HarmonyOS 鸿蒙Next 下载源码工程中出现错误:error Cannot checkout web_webview ManifestInvalidRevisionError revision master in web_webview not found的实战教程也可以访问 https://www.itying.com/category-93-b0.html

5 回复

我也遇到一样的问题,请问这个是要怎么解决的?

更多关于HarmonyOS 鸿蒙Next 下载源码工程中出现错误:error Cannot checkout web_webview ManifestInvalidRevisionError revision master in web_webview not found的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html


这不是初始报错, 前面肯定还有错误, 大概率是因为网络原因导致early EOF那个错误
推荐外网用户配置gitee的ssh 公钥, 使用ssh协议下载
http协议受网络影响比较大
建议尝试单独更新web_webview仓库:
repo sync -c web_webview

如果可以成功, 建议重新执行一次全量代码sync:
repo sync -c
repo forall -c 'git lfs pull'

如果下载失败, 麻烦提供失败截图

建议尝试单独更新web_webview仓库: repo sync -c web_webview

如果可以成功, 建议重新执行一次全量代码sync: repo sync -c; repo forall -c 'git lfs pull'

如果下载失败, 麻烦提供失败截图

欢迎开发小伙伴们进来帮帮楼主

针对您提到的HarmonyOS(鸿蒙)Next在下载源码工程中遇到的“error Cannot checkout web_webview ManifestInvalidRevisionError revision master in web_webview not found”错误,这通常意味着在尝试检出web_webview仓库的master分支时失败了,因为该分支不存在或者当前用户没有权限访问。

解决此问题的方法可能包括:

  1. 确认分支名称:首先确认web_webview仓库中是否存在master分支。有可能该分支已被重命名或删除。您可以尝试查看该仓库的可用分支列表,通常这可以在仓库的网页界面或通过命令行工具(如repo init -u <URL> -b <branch>时替换不同的<branch>来测试)完成。

  2. 检查权限:确保您的账号有足够的权限访问web_webview仓库及其master分支(如果它存在的话)。可能需要联系仓库管理员或检查您的用户权限设置。

  3. 更新repo工具:有时,使用最新版本的repo工具可以解决一些兼容性问题或已知的bug。

如果问题依旧没法解决请联系官网客服,官网地址是 https://www.itying.com/category-93-b0.html

回到顶部