Updated on 2026-08-27 GMT+08:00

Updating an Application

Scenarios

  • You can update a shared application after its new version is released.
  • When online resources for a game are updated, the resources in the shared application need to be updated to prevent users from waiting for the download and installation of the new online resources in cloud gaming.

Procedure

  1. Install the latest version of an application on a single cloud phone by referring to Querying Cloud Phones and Installing Applications on a Cloud Phone.
  2. If resources of this application are updated, start the application and download and update its resource files.
  3. Generate a TAR package for the application and push the package to the shared space of the cloud phone server by referring to Generating a TAR Package for an Application and Pushing It to an OBS Bucket and Pushing the TAR Package of an Application to the Shared Space.
  4. Run appctrl commands to perform the update. For details, see appctrl Commands.
    • Run appctrl start. The latest version of the application in the shared space will be installed and started on cloud phones.
    • Run appctrl install. The latest version of the application in the shared space will be installed on cloud phones.

      1. If an application in the shared space is not updated, appctrl start and appctrl install will not install the application.

      2. For shared applications installed on a cloud phone, if their resources are updated online after the applications are started, the updated resources occupy the storage space of the cloud phone. To avoid storage occupation on cloud phones, you are advised to update applications and their online resources in the shared space of the cloud phone server in time.