title: Can't get Appium to execute test scripts
body: <p>My goal is to use Appium for testing an Android app made using React Native on Ubuntu. I am using node to perform the testing work.</p>
  <p>I downloaded both:</p>
  <ul>
  <li>Appium-Server-GUI-linux-1.22.0.AppImage</li>
  <li>Appium-Inspector-linux-2021.12.2.AppImage</li>
  </ul>
  <p>I start the Appium Server, and then I run the below code</p>
  <pre><code>var wd = require(&quot;wd&quot;);    
  require('colors');
  var chai = require(&quot;chai&quot;);
  var chaiAsPromised = require(&quot;chai-as-promised&quot;);
  chai.use(chaiAsPromised);
  var should = chai.should();
  chaiAsPromised.transferPromiseness = wd.transferPromiseness;
  
  describe(&quot;android simple&quot;, function () {
    this.timeout(300000);
    var driver;
  
    before(function () {
      var serverConfig = {
        host: 'localhost',
        port: 4723
      };
  
      var myTestingConf = {
        deviceName: 'emulator-5554',
        platformName: 'Android',
        appPackage: 'com.testing',
        appActivity: 'MainActivity',
        noReset: true,
      };
  
      driver = wd.promiseChainRemote(serverConfig);
      return driver
        .init(myTestingConf)
        .setImplicitWaitTimeout(3000);
  
    });
  
    it(&quot;should find an element&quot;, async function () {
      await driver.scroll(100, 100)
    });
  });
  </code></pre>
  <p>What happens when executing is that if I have the desired App running in the emulator, it crashes and if its not running, then nothing happens on emulator but an error is given in both instances. The error is below</p>
  <pre class="lang-none prettyprint-override"><code> 1) android simple &quot;before all&quot; hook:
       Error: [init({&quot;deviceName&quot;:&quot;emulator-5554&quot;,&quot;platformName&quot;:&quot;Android&quot;,&quot;appPackage&quot;:&quot;com.testing&quot;,&quot;appActivity&quot;:&quot;MainActivity&quot;,&quot;noReset&quot;:true})]
  The environment you requested was unavailable.
  </code></pre>
  <p>What mistake am I committing? I tried to open the app on Appium Inspector as well but no luck.</p>