Loading the player...

How to use/import library in Android Studio

  • @ To use library:nn1. Go to build.gradle (App) file.n2. Paste the library dependency line inside dependencies{ // here you paste the dependency line }nnex. dependencies {nn compile fileTree(dir: 'libs', include: ['*.jar'])n // I added below linen compile 'com.github.johnpersano:supertoasts:1.3.4@aar'nn}n3. Press the Sync button at top of the editor. Gradle build is starting.n4. After finishing gradle build , you can write code to implement library classes to your project .nnIt's easy. Thanks. :)

    Category : Компьютерные игры

    #how#import#library#android#studio

    0 Comments and 0 replies
arrow_drop_up