[Sports Watch] [API 6] Sports Watch Installation Reports Error 34_ Internal Error

Published: (December 18, 2025 at 10:39 PM EST)
1 min read
Source: Dev.to

Source: Dev.to

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. Consider the following aspects:

JavaScript file size

  • 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, installation may fail.
    • For watch models like GT3 and Fit3, if the JavaScript files exceed 48 KB, installation may also fail.
    • Additionally, if the HAP (HarmonyOS Ability Package) is close to 10 MB, it may result in installation failure.

Icon duplication

  • Ensure that there are not two icons in the entry/src/main/resources/base/media directory.

Label length

  • Verify that the label field in the config.json file is not excessively long.

Reference

Sports Watch – API 6 – Installation Reports Error 34 (Internal Error)

Back to Blog

Related posts

Read more »