harmony 鸿蒙Application Installation, Uninstall, and Update

  • 2023-02-03
  • 浏览 (823)

Application Installation, Uninstall, and Update

This topic describes how to install, uninstall, and update an application.

Installing or Uninstalling an Application

You can install and uninstall applications by running debug commands. For details, see the compilation, release, and deployment process.

Figure 1 Process of installing and uninstalling an application (applicable to developers)

hap-intall-uninstall

When an application has been released to the application market, consumers can install or uninstall the application on their device through the application market.

Figure 2 Process of installing and uninstalling an application (applicable to consumers)

hap-intall-uninstall

Updating an Application

For developers, to update an application, you need to first update the versionCode field in the app.json5 file, package the application using DevEco Studio, and release the application in the AppGallery. For users, the application may be updated in the following approaches:

  • On the AppGallery: The application market notifies the user of an available update, and the user can install the update by following the onscreen instructions.
  • In the application: When the application for which an update is available starts up, the AppGallery notifies the user of the update, and the user can install the update by following the onscreen instructions.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Quick Start

harmony 鸿蒙Creating an Application Clone

harmony 鸿蒙app.json5 Configuration File

harmony 鸿蒙Structure of the app Tag

harmony 鸿蒙Overview of Application Configuration Files in FA Model

harmony 鸿蒙Overview of Application Configuration Files in Stage Model

harmony 鸿蒙Application Package Overview

harmony 鸿蒙Application Package Structure in FA Model

harmony 鸿蒙Application Package Structure in Stage Model

harmony 鸿蒙ArkTS Coding Style Guide

0  赞