目录

What should I do when the message "failed to install bundle. install debug type not same" is displayed during HAP installation?

Cause

The debugging information of the HAP to be installed is inconsistent with that of the HAP already installed on the device.

Solution

  1. Check the debug configuration of the application on the device, as shown in the following figure.

  2. Check whether the value of the debuggable field (default value: false) in the build-profile.json5 file of the module is the same as the debug configuration. If they are different, change them to be the same.