You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

GameActivity模板CMake构建失败,如何使其正常运行?

使用GameActivity模板时CMake构建失败

问题重现步骤

  • 使用Android Developer提供的GameActivity模板创建新项目

问题

如何让GameActivity正常运行?

已尝试的解决方法

  • 构建时触发错误:[CXX1405] exception while building Cmake using [local file path]/CMakeLists.txt: C++ build system [configure] failed when executing: [local file path]/cmake.exe
  • 查阅过以下主题的相关问题:
    • CXX1405 cmake exception while building android project
    • CMake will not be able to correctly generate this project after updating Android Studio
  • 查阅Google开发者网站,未找到对应的分步解决指南
  • 尝试调整过构建依赖

内容的提问来源于stack exchange,提问作者Eeshvar Das

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.08 11:25:14