目录

直接用DevEco Studio上传软件包报错

问题现象

直接用DevEco Studio上传软件包(Upload product)时报错:The build configuration of the current Build Mode cannot be uploaded,如图

解决方案

使用DevEco Studio上传软件包(Upload Product)时,需要确保Build Mode是release。操作步骤如下:

  1. 点击DevEco Studio上方菜单栏“Select Product”按钮。
  2. Build Mode切换为release。