This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

i want to install an apk regardless it is installed or not before, it must override the existing one. and i want to keep it on android phone after test.
How could i implement it with capabilities? i found if i set fullReset to true, it will force to install apk, but it also delete it after test, that is not what i want.

capabilities.setCapability(“noReset”, false);
capabilities.setCapability(“fullReset”, true);
capabilities.setCapability(MobileCapabilityType.APP, path)

  • created

    Mar '19
  • last reply

    Mar '19
  • 1

    reply

  • 407

    views

  • 2

    users

I am also stuck with this the same question. Any help is appreciated.

when upgraded from the appium version 1.7.2 to 1.10.0 , the already installed app is not getting deleted when provided with below app capability. It was working with 1.7.2.
appCapabilities.setCapability(“app”, apkFile);

With Appium 1.10.0 & Java client - 1.6.0 , getting error as It is impossible to create a new session because ‘createSession’ which takes HttpClient, InputStream and long was not found or it is not accessible.