Import roottools.jar to Android Studio

I am trying to import roottools from here: https://code.google.com/p/roottools/ (jar file) into an Android Studio project. So far I have tried the following:

  • copy RootTools-javadoc-3.4.jar to the libs directory in my project.
  • Add import
  • Reorganize imports.
  • Restructuring project

But still I do not have "acces" methods to them. Is it possible that this is only compatible with Eclipse?

+3
source share
2 answers

JAR , . , , github . "makeJar" ( makeJar gradle.build run).

libs gradle.build.

dependencies {
    ...
    compile files('libs/RootTools.jar')
}

Project Properties.

( gradle, ).

+5

> ( 0.4.4, ; ) > > > > + a > > . - ; libs .

" ":

Project Structure showing Modules> Dependencies> File Dependency

+2

All Articles