I am new to Android Studio. What I need to do is add a few jar files in the External Libraries below the < JDK > folder.
Please provide the jar file location in build.gradle
implementation fileTree(dir: '', include: ['*.jar'])
Example:
implementation fileTree(dir: 'C:\Downloads', include: ['*.jar'])
To add single jar file
implementation files('libs/foo.jar')
Note: compile is deprecated in latest gradle, hence use implementation instead.