Problem Description:
When installing the sport watch application, the installation fails with error code 34: Internal Error.
Problem Analysis:
The internal error during installation could be caused by several factors. The following aspects can be analyzed:
Check the Size of JavaScript Files:
Examine the size of the JavaScript files in the entry/build/intermediates/js/release/source/lite/assets/js/default/pages directory.For watch models like Fit2 and GT2 Pro, if the JavaScript files exceed 32 KB, it may lead to installation failure.For watch models like GT3 and Fit3, if the JavaScript files exceed 48 KB, it may also cause installation failure.Additionally, if the HAP (HarmonyOS Ability Package) is too large, close to 10 MB, it may also result in installation failure.Ensure that there are not two icons in the entry/src/main/resources/base/media directory.
Verify that the label in the config.json file is not too long.
Top comments (0)