HarmonyOS鸿蒙Next中project structure -> basic info bundle name为空,compatible sdk:-1

问题一:project structure -> basic info bundle name为空,compatible sdk:-1

问题二:signing configs 一直转圈,无法正常加载页面

app.json5文件中bundle name 是有的;

另外的一个工程basic info页面中的bundle name可以正常识别,signing configs页面可以正常加载出来;

cke_420.png

cke_902.png


更多关于HarmonyOS鸿蒙Next中project structure -> basic info bundle name为空,compatible sdk:-1的实战教程也可以访问 https://www.itying.com/category-93-b0.html

2 回复

1、IDE版本为:DevEco Studio 5.0.4 Release
2、排查无中文路径&空格&特殊字符
3、重新加载IDE、Repair IDE也都试过

更多关于HarmonyOS鸿蒙Next中project structure -> basic info bundle name为空,compatible sdk:-1的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html


在HarmonyOS鸿蒙Next中,project structure -> basic info 中的 bundle name 为空且 compatible sdk 显示为 -1,通常表示项目配置存在问题。建议检查以下步骤:

  1. 确保项目配置文件 config.jsonmodule.json 中的 bundleName 字段已正确填写。
  2. 确认SDK版本是否已正确安装,并在 build.gradleoh-package.json5 中正确配置。
  3. 如果问题依旧,尝试重新导入项目或清理项目缓存后重新构建。
回到顶部