title: How i can install selenium in android studio?
body: <p>When I try to set up a chromedriver with WebdriverManager in my Java Android studio project, I get the error:<br />
  (Exception reading resolution cache as a properties file)</p>
  <p>My build.gradle dependancies are:</p>
  <pre><code>dependencies {
  
      implementation 'androidx.appcompat:appcompat:1.5.0'
      implementation 'com.google.android.material:material:1.6.1'
      implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
      implementation 'org.seleniumhq.selenium:selenium-java:4.4.0'
      implementation 'io.github.bonigarcia:webdrivermanager:5.3.0'
  }
  </code></pre>
  <p>My MainActivity:</p>
  <pre><code>    @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          getData();
      }
  
      public void getData() {
          ExecutorService service = Executors.newFixedThreadPool(2);
  
          service.execute(() -&gt; {
  
               
                  WebDriverManager.chromedriver().setup();
                  WebDriver driver = new ChromeDriver();
  
                  driver.get(&quot;https://www.google.com/&quot;);
  
                  Log.d(TAG, &quot;title: &quot; + driver.getTitle());
  
                  driver.quit();
  
          });
      }
  
  </code></pre>
  <p>The Error:</p>
  <pre><code>2022-08-30 10:47:26.081 27879-27998/com.test E/AndroidRuntime: FATAL EXCEPTION: pool-1-thread-1
      Process: com.test, PID: 27879
      io.github.bonigarcia.wdm.config.WebDriverManagerException: Exception reading resolution cache as a properties file
          at io.github.bonigarcia.wdm.cache.ResolutionCache.&lt;init&gt;(ResolutionCache.java:86)
          at io.github.bonigarcia.wdm.WebDriverManager.getResolutionCache(WebDriverManager.java:1648)
      .....
          at java.lang.Thread.run(Thread.java:784)
       Caused by: java.io.IOException: No such file or directory
          at java.io.UnixFileSystem.createFileExclusively0(Native Method)
          at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:281)
          ....
          at java.lang.Thread.run(Thread.java:784) 
  
  </code></pre>
  <p>I need help! Thanks.</p>