I can not install the library to connect the database library is not jar. Platform А-С Who can help? And here is the library itself. The library is a driver for remote connection.

    1 answer 1

    Add a dependency to build.gradle :

     compile 'org.mongodb:mongo-java-driver:3.4.0-rc1' 
    • Could not give a link to the guide for writing the reading of data on the database, I can not find - elik
    • one
      @elik, Getting started , JavaDoc . - post_zeew
    • This is for the client base and I use it remotely - elik
    • one
      Then, you can probably use the constructor public MongoClient(final String host, final int port) to create a MongoClient instance. - post_zeew
    • one
      Maybe somewhere there. And source codes on github are. - post_zeew