Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Error -7 after native update #229

@Jambon28

Description

@Jambon28

Hi, and congrats for this great plugin !

Problem

After installing a native update (in config.xml : same id with new version and android-versionCode attributes), hcp returns error -7 : Can't copy files from previous release to the new release.

Steps to reproduce
  1. install a native version 1.0 of an app : version="1.0.0" and android-versionCode="10"
  2. make hcp update its code version
  3. close the app
  4. compile a new version 1.1 : same id, version="1.1.0" and android-versionCode="11"
  5. install this new version 1.1 on the device :
    => hcp detects correct new native version (1.1)
    => hcp detects current and old hcp releases ("current web version" and "previous web version"). Is this normal ? I understand it should not, as we have a new native version
    => hcp downloads a new code version (this is ok)
    => hcp fails to install the new code version : error -7 "can't copy files from previous release to the new release"
System info

Platform : Android 4.4.2
Cordova 6.3
HCP lastest (just built with git url)
Built with PhonegapBuild

This seems to be a bug, as native version update (through appstore) is impossible. The only way is to uninstall the app before installing the new native version.

Am i wrong somewhere ?

thanks for you help

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions