Stericson / RootTools

RootTools Library
1.6k stars 484 forks source link

how correctly add RootTools library to Android Studio #88

Closed lynda18 closed 5 years ago

lynda18 commented 5 years ago

Hi all, I've tried to add RootTools lib to my project in either of the following ways:

  1. as a jitpack dependency (according to)

  2. Download the latest RootTools library (from here) and import the library module to my project

  3. Add the compiled AAR file of RootShell side of imported library module of RootTools

but I did not succeed.

I used #87 solution , but can not I use the main branch?

Thanks in advance for your help and guidance.

RomanTsarou commented 5 years ago

Try add it to your dependencies:

    implementation('com.github.Stericson:RootTools:5.0') { transitive = false }
    implementation 'com.github.Stericson:RootShell:1.6'
lynda18 commented 5 years ago

Try add it to your dependencies:

    implementation('com.github.Stericson:RootTools:5.0') { transitive = false }
    implementation 'com.github.Stericson:RootShell:1.6'

It worked for me like a charm. Thank you for your consideration and guidance 👍.