Project list error on project HiDPTAndroid/art: ManifestInvalidRevisionError: revision hisi-master in HiDPTAndroid/art not found
时间: 2023-08-02 22:08:49 浏览: 84
这错误提示是由于在 HiDPTAndroid/art 项目的 AndroidManifest.xml 文件中所引用的某个库的版本号或者该库的整个项目不存在,导致编译时出现了无法找到相应版本号的错误。
解决该问题的方法如下:
1. 检查项目依赖的所有库的版本是否正确,特别是一些自定义的库或者第三方库的版本号是否正确。
2. 确认项目所引用的库是否存在,如果不存在,需要将其添加到项目中。
3. 检查项目的 build.gradle 文件中的配置是否正确,特别是 project 和 module 的配置是否正确。
4. 如果以上方法都无法解决问题,可以尝试清除项目的缓存并重新构建项目。
希望这些方法能够帮到你解决问题!
相关问题
repo forall -c 报HiDPTAndroid/art: ManifestInvalidRevisionError: revision hisi-master in HiDPTAndroid/art not found
这个错误可能是因为 `repo` 工具无法找到你指定的分支或者标签。请确保你指定的分支或者标签存在于每个 Git 仓库中。
你可以尝试使用以下命令来查看每个仓库中是否存在指定的分支或者标签:
```
repo forall -c 'git rev-parse --verify <branch-or-tag>' -r <remote-name>
```
其中,`<branch-or-tag>` 是你要验证的分支或标签的名称,`<remote-name>` 是你要在其中执行操作的 Git 仓库的名称。
如果某个仓库不存在指定的分支或标签,你可以尝试在该仓库中使用以下命令创建该分支或标签:
```
repo forall -c 'git fetch && git checkout <branch-or-tag>' -r <remote-name>
```
这会在每个仓库中执行 `git fetch` 命令,然后切换到指定的分支或标签。
如果你仍然遇到问题,请确保你的 `repo` 工具和 Git 版本都是最新的,并仔细检查你的命令和参数是否正确。
-- Detected 64-bit platform -- UNIX: Configuring uninstall target -- UNIX: Created uninstall target -- UNIX: Using default system linker -- UNIX: Detected compiler: /usr/bin/cc -- Clang: Minimum version required is 7.0.0, found 14.0.0 - ok! -- Using mysql-config: /usr/bin/mysql_config -- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient.so -- Found MySQL headers: /usr/include/mysql -- Found MySQL executable: /usr/bin/mysql fatal: 不是 git 仓库(或者任何父目录):.git CMake Error at cmake/genrev.cmake:116 (string): string sub-command REGEX, mode MATCH needs at least 5 arguments total to command. Call Stack (most recent call first): CMakeLists.txt:83 (include) * TrinityCore revision : + (+ branch) * TrinityCore buildtype : RelWithDebInfo * Install core to : /home/wow/server3.5.5 * Install configs to : /home/wow/server/etc * Build world/auth : Yes (default) * Build with scripts : Yes (static) * Build map/vmap tools : Yes (default) * Build unit tests : No (default) * Build core w/PCH : Yes (default) * Build scripts w/PCH : Yes (default) * Show compile-warnings : No (default) * Use coreside debug : No (default) * Show source tree : Yes (hierarchical) * Use GIT revision hash : Yes (default) -- Found OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so -- Found OpenSSL headers: /usr/include CMake Error at cmake/macros/FindOpenSSL.cmake:579 (message): TrinityCore needs OpenSSL version 1.0 but found too new version 3.0.2. TrinityCore needs OpenSSL 1.0.x or 1.1.x to work properly. If you still have problems please install OpenSSL 1.0.x if you still have problems search on forum for TCE00022 Call Stack (most recent call first): dep/openssl/CMakeLists.txt:16 (find_package) -- Configuring incomplete, errors occurred! See also "/home/wow/TrinityCore/TrinityCore-TDB335.22061/build/CMakeFiles/CMakeOutput.log". See also "/home/wow/TrinityCore/TrinityCore-TDB335.22061/build/CMakeFiles/CMakeError.log".
这是一个 CMake 构建过程中的错误,可能是因为 OpenSSL 的版本太新了,而 TrinityCore 需要的是 OpenSSL 1.0.x 或 1.1.x 版本。你可以尝试安装 OpenSSL 1.0.x,或者在论坛上搜索 TCE00022 这个错误码,看看有没有其他解决方案。另外,也可以查看 CMake 的输出日志文件以获取更详细的错误信息。