title: FileSystemNotFoundException: Provider "gs" not installed (Android)
body: <p>I'm attempting to connect to a public Google cloud storage bucket, using code based upon the example provided by Google at <a href="https://github.com/googleapis/java-storage-nio" rel="nofollow noreferrer">https://github.com/googleapis/java-storage-nio</a> under 'Quickstart' and 'Accessing Files'</p>
  
  <p>I added the following line to my app module's build.gradle (Google's documentation says to use 'compile', but Android Studio complains that it has to be either 'implementation' or 'api'):</p>
  
  <p><code>implementation 'com.google.cloud:google-cloud-nio:0.120.0-alpha'</code></p>
  
  <p>My code:</p>
  
  <pre><code>try {
      Path path = Paths.get(URI.create("gs://gcp-public-data-goes-16"));
      List&lt;String&gt; lines = Files.readAllLines(path, StandardCharsets.UTF_8);
      for (String line : lines) {
          Log.i("bucket", line);
      }
  }
  catch (IOException e) {
      Log.e("bucket", e.toString());
  }
  </code></pre>
  
  <p>It compiles, deploys to the emulator (API 28 w/Google, x86_64), then dies with the following error:</p>
  
  <pre><code>java.lang.RuntimeException: Unable to start activity ComponentInfo{pantherkitty.experiment.bucket/pantherkitty.experiment.bucket.MainActivity}: java.nio.file.FileSystemNotFoundException: Provider "gs" not installed
  </code></pre>
  
  <p>I'm mystified by the "Provider 'gs' not installed" error... isn't that what the library included by Gradle from google-cloud-nio is supposed to do?</p>
  
  <p>If it matters, the project itself was created in Android Studio 3.5.3 as a new project with blank activity. I'm running it in the emulator using the x86_64 Android 9 ROM with Google API support. Google's docs give the impression that the only dependency that needs to be added is the Gradle reference to google-cloud-nio, which I did.</p>