Skip to content
Advertisement

Appium ERROR dump failed because assets could not be loaded: Invalid file Support

I am using Linux and I want to write tests using Appium. At the moment I installed all required tools to run it (Node is installed not through brew install node, but using nvm install node). Appium is running on localhost (Welcome to Appium v1.4.6 info: Appium REST http interface listener started on 0.0.0.0:4723 info: Console LogLevel: debug)

My code: public class MyTestApp {

JavaScript

}

When i run it through TestNG or Junit, i get error:

JavaScript

At the moment my goal is to launch App on AVD or real device.

I would greatly appreciate any help.

Advertisement

Answer

The problem was solved.

  1. Insert:

    capability.setCapability(“appPackage”, “com.my_package_name”); capability.setCapability(“appActivity”, “my_package_name”);

  2. Install App on AVD or real device.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement